BlockFormEvent
BlockFormEvent
=> org.bukkit.event.Event
=> org.bukkit.event.block.BlockEvent
=> org.bukkit.event.block.BlockGrowEvent
=> org.bukkit.event.block.BlockFormEvent
Called when a block is formed or spreads based on world conditions.Use {@link BlockSpreadEvent} to catch blocks that actually spread and don'tjust "randomly" form.Examples:
Snow forming due to a snow storm. Ice forming in a snowy Biome like Taiga or Tundra. Obsidian / Cobblestone forming due to contact with water. Concrete forming due to mixing of concrete powder and water.If a Block Form event is cancelled, the block will not be formed.@see BlockSpreadEvent当一应条件合适,方块随机生成或开始向四周蔓延时触发。如欲监听某些方块蔓延的事件,请参见BlockSpreadEvent
。本事件在方块“随机”生成时触发。本事件触发的情景包括:
在暴风雪天气下,地面生成雪方块。 在针叶林、雪原等温度较低的生物群系里,水结冰。 岩浆与水接触,生成圆石或黑曜石。 混凝土粉末与水接触,生成混凝土方块。如果本事件被取消,则不会生成新方块。@see 参见BlockSpreadEvent
。
方法声明: public HandlerList getHandlers()
方法签名: ()Lorg/bukkit/event/HandlerList;
方法声明: public static HandlerList getHandlerList()
方法签名: ()Lorg/bukkit/event/HandlerList;
Last modified 1mo ago