C08PacketBlockPlacement
Creates a new C08PacketBlockPlacement object with the given pos, direction, stack and placeVec.
getPosition(): BlockPos
getPosition(): BlockPosReturns a BlockPos object representing the position where the block is placed.
Sets the pos to the given BlockPos.
getPlacedBlockDirection(): int
getPlacedBlockDirection(): intRetrieves the direction in which the block is placed, returned as an integer value.
setPlacedBlockDirection(int direction): void
setPlacedBlockDirection(int direction): voidgetStack(): ItemStack
getStack(): ItemStackReturns an ItemStack object representing the item stack used for block placement.
getVec3(): Vec3
getVec3(): Vec3Provides a Vec3 object representing the offset position for the block placement, based on x, y, and z coordinates.
Last updated