Class BlockEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
Direct Known Subclasses:
BlockBurnEvent, BlockCanBuildEvent, BlockCookEvent, BlockDamageEvent, BlockDispenseEvent, BlockDropItemEvent, BlockExpEvent, BlockExplodeEvent, BlockFadeEvent, BlockFertilizeEvent, BlockFromToEvent, BlockGrowEvent, BlockIgniteEvent, BlockPhysicsEvent, BlockPistonEvent, BlockPlaceEvent, BlockRedstoneEvent, BlockShearEntityEvent, BrewEvent, BrewingStandFuelEvent, CauldronLevelChangeEvent, FluidLevelChangeEvent, FurnaceBurnEvent, LeavesDecayEvent, MoistureChangeEvent, NotePlayEvent, SignChangeEvent, SpongeAbsorbEvent

public abstract class BlockEvent
extends Event
Represents a block related event.
  • Field Details

  • Constructor Details

  • Method Details

    • getBlock

      @NotNull public final Block getBlock()
      Gets the block involved in this event.
      Returns:
      The Block which block is involved in this event