Class CustomBlockDataRemoveEvent
java.lang.Object
org.bukkit.event.Event
com.jeff_media.customblockdata.events.CustomBlockDataEvent
com.jeff_media.customblockdata.events.CustomBlockDataRemoveEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
Called when a block's CustomBlockData is about to be removed because the block was broken, replaced, or has changed in other ways.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jeff_media.customblockdata.events.CustomBlockDataEvent
CustomBlockDataEvent.ReasonNested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionCustomBlockDataRemoveEvent(@NotNull org.bukkit.plugin.Plugin plugin, @NotNull org.bukkit.block.Block block, @Nullable org.bukkit.event.Event bukkitEvent) -
Method Summary
Methods inherited from class com.jeff_media.customblockdata.events.CustomBlockDataEvent
getBlock, getBukkitEvent, getCustomBlockData, getHandlerList, getHandlers, getReason, isCancelled, setCancelledMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
CustomBlockDataRemoveEvent
public CustomBlockDataRemoveEvent(@NotNull @NotNull org.bukkit.plugin.Plugin plugin, @NotNull @NotNull org.bukkit.block.Block block, @Nullable @Nullable org.bukkit.event.Event bukkitEvent)
-