Class CustomBlockBreakEvent

  • All Implemented Interfaces:
    org.bukkit.event.Cancellable

    public class CustomBlockBreakEvent
    extends org.bukkit.event.Event
    implements org.bukkit.event.Cancellable
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.bukkit.event.Event

        org.bukkit.event.Event.Result
    • 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 interface org.bukkit.event.Cancellable
      • setCancelled

        public void setCancelled​(boolean cancelled)
        Specified by:
        setCancelled in interface org.bukkit.event.Cancellable
      • getHandlers

        @NotNull
        public @NotNull org.bukkit.event.HandlerList getHandlers()
        Specified by:
        getHandlers in class org.bukkit.event.Event
      • getCustomBlock

        @NotNull
        public @NotNull CustomBlock getCustomBlock()
      • getPlayer

        @Nullable
        public @Nullable org.bukkit.entity.Player getPlayer()