Package com.yottabyte.crates.api.event
Class VirtualCrateOpenEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- org.bukkit.event.player.PlayerEvent
-
- com.yottabyte.crates.api.event.CrateOpenEvent
-
- com.yottabyte.crates.api.event.VirtualCrateOpenEvent
-
public class VirtualCrateOpenEvent extends CrateOpenEvent
Event called after a virtual crate is opened.
-
-
Constructor Summary
Constructors Constructor Description VirtualCrateOpenEvent(org.bukkit.entity.Player who, Crate crate, org.bukkit.block.Block block, int opened, List<Reward> rewards)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOpened()
Gets the amount of virtual crates opened.-
Methods inherited from class com.yottabyte.crates.api.event.CrateOpenEvent
getBlock, getCrate, getHandlerList, getHandlers, getRewards
-
-