FluidLevelChangeEvent
FluidLevelChangeEvent
=> org.bukkit.event.Event
=> org.bukkit.event.block.BlockEvent
=> org.bukkit.event.block.FluidLevelChangeEvent
Called when the fluid level of a block changes due to changes in adjacentblocks.当某个方块的液面高度由于邻近方块的变化而产生改动时触发。
方法声明: public BlockData getNewData()
方法签名: ()Lorg/bukkit/block/data/BlockData;
Gets the new data of the changed block.@return new data该方法用于获取发生改变的方块的新方块 数据。@return 新的方块数据。
方法声明: public void setNewData(@NotNull BlockData newData)
方法签名: (Lorg/bukkit/block/data/BlockData;)V
Sets the new data of the changed block. Must be of the same Material asthe old one.@param newData the new data该方法用于设置发生改变的方块的新方块数据。方块材质必须与原先保持一致。@param newData 新的方块数据。
方法声明: public boolean isCancelled()
方法签名: ()Z
方法声明: public void setCancelled(boolean cancelled)
方法签名: (Z)V
方法声明: public HandlerList getHandlers()
方法签名: ()Lorg/bukkit/event/HandlerList;
方法声明: public static HandlerList getHandlerList()
方法签名: ()Lorg/bukkit/event/HandlerList;
Last modified 1mo ago