Class OnyxBlockBreakEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
com.zombienw.onyxlib.api.event.OnyxBlockBreakEvent

public class OnyxBlockBreakEvent extends BlockEvent
Fired immediately before an OnyxBlock is removed and its display entity is deleted.
  • Constructor Details

    • OnyxBlockBreakEvent

      public OnyxBlockBreakEvent(@NonNull Block theBlock, @NonNull Player player, @NonNull OnyxBlock onyxBlock)
  • Method Details

    • getPlayer

      public @NonNull Player getPlayer()
    • getOnyxBlock

      public @NonNull OnyxBlock getOnyxBlock()
    • getHandlers

      public @NonNull HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static @NonNull HandlerList getHandlerList()