Event.Result| Modifier and Type | Field and Description |
|---|---|
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
hit
Where the player clicked on the block for placement.
|
Item |
item
The item used to place this block.
|
Entity |
placer
The entity that placed the block
|
Direction |
side
Side placed on
|
| Constructor and Description |
|---|
PlaceEvent(Entity placer,
Direction side,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D hit,
Item item)
Called when the block is placed.
|
public final Entity placer
public final Direction side
public final org.apache.commons.math3.geometry.euclidean.threed.Vector3D hit
public final Item item
public PlaceEvent(Entity placer, Direction side, org.apache.commons.math3.geometry.euclidean.threed.Vector3D hit, Item item)
placer - The entity that placed the blockside - The side placed onhit - Where the entity clicked on the block for placementitem - The item used to place this block