Event.Result| Modifier and Type | Field and Description |
|---|---|
Entity |
entity
The entity that clicked this object.
|
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
position
The position it was clicked.
|
boolean |
result
true if the right click action does something. |
Direction |
side
The side it was clicked.
|
| Constructor and Description |
|---|
LeftClickEvent(Entity entity,
Direction side,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D position)
Called when the block is left clicked.
|
public final Entity entity
public final Direction side
public final org.apache.commons.math3.geometry.euclidean.threed.Vector3D position
public boolean result
true if the right click action does something.public LeftClickEvent(Entity entity, Direction side, org.apache.commons.math3.geometry.euclidean.threed.Vector3D position)
entity - The entity that clicked this objectside - The side it was clickedposition - The position it was clicked