类 BlockEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
直接已知子类:
BellResonateEvent, BellRingEvent, BlockBurnEvent, BlockCanBuildEvent, BlockCookEvent, BlockDamageAbortEvent, BlockDamageEvent, BlockDispenseEvent, BlockDropItemEvent, BlockExpEvent, BlockExplodeEvent, BlockFadeEvent, BlockFertilizeEvent, BlockFromToEvent, BlockGrowEvent, BlockIgniteEvent, BlockPhysicsEvent, BlockPistonEvent, BlockPlaceEvent, BlockReceiveGameEvent, BlockRedstoneEvent, BlockShearEntityEvent, BrewEvent, BrewingStandFuelEvent, CauldronLevelChangeEvent, FluidLevelChangeEvent, FurnaceBurnEvent, HopperInventorySearchEvent, InventoryBlockStartEvent, LeavesDecayEvent, MoistureChangeEvent, NotePlayEvent, SculkBloomEvent, SignChangeEvent, SpongeAbsorbEvent, TNTPrimeEvent

public abstract class BlockEvent extends Event
代表与方块相关的事件.
  • 字段详细资料

    • block

      protected Block block
  • 构造器详细资料

  • 方法详细资料

    • getBlock

      @NotNull public final @NotNull Block getBlock()
      获取这个事件涉及的方块.

      原文:Gets the block involved in this event.

      返回:
      这个事件涉及的方块