Package cn.nukkit.event.block
Class ComposterEmptyEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.block.BlockEvent
cn.nukkit.event.block.ComposterEmptyEvent
- All Implemented Interfaces:
Cancellable
-
Field Summary
Fields inherited from class cn.nukkit.event.block.BlockEvent
block
-
Constructor Summary
ConstructorDescriptionComposterEmptyEvent
(Block block, Player player, Item itemUsed, Item drop, int newLevel) -
Method Summary
Modifier and TypeMethodDescriptiongetDrop()
static HandlerList
int
void
void
setItemUsed
(Item itemUsed) void
void
setNewLevel
(int newLevel) Methods inherited from class cn.nukkit.event.block.BlockEvent
getBlock
Methods inherited from class cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
ComposterEmptyEvent
@PowerNukkitOnly public ComposterEmptyEvent(Block block, Player player, Item itemUsed, Item drop, int newLevel)
-
-
Method Details
-
getPlayer
-
getDrop
-
setDrop
-
getItemUsed
-
setItemUsed
-
getNewLevel
-
setNewLevel
-
getMotion
-
setMotion
-
getHandlers
-