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