Package dev.linwood.itemmods.api.events
Class CustomBlockBreakEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- dev.linwood.itemmods.api.events.CustomBlockBreakEvent
-
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class CustomBlockBreakEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
-
-
Constructor Summary
Constructors Constructor Description CustomBlockBreakEvent(CustomBlock customBlock, org.bukkit.entity.Player player)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull CustomBlock
getCustomBlock()
static @NotNull org.bukkit.event.HandlerList
getHandlerList()
@NotNull org.bukkit.event.HandlerList
getHandlers()
@Nullable org.bukkit.entity.Player
getPlayer()
boolean
isCancelled()
void
setCancelled(boolean cancelled)
-
-
-
Constructor Detail
-
CustomBlockBreakEvent
public CustomBlockBreakEvent(CustomBlock customBlock, org.bukkit.entity.Player player)
-
-
Method Detail
-
getHandlerList
@NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled)
- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getCustomBlock
@NotNull public @NotNull CustomBlock getCustomBlock()
-
getPlayer
@Nullable public @Nullable org.bukkit.entity.Player getPlayer()
-
-