Expand description
Standing and wall block item behavior implementation.
This handles items like torches that place different block variants depending on whether they’re placed on top of a block (standing) or on the side of a block (wall).
Vanilla differences: None - this matches vanilla’s StandingAndWallBlockItem exactly.
The placement logic iterates through getNearestLookingDirections() and tries each
direction (skipping the opposite of attachmentDirection), using the standing block
when direction matches attachmentDirection and wall block otherwise.
Structs§
- Standing
AndWall Block Item - Behavior for items that place either a standing or wall variant of a block.