mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
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:
parent
6d3c58b29f
commit
aebfcd93e4
4 changed files with 3465 additions and 3026 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -165,9 +165,9 @@ namespace MinecraftClient.Mapping
|
|||
BubbleCoralFan,
|
||||
BubbleCoralWallFan,
|
||||
BuddingAmethyst,
|
||||
Bush, // bush
|
||||
Bush,
|
||||
Cactus,
|
||||
CactusFlower, // cactus_flower
|
||||
CactusFlower,
|
||||
Cake,
|
||||
Calcite,
|
||||
CalibratedSculkSensor,
|
||||
|
|
@ -416,7 +416,7 @@ namespace MinecraftClient.Mapping
|
|||
FireCoralBlock,
|
||||
FireCoralFan,
|
||||
FireCoralWallFan,
|
||||
FireflyBush, // firefly_bush
|
||||
FireflyBush,
|
||||
FletchingTable,
|
||||
FlowerPot,
|
||||
FloweringAzalea,
|
||||
|
|
@ -522,7 +522,7 @@ namespace MinecraftClient.Mapping
|
|||
LargeFern,
|
||||
Lava,
|
||||
LavaCauldron,
|
||||
LeafLitter, // leaf_litter
|
||||
LeafLitter,
|
||||
Lectern,
|
||||
Lever,
|
||||
Light,
|
||||
|
|
@ -914,7 +914,7 @@ namespace MinecraftClient.Mapping
|
|||
SeaLantern,
|
||||
SeaPickle,
|
||||
Seagrass,
|
||||
ShortDryGrass, // short_dry_grass
|
||||
ShortDryGrass,
|
||||
ShortGrass,
|
||||
Shroomlight,
|
||||
ShulkerBox,
|
||||
|
|
@ -1009,13 +1009,13 @@ namespace MinecraftClient.Mapping
|
|||
SuspiciousGravel,
|
||||
SuspiciousSand,
|
||||
SweetBerryBush,
|
||||
TallDryGrass, // tall_dry_grass
|
||||
TallDryGrass,
|
||||
TallGrass,
|
||||
TallSeagrass,
|
||||
Target,
|
||||
Terracotta,
|
||||
TestBlock, // test_block
|
||||
TestInstanceBlock, // test_instance_block
|
||||
TestBlock,
|
||||
TestInstanceBlock,
|
||||
TintedGlass,
|
||||
Tnt,
|
||||
Torch,
|
||||
|
|
@ -1161,7 +1161,7 @@ namespace MinecraftClient.Mapping
|
|||
WhiteTulip,
|
||||
WhiteWallBanner,
|
||||
WhiteWool,
|
||||
Wildflowers, // wildflowers
|
||||
Wildflowers,
|
||||
WitherRose,
|
||||
WitherSkeletonSkull,
|
||||
WitherSkeletonWallSkull,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue