Class PulseVirtualBlockBreakEvent
java.lang.Object
org.bukkit.event.Event
dev.pulsemc.pulse.api.events.virtual.block.PulseVirtualBlockBreakEvent
- All Implemented Interfaces:
Cancellable
Triggered when a player successfully breaks a virtual block.
If cancelled, the block will NOT be removed and will be resent to the client. If not cancelled, the virtual block is removed and the real server block is revealed.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PulseVirtualBlockBreakEvent
-
-
Method Details
-
getPlayer
-
getLocation
-
getVirtualBlock
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelledin interfaceCancellable
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-