BlockEvent
BlockEvent
=> org.bukkit.event.Event
=> org.bukkit.event.block.BlockEvent
Represents a block related event.代表与方块有关的事件。译注:该事件未实现getHandlers()
和getHandlerList()
方法,无法直接监听。
方法声明: public final Block getBlock()
方法签名: ()Lorg/bukkit/block/Block;
Gets the block involved in this event.@return The Block which block is involved in this event该方法用于获取涉事方块。@return 涉事方块。
Last modified 1mo ago