Class BlockExplodedEvent

java.lang.Object
org.bukkit.event.Event
ua.mcchickenstudio.opencreative.coding.blocks.events.WorldEvent
ua.mcchickenstudio.opencreative.coding.blocks.events.world.blocks.BlockExplodedEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable, BlockEvent

public final class BlockExplodedEvent extends WorldEvent implements BlockEvent, org.bukkit.event.Cancellable
  • Constructor Details

    • BlockExplodedEvent

      public BlockExplodedEvent(Planet planet, org.bukkit.event.block.BlockExplodeEvent event)
  • Method Details

    • getBlock

      @NotNull public @NotNull org.bukkit.block.Block getBlock()
      Description copied from interface: BlockEvent
      Returns block involved in block event.
      Specified by:
      getBlock in interface BlockEvent
      Returns:
      block from event.
    • 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