Block Placement Target
data class BlockPlacementTarget(val interactedBlockPos: BlockPos, val placedBlock: BlockPos, val direction: Direction, val minPlacementY: Double, val rotation: Rotation)
Properties
Link copied to clipboard
Link copied to clipboard
BlockPos which is right-clicked
Link copied to clipboard
Some blocks must be placed above a certain height of the block. For example stairs and slabs must be placed at the upper half (=> minY = 0.5) in order to be placed correctly
Link copied to clipboard
Block pos at which a new block is placed