C08PacketBlockPlacement
Last updated
Last updated
new C08PacketBlockPlacement(
pos, int direction,
stack,
placeVec)
Creates a new C08PacketBlockPlacement
object with the given pos, direction, stack and placeVec.
getPosition():
Returns a object representing the position where the block is placed.
setPosition(
pos): void
Sets the pos to the given .
getPlacedBlockDirection(): int
Retrieves the direction in which the block is placed, returned as an integer value.
setPlacedBlockDirection(int direction): void
getStack():
Returns an object representing the item stack used for block placement.
setStack(
stack): void
Provides a object representing the offset position for the block placement, based on x, y, and z coordinates.