Event.Result| Modifier and Type | Field and Description |
|---|---|
boolean |
action |
Entity |
entity |
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
hit |
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
position |
Direction |
side |
public final Entity entity
public final org.apache.commons.math3.geometry.euclidean.threed.Vector3D position
public final Direction side
public final org.apache.commons.math3.geometry.euclidean.threed.Vector3D hit
public boolean action
public UseEvent(Entity entity, org.apache.commons.math3.geometry.euclidean.threed.Vector3D position, Direction side, org.apache.commons.math3.geometry.euclidean.threed.Vector3D hit)
entity - - The entity using the itemposition - - The position of the blockside - - The side the player clickedhit - - The position the player hit on the block