fix(camping): half-slab hammock geometry + smarter tent grounding
All checks were successful
Deploy Addons / deploy (push) Successful in 15s

- Hammock now uses a custom geometry.silverlabs.hammock_slab (8-voxel
  tall half-slab instead of a full cube), matching its thin collision
  box so the block reads visually as a hammock cradle, not a brick.

- Tent placement now projects the player's feet down to the nearest
  solid block (up to 3 blocks) before picking the base Y, so mid-jump
  fractional positions or standing-on-slab cases don't mis-place the
  footprint one block too high.

- Failure messages now include the exact failing cell coordinates and
  the block type that's in the way, so we can diagnose live pitch
  attempts without guesswork.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-24 15:08:34 +01:00
parent 5c1af25468
commit 7e3432d868
3 changed files with 60 additions and 12 deletions

View File

@@ -26,7 +26,7 @@
"origin": [-8, 0, -8],
"size": [16, 4, 16]
},
"minecraft:geometry": "minecraft:geometry.full_block",
"minecraft:geometry": "geometry.silverlabs.hammock_slab",
"minecraft:light_dampening": 0
}
}