fix: regenerate item/block palettes from server registry data for 1.21.9

MC 1.21.9 changed how some items and blocks are registered — 24 block
items (copper bars/chains/lanterns variants, potted azalea renames) and
additional blocks are now registered outside of Items.java/Blocks.java
field declarations, making the previous source-field-order-based palette
generation produce incorrect protocol IDs.

Regenerated ItemPalette1219.cs using server registries.json (1488 items,
up from 1464) and Palette1219.cs using blocks.json (1166 blocks with
correct state IDs). Added 37 new enum values to ItemType.cs (35 new +
DryShortGrass/DryTallGrass for backward compat) and 9 new values to
Material.cs.

Verified all item/block/entity identification against a 1.21.10 server.

Made-with: Cursor
This commit is contained in:
BruceChen 2026-03-21 14:43:56 +08:00
parent 6d3c58b29f
commit aebfcd93e4
4 changed files with 3465 additions and 3026 deletions

File diff suppressed because it is too large Load diff