Class NexoChorusBlockBreakEvent
-
- All Implemented Interfaces:
-
org.bukkit.event.Cancellable
public final class NexoChorusBlockBreakEvent extends NexoBlockBreakEvent implements Cancellable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNexoChorusBlockBreakEvent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ChorusBlockMechanicmechanicprivate Dropdropprivate final Blockblockprivate final Playerplayerpublic final static NexoChorusBlockBreakEvent.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description NexoChorusBlockBreakEvent(ChorusBlockMechanic mechanic, Block block, Player player, Drop drop)NexoChorusBlockBreakEvent(ChorusBlockMechanic mechanic, Block block, Player player)
-
Method Summary
Modifier and Type Method Description ChorusBlockMechanicgetMechanic()HandlerListgetHandlers()-
Methods inherited from class com.nexomc.nexo.api.events.custom_block.NexoBlockBreakEvent
getBlock, getDrop, getPlayer, isCancelled, setCancelled, setDrop -
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
NexoChorusBlockBreakEvent
NexoChorusBlockBreakEvent(ChorusBlockMechanic mechanic, Block block, Player player, Drop drop)
-
NexoChorusBlockBreakEvent
NexoChorusBlockBreakEvent(ChorusBlockMechanic mechanic, Block block, Player player)
- Parameters:
mechanic- The CustomBlockMechanic of this blockblock- The block that was damagedplayer- The player who damaged this block
-
-
Method Detail
-
getMechanic
ChorusBlockMechanic getMechanic()
-
getHandlers
HandlerList getHandlers()
-
-
-
-