Event.Result| Modifier and Type | Field and Description |
|---|---|
java.util.Optional<Entity> |
entity
The entity that is removing the block
|
boolean |
result
true if the block can be removed |
| Constructor and Description |
|---|
RemoveEvent(java.util.Optional<Entity> entity)
Called when the block is about to be removed.
|
public final java.util.Optional<Entity> entity
public boolean result
true if the block can be removedpublic RemoveEvent(java.util.Optional<Entity> entity)
entity - The entity that is removing the block