Package org.bukkit.event.block
Class EntityBlockFormEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.BlockGrowEvent
org.bukkit.event.block.BlockFormEvent
org.bukkit.event.block.EntityBlockFormEvent
- All Implemented Interfaces:
Cancellable
public class EntityBlockFormEvent extends BlockFormEvent
Called when a block is formed by entities.
Examples:
- Snow formed by a
Snowman
. - Frosted Ice formed by the Frost Walker enchantment.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EntityBlockFormEvent(Entity entity, Block block, BlockState blockstate)
-
Method Summary
Methods inherited from class org.bukkit.event.block.BlockGrowEvent
getNewState, isCancelled, setCancelled
-
Constructor Details
-
Method Details
-
getEntity
Get the entity that formed the block.- Returns:
- Entity involved in event
-