public class EntityBlockFormEvent extends BlockFormEvent
Examples:
Snowman
.
Event.Result
block
Constructor and Description |
---|
EntityBlockFormEvent(Entity entity,
Block block,
BlockState blockstate) |
Modifier and Type | Method and Description |
---|---|
Entity |
getEntity()
Get the entity that formed the block.
|
getHandlerList, getHandlers
getNewState, isCancelled, setCancelled
getBlock
callEvent, getEventName, isAsynchronous
public EntityBlockFormEvent(@NotNull Entity entity, @NotNull Block block, @NotNull BlockState blockstate)
@NotNull public Entity getEntity()
Copyright © 2022. All rights reserved.