- 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>
Three fixes for feedback from live testing:
1) Tent pitch check required 3 blocks of air above the footprint but
the tent is only 2 blocks tall. Relaxed clearance to match the
actual structure height (h <= 1).
2) Hammock block had a 4px-tall collision box which pushed the player
on TOP of the cloth. Reduced collision to 1px so the player stands
inside the hammock cell. Selection box stays at 4px for easy click.
3) Climbing in now actually locks the player: applies slowness 255,
weakness, mining_fatigue for the duration, saves the anchor point
in a dynamic property, and the upkeep loop re-teleports them if
they drift off. Sneak-exit nudges them ~1.2 blocks forward of the
cradle so they don't immediately re-enter.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Tent pitches over a 2x3 flat footprint and lets players skip to dawn
without touching their spawn point. Hammock strings between two posts
3-6 blocks apart (straight or diagonal, +/-1 block height) and keeps
hostile mobs at bay while occupied. Both are craftable (wool/sticks and
wool/string) and mounted in all four worlds.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>