Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/CLIENT-CHECKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

Run these checks with the official client and the server resource pack.

## Full-width runtime block states (issue #72)

- On a disposable test world, reserve runtime state ID 425,981 in `world/moddedmc/registry.dat` before first startup (`{"blocks":{},"states":{"test:removed{}":425981},"items":{}}`). Load Create and accept the resource pack. Verify that newly registered state IDs are above 425,981, but every chunk palette and block-update packet still uses valid Java 26.3 vanilla carrier IDs. Never seed an existing production world.
- Place Cut Andesite Walls next to vanilla walls, slabs and panes. Check all connections, matching models, waterlogging, collision and drops. Leave and re-enter tracking range, then restart the server. The same custom state and model must return, with no vanilla carrier blocks visibly replacing it.
- Repeat with a running Draconic Crucible in a separate Saints Dragons world. Confirm that its inputs, active recipe, display and resulting items survive restart. Test an independent Create kinetic add-on for stress, rotation and axis changes across restart.
- Open an unmodified existing vanilla world and an existing native-mod world without reseeding. Check that old blocks and properties are unchanged and that newly placed blocks persist normally.

Automated stock-protocol checks have passed for a live Create wall world (runtime IDs 425,982–454,040), a Saints Dragons Crucible world (425,982–426,029) and a separate native kinetic add-on (425,982–454,045), including restart, as described in [STATE-IDS.md](STATE-IDS.md). The packet regression checks carrier projection explicitly. These bot and codec checks are not a visual inspection with the official client; the manual appearance and frame-timing checks above remain distinct. Combined Create/New Age startup is also constrained by the independent finite vanilla model-carrier allocator, not the runtime ID width.

## Mounted Mechanical Saw (`db90e12`)

- Mount a Saw sideways on a sticky piston with a chest and point it at an oak tree. Power the piston. Expect the Saw blade and contraption to move together, the Saw to pause as it cuts, and the tree drops to go into the chest.
Expand Down
2 changes: 1 addition & 1 deletion docs/CONTENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Blocks and block states, items, block entities, entity types, menus (container G

## Engine work this needs (devmogged/Pumpkin)

- A dynamic block-state registry after the generated vanilla one, with state ids above vanilla's maximum. Today `BlockStateId` is a `u16` and vanilla 26.3 uses 35,723 states, which leaves about 29,800 for mods. That's enough for the first packs, but a big pack will need `u32`. Registration happens at startup before any world loads. Definitions are leaked to `'static` and frozen, so `&'static Block` and `&'static BlockState` keep working everywhere: an id below the vanilla count reads the generated array, and anything above it reads the frozen modded table.
- A dynamic block-state registry after the generated vanilla one, with state ids above vanilla's maximum. `BlockStateId` uses a `u32` runtime ID, while generated vanilla indices and client wire carriers remain narrow. See [runtime state capacity](STATE-IDS.md) for the survey, compatibility rules and validation evidence. Registration happens at startup before any world loads. Definitions are leaked to `'static` and frozen, so `&'static Block` and `&'static BlockState` keep working everywhere: an id below the vanilla count reads the generated array, and anything above it reads the frozen modded table.
- Per-connection id translation on every outgoing packet that carries block states, items or entity types (chunks, block updates, inventories, entity spawns and metadata), plus incoming translation for item use and clicks.
- Resource pack generation and delivery, with hashes, for the vanilla view.
- A companion handshake (custom payload channel) that switches a connection to the companion view.
Expand Down
Loading