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
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
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Field Summary
Fields inherited from class org.bukkit.event.block.BlockEvent
block -
Constructor Summary
ConstructorsConstructorDescriptionEntityBlockFormEvent(@NotNull Entity entity, @NotNull Block block, @NotNull BlockState blockstate) -
Method Summary
Methods inherited from class org.bukkit.event.block.BlockFormEvent
getHandlerList, getHandlersMethods inherited from class org.bukkit.event.block.BlockGrowEvent
getNewState, isCancelled, setCancelledMethods inherited from class org.bukkit.event.block.BlockEvent
getBlockMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
EntityBlockFormEvent
-
-
Method Details
-
getEntity
Get the entity that formed the block.- Returns:
- Entity involved in event
-