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