程序包 org.bukkit.event.block

# 类 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
代表与方块相关的事件.

- ## 嵌套类概要

  ## 从类继承的嵌套类/接口 org.bukkit.event.Event

  `Event.Result`

- ## 字段概要

  字段
  修饰符和类型
  字段
  说明
  `protected Block`
  `block`

- ## 构造器概要

  构造器
  构造器
  说明
  `BlockEvent(@NotNull Block theBlock)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `final @NotNull Block`
  `getBlock()`
  获取这个事件涉及的方块.

  ### 从类继承的方法 org.bukkit.event.Event

  `getEventName, getHandlers, isAsynchronous`

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 字段详细资料

  - ### block

    protected Block block

- ## 构造器详细资料

  - ### BlockEvent

    public BlockEvent(@NotNull @NotNull Block theBlock)

- ## 方法详细资料

  - ### getBlock

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

    原文：Gets the block involved in this event.

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