public static class Block.NeighborChangeEvent extends CancelableEvent
Event.Result| Modifier and Type | Field and Description |
|---|---|
java.util.Optional<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> |
neighborPosition |
| Constructor and Description |
|---|
NeighborChangeEvent(java.util.Optional<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> neighborPosition)
Called when a block next to this one changes (removed, placed, etc...).
|
cancel, isCanceledpublic final java.util.Optional<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> neighborPosition
public NeighborChangeEvent(java.util.Optional<org.apache.commons.math3.geometry.euclidean.threed.Vector3D> neighborPosition)
neighborPosition - The position of the block that changed.