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