public class EntityBlockFormEvent extends BlockFormEvent
Examples:
Snowman.
Event.Resultblock| 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, getHandlersgetNewState, isCancelled, setCancelledgetBlockgetEventName, isAsynchronouspublic EntityBlockFormEvent(@NotNull
Entity entity,
@NotNull
Block block,
@NotNull
BlockState blockstate)
@NotNull public Entity getEntity()
Copyright © 2022. All rights reserved.