Class NexoStringBlockBreakEvent
-
- All Implemented Interfaces:
-
org.bukkit.event.Cancellable
public final class NexoStringBlockBreakEvent extends NexoBlockBreakEvent
-
-
Constructor Summary
Constructors Constructor Description NexoStringBlockBreakEvent(StringBlockMechanic mechanic, Block block, Player player, Drop drop)NexoStringBlockBreakEvent(StringBlockMechanic mechanic, Block block, Player player)
-
Method Summary
Modifier and Type Method Description StringBlockMechanicgetMechanic()-
Methods inherited from class com.nexomc.nexo.api.events.custom_block.NexoBlockBreakEvent
getBlock, getDrop, getHandlers, 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
-
NexoStringBlockBreakEvent
NexoStringBlockBreakEvent(StringBlockMechanic mechanic, Block block, Player player, Drop drop)
-
NexoStringBlockBreakEvent
NexoStringBlockBreakEvent(StringBlockMechanic mechanic, Block block, Player player)
-
-
Method Detail
-
getMechanic
StringBlockMechanic getMechanic()
- Returns:
The CustomBlockMechanic of this block
-
-
-
-