From 4546e6946e51ed8c942b230babcd8bd57c19ba12 Mon Sep 17 00:00:00 2001 From: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com> Date: Sun, 11 Feb 2024 18:13:48 +0800 Subject: [PATCH] 1.20.4: Update entity, item and block palette --- .../Inventory/ItemPalettes/ItemPalette1204.cs | 1330 +++++++++++++ MinecraftClient/Inventory/ItemType.cs | 60 +- .../Mapping/BlockPalettes/Palette1204.cs | 1762 +++++++++++++++++ .../EntityPalettes/EntityPalette1204.cs | 144 ++ .../EntityPalettes/EntityPaletteGenerator.cs | 5 +- MinecraftClient/Mapping/EntityType.cs | 2 + MinecraftClient/Mapping/Material.cs | 58 +- .../Protocol/Handlers/Protocol18.cs | 3 + 8 files changed, 3361 insertions(+), 3 deletions(-) create mode 100644 MinecraftClient/Inventory/ItemPalettes/ItemPalette1204.cs create mode 100644 MinecraftClient/Mapping/BlockPalettes/Palette1204.cs create mode 100644 MinecraftClient/Mapping/EntityPalettes/EntityPalette1204.cs diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette1204.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1204.cs new file mode 100644 index 00000000..13f7676e --- /dev/null +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1204.cs @@ -0,0 +1,1330 @@ +using System.Collections.Generic; + +namespace MinecraftClient.Inventory.ItemPalettes +{ + public class ItemPalette1204 : ItemPalette + { + private static readonly Dictionary mappings = new(); + + static ItemPalette1204() + { + mappings[781] = ItemType.AcaciaBoat; + mappings[687] = ItemType.AcaciaButton; + mappings[782] = ItemType.AcaciaChestBoat; + mappings[714] = ItemType.AcaciaDoor; + mappings[314] = ItemType.AcaciaFence; + mappings[753] = ItemType.AcaciaFenceGate; + mappings[898] = ItemType.AcaciaHangingSign; + mappings[179] = ItemType.AcaciaLeaves; + mappings[135] = ItemType.AcaciaLog; + mappings[40] = ItemType.AcaciaPlanks; + mappings[702] = ItemType.AcaciaPressurePlate; + mappings[52] = ItemType.AcaciaSapling; + mappings[887] = ItemType.AcaciaSign; + mappings[255] = ItemType.AcaciaSlab; + mappings[386] = ItemType.AcaciaStairs; + mappings[734] = ItemType.AcaciaTrapdoor; + mappings[169] = ItemType.AcaciaWood; + mappings[763] = ItemType.ActivatorRail; + mappings[0] = ItemType.Air; + mappings[1005] = ItemType.AllaySpawnEgg; + mappings[220] = ItemType.Allium; + mappings[85] = ItemType.AmethystBlock; + mappings[1249] = ItemType.AmethystCluster; + mappings[805] = ItemType.AmethystShard; + mappings[80] = ItemType.AncientDebris; + mappings[6] = ItemType.Andesite; + mappings[647] = ItemType.AndesiteSlab; + mappings[630] = ItemType.AndesiteStairs; + mappings[406] = ItemType.AndesiteWall; + mappings[1274] = ItemType.AnglerPotterySherd; + mappings[418] = ItemType.Anvil; + mappings[796] = ItemType.Apple; + mappings[1275] = ItemType.ArcherPotterySherd; + mappings[1116] = ItemType.ArmorStand; + mappings[1276] = ItemType.ArmsUpPotterySherd; + mappings[798] = ItemType.Arrow; + mappings[916] = ItemType.AxolotlBucket; + mappings[1006] = ItemType.AxolotlSpawnEgg; + mappings[196] = ItemType.Azalea; + mappings[183] = ItemType.AzaleaLeaves; + mappings[221] = ItemType.AzureBluet; + mappings[1092] = ItemType.BakedPotato; + mappings[250] = ItemType.Bamboo; + mappings[143] = ItemType.BambooBlock; + mappings[691] = ItemType.BambooButton; + mappings[790] = ItemType.BambooChestRaft; + mappings[718] = ItemType.BambooDoor; + mappings[318] = ItemType.BambooFence; + mappings[757] = ItemType.BambooFenceGate; + mappings[902] = ItemType.BambooHangingSign; + mappings[47] = ItemType.BambooMosaic; + mappings[260] = ItemType.BambooMosaicSlab; + mappings[391] = ItemType.BambooMosaicStairs; + mappings[44] = ItemType.BambooPlanks; + mappings[706] = ItemType.BambooPressurePlate; + mappings[789] = ItemType.BambooRaft; + mappings[891] = ItemType.BambooSign; + mappings[259] = ItemType.BambooSlab; + mappings[390] = ItemType.BambooStairs; + mappings[738] = ItemType.BambooTrapdoor; + mappings[1193] = ItemType.Barrel; + mappings[442] = ItemType.Barrier; + mappings[327] = ItemType.Basalt; + mappings[1007] = ItemType.BatSpawnEgg; + mappings[395] = ItemType.Beacon; + mappings[56] = ItemType.Bedrock; + mappings[1210] = ItemType.BeeNest; + mappings[1008] = ItemType.BeeSpawnEgg; + mappings[985] = ItemType.Beef; + mappings[1211] = ItemType.Beehive; + mappings[1147] = ItemType.Beetroot; + mappings[1148] = ItemType.BeetrootSeeds; + mappings[1149] = ItemType.BeetrootSoup; + mappings[1201] = ItemType.Bell; + mappings[248] = ItemType.BigDripleaf; + mappings[777] = ItemType.BirchBoat; + mappings[685] = ItemType.BirchButton; + mappings[778] = ItemType.BirchChestBoat; + mappings[712] = ItemType.BirchDoor; + mappings[312] = ItemType.BirchFence; + mappings[751] = ItemType.BirchFenceGate; + mappings[896] = ItemType.BirchHangingSign; + mappings[177] = ItemType.BirchLeaves; + mappings[133] = ItemType.BirchLog; + mappings[38] = ItemType.BirchPlanks; + mappings[700] = ItemType.BirchPressurePlate; + mappings[50] = ItemType.BirchSapling; + mappings[885] = ItemType.BirchSign; + mappings[253] = ItemType.BirchSlab; + mappings[384] = ItemType.BirchStairs; + mappings[732] = ItemType.BirchTrapdoor; + mappings[167] = ItemType.BirchWood; + mappings[1141] = ItemType.BlackBanner; + mappings[976] = ItemType.BlackBed; + mappings[1245] = ItemType.BlackCandle; + mappings[460] = ItemType.BlackCarpet; + mappings[569] = ItemType.BlackConcrete; + mappings[585] = ItemType.BlackConcretePowder; + mappings[956] = ItemType.BlackDye; + mappings[553] = ItemType.BlackGlazedTerracotta; + mappings[537] = ItemType.BlackShulkerBox; + mappings[485] = ItemType.BlackStainedGlass; + mappings[501] = ItemType.BlackStainedGlassPane; + mappings[441] = ItemType.BlackTerracotta; + mappings[216] = ItemType.BlackWool; + mappings[1216] = ItemType.Blackstone; + mappings[1217] = ItemType.BlackstoneSlab; + mappings[1218] = ItemType.BlackstoneStairs; + mappings[411] = ItemType.BlackstoneWall; + mappings[1277] = ItemType.BladePotterySherd; + mappings[1195] = ItemType.BlastFurnace; + mappings[999] = ItemType.BlazePowder; + mappings[991] = ItemType.BlazeRod; + mappings[1009] = ItemType.BlazeSpawnEgg; + mappings[1137] = ItemType.BlueBanner; + mappings[972] = ItemType.BlueBed; + mappings[1241] = ItemType.BlueCandle; + mappings[456] = ItemType.BlueCarpet; + mappings[565] = ItemType.BlueConcrete; + mappings[581] = ItemType.BlueConcretePowder; + mappings[952] = ItemType.BlueDye; + mappings[549] = ItemType.BlueGlazedTerracotta; + mappings[618] = ItemType.BlueIce; + mappings[219] = ItemType.BlueOrchid; + mappings[533] = ItemType.BlueShulkerBox; + mappings[481] = ItemType.BlueStainedGlass; + mappings[497] = ItemType.BlueStainedGlassPane; + mappings[437] = ItemType.BlueTerracotta; + mappings[212] = ItemType.BlueWool; + mappings[958] = ItemType.Bone; + mappings[519] = ItemType.BoneBlock; + mappings[957] = ItemType.BoneMeal; + mappings[922] = ItemType.Book; + mappings[285] = ItemType.Bookshelf; + mappings[797] = ItemType.Bow; + mappings[845] = ItemType.Bowl; + mappings[599] = ItemType.BrainCoral; + mappings[594] = ItemType.BrainCoralBlock; + mappings[609] = ItemType.BrainCoralFan; + mappings[852] = ItemType.Bread; + mappings[1010] = ItemType.BreezeSpawnEgg; + mappings[1278] = ItemType.BrewerPotterySherd; + mappings[1001] = ItemType.BrewingStand; + mappings[918] = ItemType.Brick; + mappings[269] = ItemType.BrickSlab; + mappings[360] = ItemType.BrickStairs; + mappings[398] = ItemType.BrickWall; + mappings[284] = ItemType.Bricks; + mappings[1138] = ItemType.BrownBanner; + mappings[973] = ItemType.BrownBed; + mappings[1242] = ItemType.BrownCandle; + mappings[457] = ItemType.BrownCarpet; + mappings[566] = ItemType.BrownConcrete; + mappings[582] = ItemType.BrownConcretePowder; + mappings[953] = ItemType.BrownDye; + mappings[550] = ItemType.BrownGlazedTerracotta; + mappings[233] = ItemType.BrownMushroom; + mappings[351] = ItemType.BrownMushroomBlock; + mappings[534] = ItemType.BrownShulkerBox; + mappings[482] = ItemType.BrownStainedGlass; + mappings[498] = ItemType.BrownStainedGlassPane; + mappings[438] = ItemType.BrownTerracotta; + mappings[213] = ItemType.BrownWool; + mappings[1256] = ItemType.Brush; + mappings[600] = ItemType.BubbleCoral; + mappings[595] = ItemType.BubbleCoralBlock; + mappings[610] = ItemType.BubbleCoralFan; + mappings[905] = ItemType.Bucket; + mappings[86] = ItemType.BuddingAmethyst; + mappings[927] = ItemType.Bundle; + mappings[1279] = ItemType.BurnPotterySherd; + mappings[307] = ItemType.Cactus; + mappings[960] = ItemType.Cake; + mappings[11] = ItemType.Calcite; + mappings[675] = ItemType.CalibratedSculkSensor; + mappings[1012] = ItemType.CamelSpawnEgg; + mappings[1206] = ItemType.Campfire; + mappings[1229] = ItemType.Candle; + mappings[1090] = ItemType.Carrot; + mappings[770] = ItemType.CarrotOnAStick; + mappings[1196] = ItemType.CartographyTable; + mappings[322] = ItemType.CarvedPumpkin; + mappings[1011] = ItemType.CatSpawnEgg; + mappings[1002] = ItemType.Cauldron; + mappings[1013] = ItemType.CaveSpiderSpawnEgg; + mappings[355] = ItemType.Chain; + mappings[514] = ItemType.ChainCommandBlock; + mappings[860] = ItemType.ChainmailBoots; + mappings[858] = ItemType.ChainmailChestplate; + mappings[857] = ItemType.ChainmailHelmet; + mappings[859] = ItemType.ChainmailLeggings; + mappings[800] = ItemType.Charcoal; + mappings[783] = ItemType.CherryBoat; + mappings[688] = ItemType.CherryButton; + mappings[784] = ItemType.CherryChestBoat; + mappings[715] = ItemType.CherryDoor; + mappings[315] = ItemType.CherryFence; + mappings[754] = ItemType.CherryFenceGate; + mappings[899] = ItemType.CherryHangingSign; + mappings[180] = ItemType.CherryLeaves; + mappings[136] = ItemType.CherryLog; + mappings[41] = ItemType.CherryPlanks; + mappings[703] = ItemType.CherryPressurePlate; + mappings[53] = ItemType.CherrySapling; + mappings[888] = ItemType.CherrySign; + mappings[256] = ItemType.CherrySlab; + mappings[387] = ItemType.CherryStairs; + mappings[735] = ItemType.CherryTrapdoor; + mappings[170] = ItemType.CherryWood; + mappings[298] = ItemType.Chest; + mappings[766] = ItemType.ChestMinecart; + mappings[987] = ItemType.Chicken; + mappings[1014] = ItemType.ChickenSpawnEgg; + mappings[419] = ItemType.ChippedAnvil; + mappings[286] = ItemType.ChiseledBookshelf; + mappings[95] = ItemType.ChiseledCopper; + mappings[349] = ItemType.ChiseledDeepslate; + mappings[367] = ItemType.ChiseledNetherBricks; + mappings[1223] = ItemType.ChiseledPolishedBlackstone; + mappings[421] = ItemType.ChiseledQuartzBlock; + mappings[510] = ItemType.ChiseledRedSandstone; + mappings[191] = ItemType.ChiseledSandstone; + mappings[342] = ItemType.ChiseledStoneBricks; + mappings[16] = ItemType.ChiseledTuff; + mappings[25] = ItemType.ChiseledTuffBricks; + mappings[293] = ItemType.ChorusFlower; + mappings[1143] = ItemType.ChorusFruit; + mappings[292] = ItemType.ChorusPlant; + mappings[308] = ItemType.Clay; + mappings[919] = ItemType.ClayBall; + mappings[929] = ItemType.Clock; + mappings[799] = ItemType.Coal; + mappings[81] = ItemType.CoalBlock; + mappings[62] = ItemType.CoalOre; + mappings[29] = ItemType.CoarseDirt; + mappings[1260] = ItemType.CoastArmorTrimSmithingTemplate; + mappings[9] = ItemType.CobbledDeepslate; + mappings[651] = ItemType.CobbledDeepslateSlab; + mappings[634] = ItemType.CobbledDeepslateStairs; + mappings[414] = ItemType.CobbledDeepslateWall; + mappings[35] = ItemType.Cobblestone; + mappings[268] = ItemType.CobblestoneSlab; + mappings[303] = ItemType.CobblestoneStairs; + mappings[396] = ItemType.CobblestoneWall; + mappings[193] = ItemType.Cobweb; + mappings[940] = ItemType.CocoaBeans; + mappings[932] = ItemType.Cod; + mappings[914] = ItemType.CodBucket; + mappings[1015] = ItemType.CodSpawnEgg; + mappings[394] = ItemType.CommandBlock; + mappings[1123] = ItemType.CommandBlockMinecart; + mappings[660] = ItemType.Comparator; + mappings[925] = ItemType.Compass; + mappings[1192] = ItemType.Composter; + mappings[619] = ItemType.Conduit; + mappings[986] = ItemType.CookedBeef; + mappings[988] = ItemType.CookedChicken; + mappings[936] = ItemType.CookedCod; + mappings[1125] = ItemType.CookedMutton; + mappings[879] = ItemType.CookedPorkchop; + mappings[1112] = ItemType.CookedRabbit; + mappings[937] = ItemType.CookedSalmon; + mappings[977] = ItemType.Cookie; + mappings[88] = ItemType.CopperBlock; + mappings[1302] = ItemType.CopperBulb; + mappings[721] = ItemType.CopperDoor; + mappings[1294] = ItemType.CopperGrate; + mappings[809] = ItemType.CopperIngot; + mappings[66] = ItemType.CopperOre; + mappings[741] = ItemType.CopperTrapdoor; + mappings[227] = ItemType.Cornflower; + mappings[1016] = ItemType.CowSpawnEgg; + mappings[346] = ItemType.CrackedDeepslateBricks; + mappings[348] = ItemType.CrackedDeepslateTiles; + mappings[366] = ItemType.CrackedNetherBricks; + mappings[1227] = ItemType.CrackedPolishedBlackstoneBricks; + mappings[341] = ItemType.CrackedStoneBricks; + mappings[978] = ItemType.Crafter; + mappings[299] = ItemType.CraftingTable; + mappings[1186] = ItemType.CreeperBannerPattern; + mappings[1100] = ItemType.CreeperHead; + mappings[1017] = ItemType.CreeperSpawnEgg; + mappings[692] = ItemType.CrimsonButton; + mappings[719] = ItemType.CrimsonDoor; + mappings[319] = ItemType.CrimsonFence; + mappings[758] = ItemType.CrimsonFenceGate; + mappings[235] = ItemType.CrimsonFungus; + mappings[903] = ItemType.CrimsonHangingSign; + mappings[173] = ItemType.CrimsonHyphae; + mappings[33] = ItemType.CrimsonNylium; + mappings[45] = ItemType.CrimsonPlanks; + mappings[707] = ItemType.CrimsonPressurePlate; + mappings[237] = ItemType.CrimsonRoots; + mappings[892] = ItemType.CrimsonSign; + mappings[261] = ItemType.CrimsonSlab; + mappings[392] = ItemType.CrimsonStairs; + mappings[141] = ItemType.CrimsonStem; + mappings[739] = ItemType.CrimsonTrapdoor; + mappings[1182] = ItemType.Crossbow; + mappings[1215] = ItemType.CryingObsidian; + mappings[99] = ItemType.CutCopper; + mappings[107] = ItemType.CutCopperSlab; + mappings[103] = ItemType.CutCopperStairs; + mappings[511] = ItemType.CutRedSandstone; + mappings[275] = ItemType.CutRedSandstoneSlab; + mappings[192] = ItemType.CutSandstone; + mappings[266] = ItemType.CutSandstoneSlab; + mappings[1135] = ItemType.CyanBanner; + mappings[970] = ItemType.CyanBed; + mappings[1239] = ItemType.CyanCandle; + mappings[454] = ItemType.CyanCarpet; + mappings[563] = ItemType.CyanConcrete; + mappings[579] = ItemType.CyanConcretePowder; + mappings[950] = ItemType.CyanDye; + mappings[547] = ItemType.CyanGlazedTerracotta; + mappings[531] = ItemType.CyanShulkerBox; + mappings[479] = ItemType.CyanStainedGlass; + mappings[495] = ItemType.CyanStainedGlassPane; + mappings[435] = ItemType.CyanTerracotta; + mappings[210] = ItemType.CyanWool; + mappings[420] = ItemType.DamagedAnvil; + mappings[217] = ItemType.Dandelion; + mappings[1280] = ItemType.DangerPotterySherd; + mappings[785] = ItemType.DarkOakBoat; + mappings[689] = ItemType.DarkOakButton; + mappings[786] = ItemType.DarkOakChestBoat; + mappings[716] = ItemType.DarkOakDoor; + mappings[316] = ItemType.DarkOakFence; + mappings[755] = ItemType.DarkOakFenceGate; + mappings[900] = ItemType.DarkOakHangingSign; + mappings[181] = ItemType.DarkOakLeaves; + mappings[137] = ItemType.DarkOakLog; + mappings[42] = ItemType.DarkOakPlanks; + mappings[704] = ItemType.DarkOakPressurePlate; + mappings[54] = ItemType.DarkOakSapling; + mappings[889] = ItemType.DarkOakSign; + mappings[257] = ItemType.DarkOakSlab; + mappings[388] = ItemType.DarkOakStairs; + mappings[736] = ItemType.DarkOakTrapdoor; + mappings[171] = ItemType.DarkOakWood; + mappings[504] = ItemType.DarkPrismarine; + mappings[279] = ItemType.DarkPrismarineSlab; + mappings[507] = ItemType.DarkPrismarineStairs; + mappings[673] = ItemType.DaylightDetector; + mappings[603] = ItemType.DeadBrainCoral; + mappings[589] = ItemType.DeadBrainCoralBlock; + mappings[614] = ItemType.DeadBrainCoralFan; + mappings[604] = ItemType.DeadBubbleCoral; + mappings[590] = ItemType.DeadBubbleCoralBlock; + mappings[615] = ItemType.DeadBubbleCoralFan; + mappings[198] = ItemType.DeadBush; + mappings[605] = ItemType.DeadFireCoral; + mappings[591] = ItemType.DeadFireCoralBlock; + mappings[616] = ItemType.DeadFireCoralFan; + mappings[606] = ItemType.DeadHornCoral; + mappings[592] = ItemType.DeadHornCoralBlock; + mappings[617] = ItemType.DeadHornCoralFan; + mappings[607] = ItemType.DeadTubeCoral; + mappings[588] = ItemType.DeadTubeCoralBlock; + mappings[613] = ItemType.DeadTubeCoralFan; + mappings[1160] = ItemType.DebugStick; + mappings[287] = ItemType.DecoratedPot; + mappings[8] = ItemType.Deepslate; + mappings[653] = ItemType.DeepslateBrickSlab; + mappings[636] = ItemType.DeepslateBrickStairs; + mappings[416] = ItemType.DeepslateBrickWall; + mappings[345] = ItemType.DeepslateBricks; + mappings[63] = ItemType.DeepslateCoalOre; + mappings[67] = ItemType.DeepslateCopperOre; + mappings[77] = ItemType.DeepslateDiamondOre; + mappings[73] = ItemType.DeepslateEmeraldOre; + mappings[69] = ItemType.DeepslateGoldOre; + mappings[65] = ItemType.DeepslateIronOre; + mappings[75] = ItemType.DeepslateLapisOre; + mappings[71] = ItemType.DeepslateRedstoneOre; + mappings[654] = ItemType.DeepslateTileSlab; + mappings[637] = ItemType.DeepslateTileStairs; + mappings[417] = ItemType.DeepslateTileWall; + mappings[347] = ItemType.DeepslateTiles; + mappings[761] = ItemType.DetectorRail; + mappings[801] = ItemType.Diamond; + mappings[837] = ItemType.DiamondAxe; + mappings[90] = ItemType.DiamondBlock; + mappings[868] = ItemType.DiamondBoots; + mappings[866] = ItemType.DiamondChestplate; + mappings[865] = ItemType.DiamondHelmet; + mappings[838] = ItemType.DiamondHoe; + mappings[1119] = ItemType.DiamondHorseArmor; + mappings[867] = ItemType.DiamondLeggings; + mappings[76] = ItemType.DiamondOre; + mappings[836] = ItemType.DiamondPickaxe; + mappings[835] = ItemType.DiamondShovel; + mappings[834] = ItemType.DiamondSword; + mappings[4] = ItemType.Diorite; + mappings[650] = ItemType.DioriteSlab; + mappings[633] = ItemType.DioriteStairs; + mappings[410] = ItemType.DioriteWall; + mappings[28] = ItemType.Dirt; + mappings[463] = ItemType.DirtPath; + mappings[1177] = ItemType.DiscFragment5; + mappings[667] = ItemType.Dispenser; + mappings[1018] = ItemType.DolphinSpawnEgg; + mappings[1019] = ItemType.DonkeySpawnEgg; + mappings[1150] = ItemType.DragonBreath; + mappings[378] = ItemType.DragonEgg; + mappings[1101] = ItemType.DragonHead; + mappings[982] = ItemType.DriedKelp; + mappings[920] = ItemType.DriedKelpBlock; + mappings[26] = ItemType.DripstoneBlock; + mappings[668] = ItemType.Dropper; + mappings[1020] = ItemType.DrownedSpawnEgg; + mappings[1259] = ItemType.DuneArmorTrimSmithingTemplate; + mappings[1255] = ItemType.EchoShard; + mappings[924] = ItemType.Egg; + mappings[1021] = ItemType.ElderGuardianSpawnEgg; + mappings[772] = ItemType.Elytra; + mappings[802] = ItemType.Emerald; + mappings[381] = ItemType.EmeraldBlock; + mappings[72] = ItemType.EmeraldOre; + mappings[1107] = ItemType.EnchantedBook; + mappings[882] = ItemType.EnchantedGoldenApple; + mappings[374] = ItemType.EnchantingTable; + mappings[1142] = ItemType.EndCrystal; + mappings[375] = ItemType.EndPortalFrame; + mappings[291] = ItemType.EndRod; + mappings[376] = ItemType.EndStone; + mappings[643] = ItemType.EndStoneBrickSlab; + mappings[625] = ItemType.EndStoneBrickStairs; + mappings[409] = ItemType.EndStoneBrickWall; + mappings[377] = ItemType.EndStoneBricks; + mappings[380] = ItemType.EnderChest; + mappings[1022] = ItemType.EnderDragonSpawnEgg; + mappings[1003] = ItemType.EnderEye; + mappings[990] = ItemType.EnderPearl; + mappings[1023] = ItemType.EndermanSpawnEgg; + mappings[1024] = ItemType.EndermiteSpawnEgg; + mappings[1025] = ItemType.EvokerSpawnEgg; + mappings[1083] = ItemType.ExperienceBottle; + mappings[1281] = ItemType.ExplorerPotterySherd; + mappings[96] = ItemType.ExposedChiseledCopper; + mappings[92] = ItemType.ExposedCopper; + mappings[1303] = ItemType.ExposedCopperBulb; + mappings[722] = ItemType.ExposedCopperDoor; + mappings[1295] = ItemType.ExposedCopperGrate; + mappings[742] = ItemType.ExposedCopperTrapdoor; + mappings[100] = ItemType.ExposedCutCopper; + mappings[108] = ItemType.ExposedCutCopperSlab; + mappings[104] = ItemType.ExposedCutCopperStairs; + mappings[1263] = ItemType.EyeArmorTrimSmithingTemplate; + mappings[300] = ItemType.Farmland; + mappings[848] = ItemType.Feather; + mappings[998] = ItemType.FermentedSpiderEye; + mappings[195] = ItemType.Fern; + mappings[979] = ItemType.FilledMap; + mappings[1084] = ItemType.FireCharge; + mappings[601] = ItemType.FireCoral; + mappings[596] = ItemType.FireCoralBlock; + mappings[611] = ItemType.FireCoralFan; + mappings[1105] = ItemType.FireworkRocket; + mappings[1106] = ItemType.FireworkStar; + mappings[928] = ItemType.FishingRod; + mappings[1197] = ItemType.FletchingTable; + mappings[877] = ItemType.Flint; + mappings[795] = ItemType.FlintAndSteel; + mappings[1185] = ItemType.FlowerBannerPattern; + mappings[1089] = ItemType.FlowerPot; + mappings[197] = ItemType.FloweringAzalea; + mappings[184] = ItemType.FloweringAzaleaLeaves; + mappings[1026] = ItemType.FoxSpawnEgg; + mappings[1282] = ItemType.FriendPotterySherd; + mappings[1027] = ItemType.FrogSpawnEgg; + mappings[1254] = ItemType.Frogspawn; + mappings[301] = ItemType.Furnace; + mappings[767] = ItemType.FurnaceMinecart; + mappings[1028] = ItemType.GhastSpawnEgg; + mappings[992] = ItemType.GhastTear; + mappings[1219] = ItemType.GildedBlackstone; + mappings[187] = ItemType.Glass; + mappings[996] = ItemType.GlassBottle; + mappings[356] = ItemType.GlassPane; + mappings[1004] = ItemType.GlisteringMelonSlice; + mappings[1189] = ItemType.GlobeBannerPattern; + mappings[1205] = ItemType.GlowBerries; + mappings[939] = ItemType.GlowInkSac; + mappings[1088] = ItemType.GlowItemFrame; + mappings[359] = ItemType.GlowLichen; + mappings[1029] = ItemType.GlowSquidSpawnEgg; + mappings[331] = ItemType.Glowstone; + mappings[931] = ItemType.GlowstoneDust; + mappings[1191] = ItemType.GoatHorn; + mappings[1030] = ItemType.GoatSpawnEgg; + mappings[89] = ItemType.GoldBlock; + mappings[811] = ItemType.GoldIngot; + mappings[993] = ItemType.GoldNugget; + mappings[68] = ItemType.GoldOre; + mappings[881] = ItemType.GoldenApple; + mappings[827] = ItemType.GoldenAxe; + mappings[872] = ItemType.GoldenBoots; + mappings[1095] = ItemType.GoldenCarrot; + mappings[870] = ItemType.GoldenChestplate; + mappings[869] = ItemType.GoldenHelmet; + mappings[828] = ItemType.GoldenHoe; + mappings[1118] = ItemType.GoldenHorseArmor; + mappings[871] = ItemType.GoldenLeggings; + mappings[826] = ItemType.GoldenPickaxe; + mappings[825] = ItemType.GoldenShovel; + mappings[824] = ItemType.GoldenSword; + mappings[2] = ItemType.Granite; + mappings[646] = ItemType.GraniteSlab; + mappings[629] = ItemType.GraniteStairs; + mappings[402] = ItemType.GraniteWall; + mappings[27] = ItemType.GrassBlock; + mappings[61] = ItemType.Gravel; + mappings[1133] = ItemType.GrayBanner; + mappings[968] = ItemType.GrayBed; + mappings[1237] = ItemType.GrayCandle; + mappings[452] = ItemType.GrayCarpet; + mappings[561] = ItemType.GrayConcrete; + mappings[577] = ItemType.GrayConcretePowder; + mappings[948] = ItemType.GrayDye; + mappings[545] = ItemType.GrayGlazedTerracotta; + mappings[529] = ItemType.GrayShulkerBox; + mappings[477] = ItemType.GrayStainedGlass; + mappings[493] = ItemType.GrayStainedGlassPane; + mappings[433] = ItemType.GrayTerracotta; + mappings[208] = ItemType.GrayWool; + mappings[1139] = ItemType.GreenBanner; + mappings[974] = ItemType.GreenBed; + mappings[1243] = ItemType.GreenCandle; + mappings[458] = ItemType.GreenCarpet; + mappings[567] = ItemType.GreenConcrete; + mappings[583] = ItemType.GreenConcretePowder; + mappings[954] = ItemType.GreenDye; + mappings[551] = ItemType.GreenGlazedTerracotta; + mappings[535] = ItemType.GreenShulkerBox; + mappings[483] = ItemType.GreenStainedGlass; + mappings[499] = ItemType.GreenStainedGlassPane; + mappings[439] = ItemType.GreenTerracotta; + mappings[214] = ItemType.GreenWool; + mappings[1198] = ItemType.Grindstone; + mappings[1031] = ItemType.GuardianSpawnEgg; + mappings[849] = ItemType.Gunpowder; + mappings[247] = ItemType.HangingRoots; + mappings[444] = ItemType.HayBlock; + mappings[1181] = ItemType.HeartOfTheSea; + mappings[1283] = ItemType.HeartPotterySherd; + mappings[1284] = ItemType.HeartbreakPotterySherd; + mappings[697] = ItemType.HeavyWeightedPressurePlate; + mappings[1032] = ItemType.HoglinSpawnEgg; + mappings[664] = ItemType.HoneyBlock; + mappings[1212] = ItemType.HoneyBottle; + mappings[1209] = ItemType.Honeycomb; + mappings[1213] = ItemType.HoneycombBlock; + mappings[666] = ItemType.Hopper; + mappings[769] = ItemType.HopperMinecart; + mappings[602] = ItemType.HornCoral; + mappings[597] = ItemType.HornCoralBlock; + mappings[612] = ItemType.HornCoralFan; + mappings[1033] = ItemType.HorseSpawnEgg; + mappings[1273] = ItemType.HostArmorTrimSmithingTemplate; + mappings[1285] = ItemType.HowlPotterySherd; + mappings[1034] = ItemType.HuskSpawnEgg; + mappings[305] = ItemType.Ice; + mappings[337] = ItemType.InfestedChiseledStoneBricks; + mappings[333] = ItemType.InfestedCobblestone; + mappings[336] = ItemType.InfestedCrackedStoneBricks; + mappings[338] = ItemType.InfestedDeepslate; + mappings[335] = ItemType.InfestedMossyStoneBricks; + mappings[332] = ItemType.InfestedStone; + mappings[334] = ItemType.InfestedStoneBricks; + mappings[938] = ItemType.InkSac; + mappings[832] = ItemType.IronAxe; + mappings[354] = ItemType.IronBars; + mappings[87] = ItemType.IronBlock; + mappings[864] = ItemType.IronBoots; + mappings[862] = ItemType.IronChestplate; + mappings[709] = ItemType.IronDoor; + mappings[1035] = ItemType.IronGolemSpawnEgg; + mappings[861] = ItemType.IronHelmet; + mappings[833] = ItemType.IronHoe; + mappings[1117] = ItemType.IronHorseArmor; + mappings[807] = ItemType.IronIngot; + mappings[863] = ItemType.IronLeggings; + mappings[1158] = ItemType.IronNugget; + mappings[64] = ItemType.IronOre; + mappings[831] = ItemType.IronPickaxe; + mappings[830] = ItemType.IronShovel; + mappings[829] = ItemType.IronSword; + mappings[729] = ItemType.IronTrapdoor; + mappings[1087] = ItemType.ItemFrame; + mappings[323] = ItemType.JackOLantern; + mappings[792] = ItemType.Jigsaw; + mappings[309] = ItemType.Jukebox; + mappings[779] = ItemType.JungleBoat; + mappings[686] = ItemType.JungleButton; + mappings[780] = ItemType.JungleChestBoat; + mappings[713] = ItemType.JungleDoor; + mappings[313] = ItemType.JungleFence; + mappings[752] = ItemType.JungleFenceGate; + mappings[897] = ItemType.JungleHangingSign; + mappings[178] = ItemType.JungleLeaves; + mappings[134] = ItemType.JungleLog; + mappings[39] = ItemType.JunglePlanks; + mappings[701] = ItemType.JunglePressurePlate; + mappings[51] = ItemType.JungleSapling; + mappings[886] = ItemType.JungleSign; + mappings[254] = ItemType.JungleSlab; + mappings[385] = ItemType.JungleStairs; + mappings[733] = ItemType.JungleTrapdoor; + mappings[168] = ItemType.JungleWood; + mappings[243] = ItemType.Kelp; + mappings[1159] = ItemType.KnowledgeBook; + mappings[302] = ItemType.Ladder; + mappings[1202] = ItemType.Lantern; + mappings[189] = ItemType.LapisBlock; + mappings[803] = ItemType.LapisLazuli; + mappings[74] = ItemType.LapisOre; + mappings[1248] = ItemType.LargeAmethystBud; + mappings[469] = ItemType.LargeFern; + mappings[907] = ItemType.LavaBucket; + mappings[1121] = ItemType.Lead; + mappings[910] = ItemType.Leather; + mappings[856] = ItemType.LeatherBoots; + mappings[854] = ItemType.LeatherChestplate; + mappings[853] = ItemType.LeatherHelmet; + mappings[1120] = ItemType.LeatherHorseArmor; + mappings[855] = ItemType.LeatherLeggings; + mappings[669] = ItemType.Lectern; + mappings[671] = ItemType.Lever; + mappings[443] = ItemType.Light; + mappings[1129] = ItemType.LightBlueBanner; + mappings[964] = ItemType.LightBlueBed; + mappings[1233] = ItemType.LightBlueCandle; + mappings[448] = ItemType.LightBlueCarpet; + mappings[557] = ItemType.LightBlueConcrete; + mappings[573] = ItemType.LightBlueConcretePowder; + mappings[944] = ItemType.LightBlueDye; + mappings[541] = ItemType.LightBlueGlazedTerracotta; + mappings[525] = ItemType.LightBlueShulkerBox; + mappings[473] = ItemType.LightBlueStainedGlass; + mappings[489] = ItemType.LightBlueStainedGlassPane; + mappings[429] = ItemType.LightBlueTerracotta; + mappings[204] = ItemType.LightBlueWool; + mappings[1134] = ItemType.LightGrayBanner; + mappings[969] = ItemType.LightGrayBed; + mappings[1238] = ItemType.LightGrayCandle; + mappings[453] = ItemType.LightGrayCarpet; + mappings[562] = ItemType.LightGrayConcrete; + mappings[578] = ItemType.LightGrayConcretePowder; + mappings[949] = ItemType.LightGrayDye; + mappings[546] = ItemType.LightGrayGlazedTerracotta; + mappings[530] = ItemType.LightGrayShulkerBox; + mappings[478] = ItemType.LightGrayStainedGlass; + mappings[494] = ItemType.LightGrayStainedGlassPane; + mappings[434] = ItemType.LightGrayTerracotta; + mappings[209] = ItemType.LightGrayWool; + mappings[696] = ItemType.LightWeightedPressurePlate; + mappings[672] = ItemType.LightningRod; + mappings[465] = ItemType.Lilac; + mappings[228] = ItemType.LilyOfTheValley; + mappings[364] = ItemType.LilyPad; + mappings[1131] = ItemType.LimeBanner; + mappings[966] = ItemType.LimeBed; + mappings[1235] = ItemType.LimeCandle; + mappings[450] = ItemType.LimeCarpet; + mappings[559] = ItemType.LimeConcrete; + mappings[575] = ItemType.LimeConcretePowder; + mappings[946] = ItemType.LimeDye; + mappings[543] = ItemType.LimeGlazedTerracotta; + mappings[527] = ItemType.LimeShulkerBox; + mappings[475] = ItemType.LimeStainedGlass; + mappings[491] = ItemType.LimeStainedGlassPane; + mappings[431] = ItemType.LimeTerracotta; + mappings[206] = ItemType.LimeWool; + mappings[1154] = ItemType.LingeringPotion; + mappings[1036] = ItemType.LlamaSpawnEgg; + mappings[1214] = ItemType.Lodestone; + mappings[1184] = ItemType.Loom; + mappings[1128] = ItemType.MagentaBanner; + mappings[963] = ItemType.MagentaBed; + mappings[1232] = ItemType.MagentaCandle; + mappings[447] = ItemType.MagentaCarpet; + mappings[556] = ItemType.MagentaConcrete; + mappings[572] = ItemType.MagentaConcretePowder; + mappings[943] = ItemType.MagentaDye; + mappings[540] = ItemType.MagentaGlazedTerracotta; + mappings[524] = ItemType.MagentaShulkerBox; + mappings[472] = ItemType.MagentaStainedGlass; + mappings[488] = ItemType.MagentaStainedGlassPane; + mappings[428] = ItemType.MagentaTerracotta; + mappings[203] = ItemType.MagentaWool; + mappings[515] = ItemType.MagmaBlock; + mappings[1000] = ItemType.MagmaCream; + mappings[1037] = ItemType.MagmaCubeSpawnEgg; + mappings[787] = ItemType.MangroveBoat; + mappings[690] = ItemType.MangroveButton; + mappings[788] = ItemType.MangroveChestBoat; + mappings[717] = ItemType.MangroveDoor; + mappings[317] = ItemType.MangroveFence; + mappings[756] = ItemType.MangroveFenceGate; + mappings[901] = ItemType.MangroveHangingSign; + mappings[182] = ItemType.MangroveLeaves; + mappings[138] = ItemType.MangroveLog; + mappings[43] = ItemType.MangrovePlanks; + mappings[705] = ItemType.MangrovePressurePlate; + mappings[55] = ItemType.MangrovePropagule; + mappings[139] = ItemType.MangroveRoots; + mappings[890] = ItemType.MangroveSign; + mappings[258] = ItemType.MangroveSlab; + mappings[389] = ItemType.MangroveStairs; + mappings[737] = ItemType.MangroveTrapdoor; + mappings[172] = ItemType.MangroveWood; + mappings[1094] = ItemType.Map; + mappings[1247] = ItemType.MediumAmethystBud; + mappings[357] = ItemType.Melon; + mappings[984] = ItemType.MelonSeeds; + mappings[981] = ItemType.MelonSlice; + mappings[911] = ItemType.MilkBucket; + mappings[765] = ItemType.Minecart; + mappings[1286] = ItemType.MinerPotterySherd; + mappings[1188] = ItemType.MojangBannerPattern; + mappings[1038] = ItemType.MooshroomSpawnEgg; + mappings[246] = ItemType.MossBlock; + mappings[244] = ItemType.MossCarpet; + mappings[288] = ItemType.MossyCobblestone; + mappings[642] = ItemType.MossyCobblestoneSlab; + mappings[624] = ItemType.MossyCobblestoneStairs; + mappings[397] = ItemType.MossyCobblestoneWall; + mappings[640] = ItemType.MossyStoneBrickSlab; + mappings[622] = ItemType.MossyStoneBrickStairs; + mappings[401] = ItemType.MossyStoneBrickWall; + mappings[340] = ItemType.MossyStoneBricks; + mappings[1287] = ItemType.MournerPotterySherd; + mappings[32] = ItemType.Mud; + mappings[271] = ItemType.MudBrickSlab; + mappings[362] = ItemType.MudBrickStairs; + mappings[404] = ItemType.MudBrickWall; + mappings[344] = ItemType.MudBricks; + mappings[140] = ItemType.MuddyMangroveRoots; + mappings[1039] = ItemType.MuleSpawnEgg; + mappings[353] = ItemType.MushroomStem; + mappings[846] = ItemType.MushroomStew; + mappings[1171] = ItemType.MusicDisc11; + mappings[1161] = ItemType.MusicDisc13; + mappings[1175] = ItemType.MusicDisc5; + mappings[1163] = ItemType.MusicDiscBlocks; + mappings[1162] = ItemType.MusicDiscCat; + mappings[1164] = ItemType.MusicDiscChirp; + mappings[1165] = ItemType.MusicDiscFar; + mappings[1166] = ItemType.MusicDiscMall; + mappings[1167] = ItemType.MusicDiscMellohi; + mappings[1173] = ItemType.MusicDiscOtherside; + mappings[1176] = ItemType.MusicDiscPigstep; + mappings[1174] = ItemType.MusicDiscRelic; + mappings[1168] = ItemType.MusicDiscStal; + mappings[1169] = ItemType.MusicDiscStrad; + mappings[1172] = ItemType.MusicDiscWait; + mappings[1170] = ItemType.MusicDiscWard; + mappings[1124] = ItemType.Mutton; + mappings[363] = ItemType.Mycelium; + mappings[1122] = ItemType.NameTag; + mappings[1180] = ItemType.NautilusShell; + mappings[1108] = ItemType.NetherBrick; + mappings[368] = ItemType.NetherBrickFence; + mappings[272] = ItemType.NetherBrickSlab; + mappings[369] = ItemType.NetherBrickStairs; + mappings[405] = ItemType.NetherBrickWall; + mappings[365] = ItemType.NetherBricks; + mappings[78] = ItemType.NetherGoldOre; + mappings[79] = ItemType.NetherQuartzOre; + mappings[239] = ItemType.NetherSprouts; + mappings[1103] = ItemType.NetherStar; + mappings[994] = ItemType.NetherWart; + mappings[516] = ItemType.NetherWartBlock; + mappings[842] = ItemType.NetheriteAxe; + mappings[91] = ItemType.NetheriteBlock; + mappings[876] = ItemType.NetheriteBoots; + mappings[874] = ItemType.NetheriteChestplate; + mappings[873] = ItemType.NetheriteHelmet; + mappings[843] = ItemType.NetheriteHoe; + mappings[812] = ItemType.NetheriteIngot; + mappings[875] = ItemType.NetheriteLeggings; + mappings[841] = ItemType.NetheritePickaxe; + mappings[813] = ItemType.NetheriteScrap; + mappings[840] = ItemType.NetheriteShovel; + mappings[839] = ItemType.NetheriteSword; + mappings[1257] = ItemType.NetheriteUpgradeSmithingTemplate; + mappings[324] = ItemType.Netherrack; + mappings[680] = ItemType.NoteBlock; + mappings[773] = ItemType.OakBoat; + mappings[683] = ItemType.OakButton; + mappings[774] = ItemType.OakChestBoat; + mappings[710] = ItemType.OakDoor; + mappings[310] = ItemType.OakFence; + mappings[749] = ItemType.OakFenceGate; + mappings[894] = ItemType.OakHangingSign; + mappings[175] = ItemType.OakLeaves; + mappings[131] = ItemType.OakLog; + mappings[36] = ItemType.OakPlanks; + mappings[698] = ItemType.OakPressurePlate; + mappings[48] = ItemType.OakSapling; + mappings[883] = ItemType.OakSign; + mappings[251] = ItemType.OakSlab; + mappings[382] = ItemType.OakStairs; + mappings[730] = ItemType.OakTrapdoor; + mappings[165] = ItemType.OakWood; + mappings[665] = ItemType.Observer; + mappings[289] = ItemType.Obsidian; + mappings[1040] = ItemType.OcelotSpawnEgg; + mappings[1251] = ItemType.OchreFroglight; + mappings[1127] = ItemType.OrangeBanner; + mappings[962] = ItemType.OrangeBed; + mappings[1231] = ItemType.OrangeCandle; + mappings[446] = ItemType.OrangeCarpet; + mappings[555] = ItemType.OrangeConcrete; + mappings[571] = ItemType.OrangeConcretePowder; + mappings[942] = ItemType.OrangeDye; + mappings[539] = ItemType.OrangeGlazedTerracotta; + mappings[523] = ItemType.OrangeShulkerBox; + mappings[471] = ItemType.OrangeStainedGlass; + mappings[487] = ItemType.OrangeStainedGlassPane; + mappings[427] = ItemType.OrangeTerracotta; + mappings[223] = ItemType.OrangeTulip; + mappings[202] = ItemType.OrangeWool; + mappings[226] = ItemType.OxeyeDaisy; + mappings[98] = ItemType.OxidizedChiseledCopper; + mappings[94] = ItemType.OxidizedCopper; + mappings[1305] = ItemType.OxidizedCopperBulb; + mappings[724] = ItemType.OxidizedCopperDoor; + mappings[1297] = ItemType.OxidizedCopperGrate; + mappings[744] = ItemType.OxidizedCopperTrapdoor; + mappings[102] = ItemType.OxidizedCutCopper; + mappings[110] = ItemType.OxidizedCutCopperSlab; + mappings[106] = ItemType.OxidizedCutCopperStairs; + mappings[462] = ItemType.PackedIce; + mappings[343] = ItemType.PackedMud; + mappings[880] = ItemType.Painting; + mappings[1041] = ItemType.PandaSpawnEgg; + mappings[921] = ItemType.Paper; + mappings[1042] = ItemType.ParrotSpawnEgg; + mappings[1253] = ItemType.PearlescentFroglight; + mappings[467] = ItemType.Peony; + mappings[267] = ItemType.PetrifiedOakSlab; + mappings[1179] = ItemType.PhantomMembrane; + mappings[1043] = ItemType.PhantomSpawnEgg; + mappings[1044] = ItemType.PigSpawnEgg; + mappings[1190] = ItemType.PiglinBannerPattern; + mappings[1046] = ItemType.PiglinBruteSpawnEgg; + mappings[1102] = ItemType.PiglinHead; + mappings[1045] = ItemType.PiglinSpawnEgg; + mappings[1047] = ItemType.PillagerSpawnEgg; + mappings[1132] = ItemType.PinkBanner; + mappings[967] = ItemType.PinkBed; + mappings[1236] = ItemType.PinkCandle; + mappings[451] = ItemType.PinkCarpet; + mappings[560] = ItemType.PinkConcrete; + mappings[576] = ItemType.PinkConcretePowder; + mappings[947] = ItemType.PinkDye; + mappings[544] = ItemType.PinkGlazedTerracotta; + mappings[245] = ItemType.PinkPetals; + mappings[528] = ItemType.PinkShulkerBox; + mappings[476] = ItemType.PinkStainedGlass; + mappings[492] = ItemType.PinkStainedGlassPane; + mappings[432] = ItemType.PinkTerracotta; + mappings[225] = ItemType.PinkTulip; + mappings[207] = ItemType.PinkWool; + mappings[661] = ItemType.Piston; + mappings[231] = ItemType.PitcherPlant; + mappings[1146] = ItemType.PitcherPod; + mappings[1098] = ItemType.PlayerHead; + mappings[1288] = ItemType.PlentyPotterySherd; + mappings[30] = ItemType.Podzol; + mappings[1250] = ItemType.PointedDripstone; + mappings[1093] = ItemType.PoisonousPotato; + mappings[1048] = ItemType.PolarBearSpawnEgg; + mappings[7] = ItemType.PolishedAndesite; + mappings[649] = ItemType.PolishedAndesiteSlab; + mappings[632] = ItemType.PolishedAndesiteStairs; + mappings[328] = ItemType.PolishedBasalt; + mappings[1220] = ItemType.PolishedBlackstone; + mappings[1225] = ItemType.PolishedBlackstoneBrickSlab; + mappings[1226] = ItemType.PolishedBlackstoneBrickStairs; + mappings[413] = ItemType.PolishedBlackstoneBrickWall; + mappings[1224] = ItemType.PolishedBlackstoneBricks; + mappings[682] = ItemType.PolishedBlackstoneButton; + mappings[695] = ItemType.PolishedBlackstonePressurePlate; + mappings[1221] = ItemType.PolishedBlackstoneSlab; + mappings[1222] = ItemType.PolishedBlackstoneStairs; + mappings[412] = ItemType.PolishedBlackstoneWall; + mappings[10] = ItemType.PolishedDeepslate; + mappings[652] = ItemType.PolishedDeepslateSlab; + mappings[635] = ItemType.PolishedDeepslateStairs; + mappings[415] = ItemType.PolishedDeepslateWall; + mappings[5] = ItemType.PolishedDiorite; + mappings[641] = ItemType.PolishedDioriteSlab; + mappings[623] = ItemType.PolishedDioriteStairs; + mappings[3] = ItemType.PolishedGranite; + mappings[638] = ItemType.PolishedGraniteSlab; + mappings[620] = ItemType.PolishedGraniteStairs; + mappings[17] = ItemType.PolishedTuff; + mappings[18] = ItemType.PolishedTuffSlab; + mappings[19] = ItemType.PolishedTuffStairs; + mappings[20] = ItemType.PolishedTuffWall; + mappings[1144] = ItemType.PoppedChorusFruit; + mappings[218] = ItemType.Poppy; + mappings[878] = ItemType.Porkchop; + mappings[1091] = ItemType.Potato; + mappings[995] = ItemType.Potion; + mappings[908] = ItemType.PowderSnowBucket; + mappings[760] = ItemType.PoweredRail; + mappings[502] = ItemType.Prismarine; + mappings[278] = ItemType.PrismarineBrickSlab; + mappings[506] = ItemType.PrismarineBrickStairs; + mappings[503] = ItemType.PrismarineBricks; + mappings[1110] = ItemType.PrismarineCrystals; + mappings[1109] = ItemType.PrismarineShard; + mappings[277] = ItemType.PrismarineSlab; + mappings[505] = ItemType.PrismarineStairs; + mappings[399] = ItemType.PrismarineWall; + mappings[1289] = ItemType.PrizePotterySherd; + mappings[935] = ItemType.Pufferfish; + mappings[912] = ItemType.PufferfishBucket; + mappings[1049] = ItemType.PufferfishSpawnEgg; + mappings[321] = ItemType.Pumpkin; + mappings[1104] = ItemType.PumpkinPie; + mappings[983] = ItemType.PumpkinSeeds; + mappings[1136] = ItemType.PurpleBanner; + mappings[971] = ItemType.PurpleBed; + mappings[1240] = ItemType.PurpleCandle; + mappings[455] = ItemType.PurpleCarpet; + mappings[564] = ItemType.PurpleConcrete; + mappings[580] = ItemType.PurpleConcretePowder; + mappings[951] = ItemType.PurpleDye; + mappings[548] = ItemType.PurpleGlazedTerracotta; + mappings[532] = ItemType.PurpleShulkerBox; + mappings[480] = ItemType.PurpleStainedGlass; + mappings[496] = ItemType.PurpleStainedGlassPane; + mappings[436] = ItemType.PurpleTerracotta; + mappings[211] = ItemType.PurpleWool; + mappings[294] = ItemType.PurpurBlock; + mappings[295] = ItemType.PurpurPillar; + mappings[276] = ItemType.PurpurSlab; + mappings[296] = ItemType.PurpurStairs; + mappings[804] = ItemType.Quartz; + mappings[422] = ItemType.QuartzBlock; + mappings[423] = ItemType.QuartzBricks; + mappings[424] = ItemType.QuartzPillar; + mappings[273] = ItemType.QuartzSlab; + mappings[425] = ItemType.QuartzStairs; + mappings[1111] = ItemType.Rabbit; + mappings[1114] = ItemType.RabbitFoot; + mappings[1115] = ItemType.RabbitHide; + mappings[1050] = ItemType.RabbitSpawnEgg; + mappings[1113] = ItemType.RabbitStew; + mappings[762] = ItemType.Rail; + mappings[1272] = ItemType.RaiserArmorTrimSmithingTemplate; + mappings[1051] = ItemType.RavagerSpawnEgg; + mappings[808] = ItemType.RawCopper; + mappings[83] = ItemType.RawCopperBlock; + mappings[810] = ItemType.RawGold; + mappings[84] = ItemType.RawGoldBlock; + mappings[806] = ItemType.RawIron; + mappings[82] = ItemType.RawIronBlock; + mappings[926] = ItemType.RecoveryCompass; + mappings[1140] = ItemType.RedBanner; + mappings[975] = ItemType.RedBed; + mappings[1244] = ItemType.RedCandle; + mappings[459] = ItemType.RedCarpet; + mappings[568] = ItemType.RedConcrete; + mappings[584] = ItemType.RedConcretePowder; + mappings[955] = ItemType.RedDye; + mappings[552] = ItemType.RedGlazedTerracotta; + mappings[234] = ItemType.RedMushroom; + mappings[352] = ItemType.RedMushroomBlock; + mappings[648] = ItemType.RedNetherBrickSlab; + mappings[631] = ItemType.RedNetherBrickStairs; + mappings[407] = ItemType.RedNetherBrickWall; + mappings[518] = ItemType.RedNetherBricks; + mappings[60] = ItemType.RedSand; + mappings[509] = ItemType.RedSandstone; + mappings[274] = ItemType.RedSandstoneSlab; + mappings[512] = ItemType.RedSandstoneStairs; + mappings[400] = ItemType.RedSandstoneWall; + mappings[536] = ItemType.RedShulkerBox; + mappings[484] = ItemType.RedStainedGlass; + mappings[500] = ItemType.RedStainedGlassPane; + mappings[440] = ItemType.RedTerracotta; + mappings[222] = ItemType.RedTulip; + mappings[215] = ItemType.RedWool; + mappings[656] = ItemType.Redstone; + mappings[658] = ItemType.RedstoneBlock; + mappings[679] = ItemType.RedstoneLamp; + mappings[70] = ItemType.RedstoneOre; + mappings[657] = ItemType.RedstoneTorch; + mappings[350] = ItemType.ReinforcedDeepslate; + mappings[659] = ItemType.Repeater; + mappings[513] = ItemType.RepeatingCommandBlock; + mappings[1228] = ItemType.RespawnAnchor; + mappings[1267] = ItemType.RibArmorTrimSmithingTemplate; + mappings[31] = ItemType.RootedDirt; + mappings[466] = ItemType.RoseBush; + mappings[989] = ItemType.RottenFlesh; + mappings[764] = ItemType.Saddle; + mappings[933] = ItemType.Salmon; + mappings[913] = ItemType.SalmonBucket; + mappings[1052] = ItemType.SalmonSpawnEgg; + mappings[57] = ItemType.Sand; + mappings[190] = ItemType.Sandstone; + mappings[265] = ItemType.SandstoneSlab; + mappings[379] = ItemType.SandstoneStairs; + mappings[408] = ItemType.SandstoneWall; + mappings[655] = ItemType.Scaffolding; + mappings[370] = ItemType.Sculk; + mappings[372] = ItemType.SculkCatalyst; + mappings[674] = ItemType.SculkSensor; + mappings[373] = ItemType.SculkShrieker; + mappings[371] = ItemType.SculkVein; + mappings[794] = ItemType.Scute; + mappings[508] = ItemType.SeaLantern; + mappings[200] = ItemType.SeaPickle; + mappings[199] = ItemType.Seagrass; + mappings[1258] = ItemType.SentryArmorTrimSmithingTemplate; + mappings[1270] = ItemType.ShaperArmorTrimSmithingTemplate; + mappings[1290] = ItemType.SheafPotterySherd; + mappings[980] = ItemType.Shears; + mappings[1053] = ItemType.SheepSpawnEgg; + mappings[1291] = ItemType.ShelterPotterySherd; + mappings[1155] = ItemType.Shield; + mappings[194] = ItemType.ShortGrass; + mappings[1208] = ItemType.Shroomlight; + mappings[521] = ItemType.ShulkerBox; + mappings[1157] = ItemType.ShulkerShell; + mappings[1054] = ItemType.ShulkerSpawnEgg; + mappings[1271] = ItemType.SilenceArmorTrimSmithingTemplate; + mappings[1055] = ItemType.SilverfishSpawnEgg; + mappings[1057] = ItemType.SkeletonHorseSpawnEgg; + mappings[1096] = ItemType.SkeletonSkull; + mappings[1056] = ItemType.SkeletonSpawnEgg; + mappings[1187] = ItemType.SkullBannerPattern; + mappings[1292] = ItemType.SkullPotterySherd; + mappings[923] = ItemType.SlimeBall; + mappings[663] = ItemType.SlimeBlock; + mappings[1058] = ItemType.SlimeSpawnEgg; + mappings[1246] = ItemType.SmallAmethystBud; + mappings[249] = ItemType.SmallDripleaf; + mappings[1199] = ItemType.SmithingTable; + mappings[1194] = ItemType.Smoker; + mappings[329] = ItemType.SmoothBasalt; + mappings[280] = ItemType.SmoothQuartz; + mappings[645] = ItemType.SmoothQuartzSlab; + mappings[628] = ItemType.SmoothQuartzStairs; + mappings[281] = ItemType.SmoothRedSandstone; + mappings[639] = ItemType.SmoothRedSandstoneSlab; + mappings[621] = ItemType.SmoothRedSandstoneStairs; + mappings[282] = ItemType.SmoothSandstone; + mappings[644] = ItemType.SmoothSandstoneSlab; + mappings[627] = ItemType.SmoothSandstoneStairs; + mappings[283] = ItemType.SmoothStone; + mappings[264] = ItemType.SmoothStoneSlab; + mappings[587] = ItemType.SnifferEgg; + mappings[1059] = ItemType.SnifferSpawnEgg; + mappings[1293] = ItemType.SnortPotterySherd; + mappings[1266] = ItemType.SnoutArmorTrimSmithingTemplate; + mappings[304] = ItemType.Snow; + mappings[306] = ItemType.SnowBlock; + mappings[1060] = ItemType.SnowGolemSpawnEgg; + mappings[909] = ItemType.Snowball; + mappings[1207] = ItemType.SoulCampfire; + mappings[1203] = ItemType.SoulLantern; + mappings[325] = ItemType.SoulSand; + mappings[326] = ItemType.SoulSoil; + mappings[330] = ItemType.SoulTorch; + mappings[297] = ItemType.Spawner; + mappings[1152] = ItemType.SpectralArrow; + mappings[997] = ItemType.SpiderEye; + mappings[1061] = ItemType.SpiderSpawnEgg; + mappings[1268] = ItemType.SpireArmorTrimSmithingTemplate; + mappings[1151] = ItemType.SplashPotion; + mappings[185] = ItemType.Sponge; + mappings[232] = ItemType.SporeBlossom; + mappings[775] = ItemType.SpruceBoat; + mappings[684] = ItemType.SpruceButton; + mappings[776] = ItemType.SpruceChestBoat; + mappings[711] = ItemType.SpruceDoor; + mappings[311] = ItemType.SpruceFence; + mappings[750] = ItemType.SpruceFenceGate; + mappings[895] = ItemType.SpruceHangingSign; + mappings[176] = ItemType.SpruceLeaves; + mappings[132] = ItemType.SpruceLog; + mappings[37] = ItemType.SprucePlanks; + mappings[699] = ItemType.SprucePressurePlate; + mappings[49] = ItemType.SpruceSapling; + mappings[884] = ItemType.SpruceSign; + mappings[252] = ItemType.SpruceSlab; + mappings[383] = ItemType.SpruceStairs; + mappings[731] = ItemType.SpruceTrapdoor; + mappings[166] = ItemType.SpruceWood; + mappings[930] = ItemType.Spyglass; + mappings[1062] = ItemType.SquidSpawnEgg; + mappings[844] = ItemType.Stick; + mappings[662] = ItemType.StickyPiston; + mappings[1] = ItemType.Stone; + mappings[822] = ItemType.StoneAxe; + mappings[270] = ItemType.StoneBrickSlab; + mappings[361] = ItemType.StoneBrickStairs; + mappings[403] = ItemType.StoneBrickWall; + mappings[339] = ItemType.StoneBricks; + mappings[681] = ItemType.StoneButton; + mappings[823] = ItemType.StoneHoe; + mappings[821] = ItemType.StonePickaxe; + mappings[694] = ItemType.StonePressurePlate; + mappings[820] = ItemType.StoneShovel; + mappings[263] = ItemType.StoneSlab; + mappings[626] = ItemType.StoneStairs; + mappings[819] = ItemType.StoneSword; + mappings[1200] = ItemType.Stonecutter; + mappings[1063] = ItemType.StraySpawnEgg; + mappings[1064] = ItemType.StriderSpawnEgg; + mappings[847] = ItemType.String; + mappings[148] = ItemType.StrippedAcaciaLog; + mappings[158] = ItemType.StrippedAcaciaWood; + mappings[164] = ItemType.StrippedBambooBlock; + mappings[146] = ItemType.StrippedBirchLog; + mappings[156] = ItemType.StrippedBirchWood; + mappings[149] = ItemType.StrippedCherryLog; + mappings[159] = ItemType.StrippedCherryWood; + mappings[162] = ItemType.StrippedCrimsonHyphae; + mappings[152] = ItemType.StrippedCrimsonStem; + mappings[150] = ItemType.StrippedDarkOakLog; + mappings[160] = ItemType.StrippedDarkOakWood; + mappings[147] = ItemType.StrippedJungleLog; + mappings[157] = ItemType.StrippedJungleWood; + mappings[151] = ItemType.StrippedMangroveLog; + mappings[161] = ItemType.StrippedMangroveWood; + mappings[144] = ItemType.StrippedOakLog; + mappings[154] = ItemType.StrippedOakWood; + mappings[145] = ItemType.StrippedSpruceLog; + mappings[155] = ItemType.StrippedSpruceWood; + mappings[163] = ItemType.StrippedWarpedHyphae; + mappings[153] = ItemType.StrippedWarpedStem; + mappings[791] = ItemType.StructureBlock; + mappings[520] = ItemType.StructureVoid; + mappings[959] = ItemType.Sugar; + mappings[242] = ItemType.SugarCane; + mappings[464] = ItemType.Sunflower; + mappings[59] = ItemType.SuspiciousGravel; + mappings[58] = ItemType.SuspiciousSand; + mappings[1183] = ItemType.SuspiciousStew; + mappings[1204] = ItemType.SweetBerries; + mappings[917] = ItemType.TadpoleBucket; + mappings[1065] = ItemType.TadpoleSpawnEgg; + mappings[468] = ItemType.TallGrass; + mappings[670] = ItemType.Target; + mappings[461] = ItemType.Terracotta; + mappings[1265] = ItemType.TideArmorTrimSmithingTemplate; + mappings[188] = ItemType.TintedGlass; + mappings[1153] = ItemType.TippedArrow; + mappings[678] = ItemType.Tnt; + mappings[768] = ItemType.TntMinecart; + mappings[290] = ItemType.Torch; + mappings[230] = ItemType.Torchflower; + mappings[1145] = ItemType.TorchflowerSeeds; + mappings[1156] = ItemType.TotemOfUndying; + mappings[1066] = ItemType.TraderLlamaSpawnEgg; + mappings[677] = ItemType.TrappedChest; + mappings[1311] = ItemType.TrialKey; + mappings[1310] = ItemType.TrialSpawner; + mappings[1178] = ItemType.Trident; + mappings[676] = ItemType.TripwireHook; + mappings[934] = ItemType.TropicalFish; + mappings[915] = ItemType.TropicalFishBucket; + mappings[1067] = ItemType.TropicalFishSpawnEgg; + mappings[598] = ItemType.TubeCoral; + mappings[593] = ItemType.TubeCoralBlock; + mappings[608] = ItemType.TubeCoralFan; + mappings[12] = ItemType.Tuff; + mappings[22] = ItemType.TuffBrickSlab; + mappings[23] = ItemType.TuffBrickStairs; + mappings[24] = ItemType.TuffBrickWall; + mappings[21] = ItemType.TuffBricks; + mappings[13] = ItemType.TuffSlab; + mappings[14] = ItemType.TuffStairs; + mappings[15] = ItemType.TuffWall; + mappings[586] = ItemType.TurtleEgg; + mappings[793] = ItemType.TurtleHelmet; + mappings[1068] = ItemType.TurtleSpawnEgg; + mappings[241] = ItemType.TwistingVines; + mappings[1252] = ItemType.VerdantFroglight; + mappings[1264] = ItemType.VexArmorTrimSmithingTemplate; + mappings[1069] = ItemType.VexSpawnEgg; + mappings[1070] = ItemType.VillagerSpawnEgg; + mappings[1071] = ItemType.VindicatorSpawnEgg; + mappings[358] = ItemType.Vine; + mappings[1072] = ItemType.WanderingTraderSpawnEgg; + mappings[1262] = ItemType.WardArmorTrimSmithingTemplate; + mappings[1073] = ItemType.WardenSpawnEgg; + mappings[693] = ItemType.WarpedButton; + mappings[720] = ItemType.WarpedDoor; + mappings[320] = ItemType.WarpedFence; + mappings[759] = ItemType.WarpedFenceGate; + mappings[236] = ItemType.WarpedFungus; + mappings[771] = ItemType.WarpedFungusOnAStick; + mappings[904] = ItemType.WarpedHangingSign; + mappings[174] = ItemType.WarpedHyphae; + mappings[34] = ItemType.WarpedNylium; + mappings[46] = ItemType.WarpedPlanks; + mappings[708] = ItemType.WarpedPressurePlate; + mappings[238] = ItemType.WarpedRoots; + mappings[893] = ItemType.WarpedSign; + mappings[262] = ItemType.WarpedSlab; + mappings[393] = ItemType.WarpedStairs; + mappings[142] = ItemType.WarpedStem; + mappings[740] = ItemType.WarpedTrapdoor; + mappings[517] = ItemType.WarpedWartBlock; + mappings[906] = ItemType.WaterBucket; + mappings[115] = ItemType.WaxedChiseledCopper; + mappings[111] = ItemType.WaxedCopperBlock; + mappings[1306] = ItemType.WaxedCopperBulb; + mappings[725] = ItemType.WaxedCopperDoor; + mappings[1298] = ItemType.WaxedCopperGrate; + mappings[745] = ItemType.WaxedCopperTrapdoor; + mappings[119] = ItemType.WaxedCutCopper; + mappings[127] = ItemType.WaxedCutCopperSlab; + mappings[123] = ItemType.WaxedCutCopperStairs; + mappings[116] = ItemType.WaxedExposedChiseledCopper; + mappings[112] = ItemType.WaxedExposedCopper; + mappings[1307] = ItemType.WaxedExposedCopperBulb; + mappings[726] = ItemType.WaxedExposedCopperDoor; + mappings[1299] = ItemType.WaxedExposedCopperGrate; + mappings[746] = ItemType.WaxedExposedCopperTrapdoor; + mappings[120] = ItemType.WaxedExposedCutCopper; + mappings[128] = ItemType.WaxedExposedCutCopperSlab; + mappings[124] = ItemType.WaxedExposedCutCopperStairs; + mappings[118] = ItemType.WaxedOxidizedChiseledCopper; + mappings[114] = ItemType.WaxedOxidizedCopper; + mappings[1309] = ItemType.WaxedOxidizedCopperBulb; + mappings[728] = ItemType.WaxedOxidizedCopperDoor; + mappings[1301] = ItemType.WaxedOxidizedCopperGrate; + mappings[748] = ItemType.WaxedOxidizedCopperTrapdoor; + mappings[122] = ItemType.WaxedOxidizedCutCopper; + mappings[130] = ItemType.WaxedOxidizedCutCopperSlab; + mappings[126] = ItemType.WaxedOxidizedCutCopperStairs; + mappings[117] = ItemType.WaxedWeatheredChiseledCopper; + mappings[113] = ItemType.WaxedWeatheredCopper; + mappings[1308] = ItemType.WaxedWeatheredCopperBulb; + mappings[727] = ItemType.WaxedWeatheredCopperDoor; + mappings[1300] = ItemType.WaxedWeatheredCopperGrate; + mappings[747] = ItemType.WaxedWeatheredCopperTrapdoor; + mappings[121] = ItemType.WaxedWeatheredCutCopper; + mappings[129] = ItemType.WaxedWeatheredCutCopperSlab; + mappings[125] = ItemType.WaxedWeatheredCutCopperStairs; + mappings[1269] = ItemType.WayfinderArmorTrimSmithingTemplate; + mappings[97] = ItemType.WeatheredChiseledCopper; + mappings[93] = ItemType.WeatheredCopper; + mappings[1304] = ItemType.WeatheredCopperBulb; + mappings[723] = ItemType.WeatheredCopperDoor; + mappings[1296] = ItemType.WeatheredCopperGrate; + mappings[743] = ItemType.WeatheredCopperTrapdoor; + mappings[101] = ItemType.WeatheredCutCopper; + mappings[109] = ItemType.WeatheredCutCopperSlab; + mappings[105] = ItemType.WeatheredCutCopperStairs; + mappings[240] = ItemType.WeepingVines; + mappings[186] = ItemType.WetSponge; + mappings[851] = ItemType.Wheat; + mappings[850] = ItemType.WheatSeeds; + mappings[1126] = ItemType.WhiteBanner; + mappings[961] = ItemType.WhiteBed; + mappings[1230] = ItemType.WhiteCandle; + mappings[445] = ItemType.WhiteCarpet; + mappings[554] = ItemType.WhiteConcrete; + mappings[570] = ItemType.WhiteConcretePowder; + mappings[941] = ItemType.WhiteDye; + mappings[538] = ItemType.WhiteGlazedTerracotta; + mappings[522] = ItemType.WhiteShulkerBox; + mappings[470] = ItemType.WhiteStainedGlass; + mappings[486] = ItemType.WhiteStainedGlassPane; + mappings[426] = ItemType.WhiteTerracotta; + mappings[224] = ItemType.WhiteTulip; + mappings[201] = ItemType.WhiteWool; + mappings[1261] = ItemType.WildArmorTrimSmithingTemplate; + mappings[1074] = ItemType.WitchSpawnEgg; + mappings[229] = ItemType.WitherRose; + mappings[1097] = ItemType.WitherSkeletonSkull; + mappings[1076] = ItemType.WitherSkeletonSpawnEgg; + mappings[1075] = ItemType.WitherSpawnEgg; + mappings[1077] = ItemType.WolfSpawnEgg; + mappings[817] = ItemType.WoodenAxe; + mappings[818] = ItemType.WoodenHoe; + mappings[816] = ItemType.WoodenPickaxe; + mappings[815] = ItemType.WoodenShovel; + mappings[814] = ItemType.WoodenSword; + mappings[1085] = ItemType.WritableBook; + mappings[1086] = ItemType.WrittenBook; + mappings[1130] = ItemType.YellowBanner; + mappings[965] = ItemType.YellowBed; + mappings[1234] = ItemType.YellowCandle; + mappings[449] = ItemType.YellowCarpet; + mappings[558] = ItemType.YellowConcrete; + mappings[574] = ItemType.YellowConcretePowder; + mappings[945] = ItemType.YellowDye; + mappings[542] = ItemType.YellowGlazedTerracotta; + mappings[526] = ItemType.YellowShulkerBox; + mappings[474] = ItemType.YellowStainedGlass; + mappings[490] = ItemType.YellowStainedGlassPane; + mappings[430] = ItemType.YellowTerracotta; + mappings[205] = ItemType.YellowWool; + mappings[1078] = ItemType.ZoglinSpawnEgg; + mappings[1099] = ItemType.ZombieHead; + mappings[1080] = ItemType.ZombieHorseSpawnEgg; + mappings[1079] = ItemType.ZombieSpawnEgg; + mappings[1081] = ItemType.ZombieVillagerSpawnEgg; + mappings[1082] = ItemType.ZombifiedPiglinSpawnEgg; + } + + protected override Dictionary GetDict() + { + return mappings; + } + } +} diff --git a/MinecraftClient/Inventory/ItemType.cs b/MinecraftClient/Inventory/ItemType.cs index d11f5320..175ebcef 100644 --- a/MinecraftClient/Inventory/ItemType.cs +++ b/MinecraftClient/Inventory/ItemType.cs @@ -154,6 +154,7 @@ BrainCoralBlock, BrainCoralFan, Bread, + BreezeSpawnEgg, BrewerPotterySherd, BrewingStand, Brick, @@ -228,6 +229,7 @@ ChickenSpawnEgg, ChippedAnvil, ChiseledBookshelf, + ChiseledCopper, ChiseledDeepslate, ChiseledNetherBricks, ChiseledPolishedBlackstone, @@ -235,6 +237,8 @@ ChiseledRedSandstone, ChiseledSandstone, ChiseledStoneBricks, + ChiseledTuff, + ChiseledTuffBricks, ChorusFlower, ChorusFruit, ChorusPlant, @@ -274,8 +278,12 @@ CookedSalmon, Cookie, CopperBlock, + CopperBulb, + CopperDoor, + CopperGrate, CopperIngot, CopperOre, + CopperTrapdoor, Cornflower, CowSpawnEgg, CrackedDeepslateBricks, @@ -283,6 +291,7 @@ CrackedNetherBricks, CrackedPolishedBlackstoneBricks, CrackedStoneBricks, + Crafter, CraftingTable, CreeperBannerPattern, CreeperHead, @@ -444,7 +453,12 @@ EvokerSpawnEgg, ExperienceBottle, ExplorerPotterySherd, + ExposedChiseledCopper, ExposedCopper, + ExposedCopperBulb, + ExposedCopperDoor, + ExposedCopperGrate, + ExposedCopperTrapdoor, ExposedCutCopper, ExposedCutCopperSlab, ExposedCutCopperStairs, @@ -511,7 +525,7 @@ GraniteSlab, GraniteStairs, GraniteWall, - Grass, + Grass, // 1.20.3+ renamed to ShortGrass GrassBlock, Gravel, GrayBanner, @@ -826,7 +840,12 @@ OrangeTulip, OrangeWool, OxeyeDaisy, + OxidizedChiseledCopper, OxidizedCopper, + OxidizedCopperBulb, + OxidizedCopperDoor, + OxidizedCopperGrate, + OxidizedCopperTrapdoor, OxidizedCutCopper, OxidizedCutCopperSlab, OxidizedCutCopperStairs, @@ -895,6 +914,10 @@ PolishedGranite, PolishedGraniteSlab, PolishedGraniteStairs, + PolishedTuff, + PolishedTuffSlab, + PolishedTuffStairs, + PolishedTuffWall, PoppedChorusFruit, Poppy, Porkchop, @@ -1020,6 +1043,7 @@ SheepSpawnEgg, ShelterPotterySherd, Shield, + ShortGrass, Shroomlight, ShulkerBox, ShulkerShell, @@ -1156,6 +1180,8 @@ TotemOfUndying, TraderLlamaSpawnEgg, TrappedChest, + TrialKey, + TrialSpawner, Trident, TripwireHook, TropicalFish, @@ -1165,6 +1191,13 @@ TubeCoralBlock, TubeCoralFan, Tuff, + TuffBrickSlab, + TuffBrickStairs, + TuffBrickWall, + TuffBricks, + TuffSlab, + TuffStairs, + TuffWall, TurtleEgg, TurtleHelmet, TurtleSpawnEgg, @@ -1197,24 +1230,49 @@ WarpedTrapdoor, WarpedWartBlock, WaterBucket, + WaxedChiseledCopper, WaxedCopperBlock, + WaxedCopperBulb, + WaxedCopperDoor, + WaxedCopperGrate, + WaxedCopperTrapdoor, WaxedCutCopper, WaxedCutCopperSlab, WaxedCutCopperStairs, + WaxedExposedChiseledCopper, WaxedExposedCopper, + WaxedExposedCopperBulb, + WaxedExposedCopperDoor, + WaxedExposedCopperGrate, + WaxedExposedCopperTrapdoor, WaxedExposedCutCopper, WaxedExposedCutCopperSlab, WaxedExposedCutCopperStairs, + WaxedOxidizedChiseledCopper, WaxedOxidizedCopper, + WaxedOxidizedCopperBulb, + WaxedOxidizedCopperDoor, + WaxedOxidizedCopperGrate, + WaxedOxidizedCopperTrapdoor, WaxedOxidizedCutCopper, WaxedOxidizedCutCopperSlab, WaxedOxidizedCutCopperStairs, + WaxedWeatheredChiseledCopper, WaxedWeatheredCopper, + WaxedWeatheredCopperBulb, + WaxedWeatheredCopperDoor, + WaxedWeatheredCopperGrate, + WaxedWeatheredCopperTrapdoor, WaxedWeatheredCutCopper, WaxedWeatheredCutCopperSlab, WaxedWeatheredCutCopperStairs, WayfinderArmorTrimSmithingTemplate, + WeatheredChiseledCopper, WeatheredCopper, + WeatheredCopperBulb, + WeatheredCopperDoor, + WeatheredCopperGrate, + WeatheredCopperTrapdoor, WeatheredCutCopper, WeatheredCutCopperSlab, WeatheredCutCopperStairs, diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette1204.cs b/MinecraftClient/Mapping/BlockPalettes/Palette1204.cs new file mode 100644 index 00000000..1043ad7f --- /dev/null +++ b/MinecraftClient/Mapping/BlockPalettes/Palette1204.cs @@ -0,0 +1,1762 @@ +using System.Collections.Generic; + +namespace MinecraftClient.Mapping.BlockPalettes +{ + public class Palette1204 : BlockPalette + { + private static readonly Dictionary materials = new(); + + static Palette1204() + { + for (int i = 8707; i <= 8730; i++) + materials[i] = Material.AcaciaButton; + for (int i = 12014; i <= 12077; i++) + materials[i] = Material.AcaciaDoor; + for (int i = 11662; i <= 11693; i++) + materials[i] = Material.AcaciaFence; + for (int i = 11406; i <= 11437; i++) + materials[i] = Material.AcaciaFenceGate; + for (int i = 5026; i <= 5089; i++) + materials[i] = Material.AcaciaHangingSign; + for (int i = 349; i <= 376; i++) + materials[i] = Material.AcaciaLeaves; + for (int i = 142; i <= 144; i++) + materials[i] = Material.AcaciaLog; + materials[19] = Material.AcaciaPlanks; + for (int i = 5724; i <= 5725; i++) + materials[i] = Material.AcaciaPressurePlate; + for (int i = 33; i <= 34; i++) + materials[i] = Material.AcaciaSapling; + for (int i = 4398; i <= 4429; i++) + materials[i] = Material.AcaciaSign; + for (int i = 11186; i <= 11191; i++) + materials[i] = Material.AcaciaSlab; + for (int i = 9884; i <= 9963; i++) + materials[i] = Material.AcaciaStairs; + for (int i = 6217; i <= 6280; i++) + materials[i] = Material.AcaciaTrapdoor; + for (int i = 5562; i <= 5569; i++) + materials[i] = Material.AcaciaWallHangingSign; + for (int i = 4786; i <= 4793; i++) + materials[i] = Material.AcaciaWallSign; + for (int i = 201; i <= 203; i++) + materials[i] = Material.AcaciaWood; + for (int i = 9320; i <= 9343; i++) + materials[i] = Material.ActivatorRail; + materials[0] = Material.Air; + materials[2079] = Material.Allium; + materials[21031] = Material.AmethystBlock; + for (int i = 21033; i <= 21044; i++) + materials[i] = Material.AmethystCluster; + materials[19448] = Material.AncientDebris; + materials[6] = Material.Andesite; + for (int i = 14136; i <= 14141; i++) + materials[i] = Material.AndesiteSlab; + for (int i = 13762; i <= 13841; i++) + materials[i] = Material.AndesiteStairs; + for (int i = 16752; i <= 17075; i++) + materials[i] = Material.AndesiteWall; + for (int i = 9107; i <= 9110; i++) + materials[i] = Material.Anvil; + for (int i = 6817; i <= 6820; i++) + materials[i] = Material.AttachedMelonStem; + for (int i = 6813; i <= 6816; i++) + materials[i] = Material.AttachedPumpkinStem; + materials[24824] = Material.Azalea; + for (int i = 461; i <= 488; i++) + materials[i] = Material.AzaleaLeaves; + materials[2080] = Material.AzureBluet; + for (int i = 12945; i <= 12956; i++) + materials[i] = Material.Bamboo; + for (int i = 159; i <= 161; i++) + materials[i] = Material.BambooBlock; + for (int i = 8803; i <= 8826; i++) + materials[i] = Material.BambooButton; + for (int i = 12270; i <= 12333; i++) + materials[i] = Material.BambooDoor; + for (int i = 11790; i <= 11821; i++) + materials[i] = Material.BambooFence; + for (int i = 11534; i <= 11565; i++) + materials[i] = Material.BambooFenceGate; + for (int i = 5474; i <= 5537; i++) + materials[i] = Material.BambooHangingSign; + materials[24] = Material.BambooMosaic; + for (int i = 11216; i <= 11221; i++) + materials[i] = Material.BambooMosaicSlab; + for (int i = 10284; i <= 10363; i++) + materials[i] = Material.BambooMosaicStairs; + materials[23] = Material.BambooPlanks; + for (int i = 5732; i <= 5733; i++) + materials[i] = Material.BambooPressurePlate; + materials[12944] = Material.BambooSapling; + for (int i = 4558; i <= 4589; i++) + materials[i] = Material.BambooSign; + for (int i = 11210; i <= 11215; i++) + materials[i] = Material.BambooSlab; + for (int i = 10204; i <= 10283; i++) + materials[i] = Material.BambooStairs; + for (int i = 6473; i <= 6536; i++) + materials[i] = Material.BambooTrapdoor; + for (int i = 5618; i <= 5625; i++) + materials[i] = Material.BambooWallHangingSign; + for (int i = 4826; i <= 4833; i++) + materials[i] = Material.BambooWallSign; + for (int i = 18408; i <= 18419; i++) + materials[i] = Material.Barrel; + for (int i = 10365; i <= 10366; i++) + materials[i] = Material.Barrier; + for (int i = 5852; i <= 5854; i++) + materials[i] = Material.Basalt; + materials[7918] = Material.Beacon; + materials[79] = Material.Bedrock; + for (int i = 19397; i <= 19420; i++) + materials[i] = Material.BeeNest; + for (int i = 19421; i <= 19444; i++) + materials[i] = Material.Beehive; + for (int i = 12509; i <= 12512; i++) + materials[i] = Material.Beetroots; + for (int i = 18471; i <= 18502; i++) + materials[i] = Material.Bell; + for (int i = 24844; i <= 24875; i++) + materials[i] = Material.BigDripleaf; + for (int i = 24876; i <= 24883; i++) + materials[i] = Material.BigDripleafStem; + for (int i = 8659; i <= 8682; i++) + materials[i] = Material.BirchButton; + for (int i = 11886; i <= 11949; i++) + materials[i] = Material.BirchDoor; + for (int i = 11598; i <= 11629; i++) + materials[i] = Material.BirchFence; + for (int i = 11342; i <= 11373; i++) + materials[i] = Material.BirchFenceGate; + for (int i = 4962; i <= 5025; i++) + materials[i] = Material.BirchHangingSign; + for (int i = 293; i <= 320; i++) + materials[i] = Material.BirchLeaves; + for (int i = 136; i <= 138; i++) + materials[i] = Material.BirchLog; + materials[17] = Material.BirchPlanks; + for (int i = 5720; i <= 5721; i++) + materials[i] = Material.BirchPressurePlate; + for (int i = 29; i <= 30; i++) + materials[i] = Material.BirchSapling; + for (int i = 4366; i <= 4397; i++) + materials[i] = Material.BirchSign; + for (int i = 11174; i <= 11179; i++) + materials[i] = Material.BirchSlab; + for (int i = 7746; i <= 7825; i++) + materials[i] = Material.BirchStairs; + for (int i = 6089; i <= 6152; i++) + materials[i] = Material.BirchTrapdoor; + for (int i = 5554; i <= 5561; i++) + materials[i] = Material.BirchWallHangingSign; + for (int i = 4778; i <= 4785; i++) + materials[i] = Material.BirchWallSign; + for (int i = 195; i <= 197; i++) + materials[i] = Material.BirchWood; + for (int i = 10999; i <= 11014; i++) + materials[i] = Material.BlackBanner; + for (int i = 1928; i <= 1943; i++) + materials[i] = Material.BlackBed; + for (int i = 20981; i <= 20996; i++) + materials[i] = Material.BlackCandle; + for (int i = 21029; i <= 21030; i++) + materials[i] = Material.BlackCandleCake; + materials[10743] = Material.BlackCarpet; + materials[12743] = Material.BlackConcrete; + materials[12759] = Material.BlackConcretePowder; + for (int i = 12724; i <= 12727; i++) + materials[i] = Material.BlackGlazedTerracotta; + for (int i = 12658; i <= 12663; i++) + materials[i] = Material.BlackShulkerBox; + materials[5960] = Material.BlackStainedGlass; + for (int i = 9852; i <= 9883; i++) + materials[i] = Material.BlackStainedGlassPane; + materials[9371] = Material.BlackTerracotta; + for (int i = 11075; i <= 11078; i++) + materials[i] = Material.BlackWallBanner; + materials[2062] = Material.BlackWool; + materials[19460] = Material.Blackstone; + for (int i = 19865; i <= 19870; i++) + materials[i] = Material.BlackstoneSlab; + for (int i = 19461; i <= 19540; i++) + materials[i] = Material.BlackstoneStairs; + for (int i = 19541; i <= 19864; i++) + materials[i] = Material.BlackstoneWall; + for (int i = 18428; i <= 18435; i++) + materials[i] = Material.BlastFurnace; + for (int i = 10935; i <= 10950; i++) + materials[i] = Material.BlueBanner; + for (int i = 1864; i <= 1879; i++) + materials[i] = Material.BlueBed; + for (int i = 20917; i <= 20932; i++) + materials[i] = Material.BlueCandle; + for (int i = 21021; i <= 21022; i++) + materials[i] = Material.BlueCandleCake; + materials[10739] = Material.BlueCarpet; + materials[12739] = Material.BlueConcrete; + materials[12755] = Material.BlueConcretePowder; + for (int i = 12708; i <= 12711; i++) + materials[i] = Material.BlueGlazedTerracotta; + materials[12941] = Material.BlueIce; + materials[2078] = Material.BlueOrchid; + for (int i = 12634; i <= 12639; i++) + materials[i] = Material.BlueShulkerBox; + materials[5956] = Material.BlueStainedGlass; + for (int i = 9724; i <= 9755; i++) + materials[i] = Material.BlueStainedGlassPane; + materials[9367] = Material.BlueTerracotta; + for (int i = 11059; i <= 11062; i++) + materials[i] = Material.BlueWallBanner; + materials[2058] = Material.BlueWool; + for (int i = 12546; i <= 12548; i++) + materials[i] = Material.BoneBlock; + materials[2096] = Material.Bookshelf; + for (int i = 12825; i <= 12826; i++) + materials[i] = Material.BrainCoral; + materials[12809] = Material.BrainCoralBlock; + for (int i = 12845; i <= 12846; i++) + materials[i] = Material.BrainCoralFan; + for (int i = 12901; i <= 12908; i++) + materials[i] = Material.BrainCoralWallFan; + for (int i = 7390; i <= 7397; i++) + materials[i] = Material.BrewingStand; + for (int i = 11258; i <= 11263; i++) + materials[i] = Material.BrickSlab; + for (int i = 7029; i <= 7108; i++) + materials[i] = Material.BrickStairs; + for (int i = 14160; i <= 14483; i++) + materials[i] = Material.BrickWall; + materials[2093] = Material.Bricks; + for (int i = 10951; i <= 10966; i++) + materials[i] = Material.BrownBanner; + for (int i = 1880; i <= 1895; i++) + materials[i] = Material.BrownBed; + for (int i = 20933; i <= 20948; i++) + materials[i] = Material.BrownCandle; + for (int i = 21023; i <= 21024; i++) + materials[i] = Material.BrownCandleCake; + materials[10740] = Material.BrownCarpet; + materials[12740] = Material.BrownConcrete; + materials[12756] = Material.BrownConcretePowder; + for (int i = 12712; i <= 12715; i++) + materials[i] = Material.BrownGlazedTerracotta; + materials[2089] = Material.BrownMushroom; + for (int i = 6549; i <= 6612; i++) + materials[i] = Material.BrownMushroomBlock; + for (int i = 12640; i <= 12645; i++) + materials[i] = Material.BrownShulkerBox; + materials[5957] = Material.BrownStainedGlass; + for (int i = 9756; i <= 9787; i++) + materials[i] = Material.BrownStainedGlassPane; + materials[9368] = Material.BrownTerracotta; + for (int i = 11063; i <= 11066; i++) + materials[i] = Material.BrownWallBanner; + materials[2059] = Material.BrownWool; + for (int i = 12960; i <= 12961; i++) + materials[i] = Material.BubbleColumn; + for (int i = 12827; i <= 12828; i++) + materials[i] = Material.BubbleCoral; + materials[12810] = Material.BubbleCoralBlock; + for (int i = 12847; i <= 12848; i++) + materials[i] = Material.BubbleCoralFan; + for (int i = 12909; i <= 12916; i++) + materials[i] = Material.BubbleCoralWallFan; + materials[21032] = Material.BuddingAmethyst; + for (int i = 5782; i <= 5797; i++) + materials[i] = Material.Cactus; + for (int i = 5874; i <= 5880; i++) + materials[i] = Material.Cake; + materials[22316] = Material.Calcite; + for (int i = 22415; i <= 22798; i++) + materials[i] = Material.CalibratedSculkSensor; + for (int i = 18511; i <= 18542; i++) + materials[i] = Material.Campfire; + for (int i = 20725; i <= 20740; i++) + materials[i] = Material.Candle; + for (int i = 20997; i <= 20998; i++) + materials[i] = Material.CandleCake; + for (int i = 8595; i <= 8602; i++) + materials[i] = Material.Carrots; + materials[18436] = Material.CartographyTable; + for (int i = 5866; i <= 5869; i++) + materials[i] = Material.CarvedPumpkin; + materials[7398] = Material.Cauldron; + materials[12959] = Material.CaveAir; + for (int i = 24769; i <= 24820; i++) + materials[i] = Material.CaveVines; + for (int i = 24821; i <= 24822; i++) + materials[i] = Material.CaveVinesPlant; + for (int i = 6773; i <= 6778; i++) + materials[i] = Material.Chain; + for (int i = 12527; i <= 12538; i++) + materials[i] = Material.ChainCommandBlock; + for (int i = 8731; i <= 8754; i++) + materials[i] = Material.CherryButton; + for (int i = 12078; i <= 12141; i++) + materials[i] = Material.CherryDoor; + for (int i = 11694; i <= 11725; i++) + materials[i] = Material.CherryFence; + for (int i = 11438; i <= 11469; i++) + materials[i] = Material.CherryFenceGate; + for (int i = 5090; i <= 5153; i++) + materials[i] = Material.CherryHangingSign; + for (int i = 377; i <= 404; i++) + materials[i] = Material.CherryLeaves; + for (int i = 145; i <= 147; i++) + materials[i] = Material.CherryLog; + materials[20] = Material.CherryPlanks; + for (int i = 5726; i <= 5727; i++) + materials[i] = Material.CherryPressurePlate; + for (int i = 35; i <= 36; i++) + materials[i] = Material.CherrySapling; + for (int i = 4430; i <= 4461; i++) + materials[i] = Material.CherrySign; + for (int i = 11192; i <= 11197; i++) + materials[i] = Material.CherrySlab; + for (int i = 9964; i <= 10043; i++) + materials[i] = Material.CherryStairs; + for (int i = 6281; i <= 6344; i++) + materials[i] = Material.CherryTrapdoor; + for (int i = 5570; i <= 5577; i++) + materials[i] = Material.CherryWallHangingSign; + for (int i = 4794; i <= 4801; i++) + materials[i] = Material.CherryWallSign; + for (int i = 204; i <= 206; i++) + materials[i] = Material.CherryWood; + for (int i = 2954; i <= 2977; i++) + materials[i] = Material.Chest; + for (int i = 9111; i <= 9114; i++) + materials[i] = Material.ChippedAnvil; + for (int i = 2097; i <= 2352; i++) + materials[i] = Material.ChiseledBookshelf; + materials[22951] = Material.ChiseledCopper; + materials[26551] = Material.ChiseledDeepslate; + materials[20722] = Material.ChiseledNetherBricks; + materials[19874] = Material.ChiseledPolishedBlackstone; + materials[9236] = Material.ChiseledQuartzBlock; + materials[11080] = Material.ChiseledRedSandstone; + materials[536] = Material.ChiseledSandstone; + materials[6540] = Material.ChiseledStoneBricks; + materials[21903] = Material.ChiseledTuff; + materials[22315] = Material.ChiseledTuffBricks; + for (int i = 12404; i <= 12409; i++) + materials[i] = Material.ChorusFlower; + for (int i = 12340; i <= 12403; i++) + materials[i] = Material.ChorusPlant; + materials[5798] = Material.Clay; + materials[10745] = Material.CoalBlock; + materials[127] = Material.CoalOre; + materials[11] = Material.CoarseDirt; + materials[24907] = Material.CobbledDeepslate; + for (int i = 24988; i <= 24993; i++) + materials[i] = Material.CobbledDeepslateSlab; + for (int i = 24908; i <= 24987; i++) + materials[i] = Material.CobbledDeepslateStairs; + for (int i = 24994; i <= 25317; i++) + materials[i] = Material.CobbledDeepslateWall; + materials[14] = Material.Cobblestone; + for (int i = 11252; i <= 11257; i++) + materials[i] = Material.CobblestoneSlab; + for (int i = 4682; i <= 4761; i++) + materials[i] = Material.CobblestoneStairs; + for (int i = 7919; i <= 8242; i++) + materials[i] = Material.CobblestoneWall; + materials[2004] = Material.Cobweb; + for (int i = 7419; i <= 7430; i++) + materials[i] = Material.Cocoa; + for (int i = 7906; i <= 7917; i++) + materials[i] = Material.CommandBlock; + for (int i = 9175; i <= 9190; i++) + materials[i] = Material.Comparator; + for (int i = 19372; i <= 19380; i++) + materials[i] = Material.Composter; + for (int i = 12942; i <= 12943; i++) + materials[i] = Material.Conduit; + materials[22938] = Material.CopperBlock; + for (int i = 24692; i <= 24695; i++) + materials[i] = Material.CopperBulb; + for (int i = 23652; i <= 23715; i++) + materials[i] = Material.CopperDoor; + for (int i = 24676; i <= 24677; i++) + materials[i] = Material.CopperGrate; + materials[22942] = Material.CopperOre; + for (int i = 24164; i <= 24227; i++) + materials[i] = Material.CopperTrapdoor; + materials[2086] = Material.Cornflower; + materials[26552] = Material.CrackedDeepslateBricks; + materials[26553] = Material.CrackedDeepslateTiles; + materials[20723] = Material.CrackedNetherBricks; + materials[19873] = Material.CrackedPolishedBlackstoneBricks; + materials[6539] = Material.CrackedStoneBricks; + for (int i = 26590; i <= 26637; i++) + materials[i] = Material.Crafter; + materials[4277] = Material.CraftingTable; + for (int i = 8987; i <= 9018; i++) + materials[i] = Material.CreeperHead; + for (int i = 9019; i <= 9026; i++) + materials[i] = Material.CreeperWallHead; + for (int i = 19100; i <= 19123; i++) + materials[i] = Material.CrimsonButton; + for (int i = 19148; i <= 19211; i++) + materials[i] = Material.CrimsonDoor; + for (int i = 18684; i <= 18715; i++) + materials[i] = Material.CrimsonFence; + for (int i = 18876; i <= 18907; i++) + materials[i] = Material.CrimsonFenceGate; + materials[18609] = Material.CrimsonFungus; + for (int i = 5282; i <= 5345; i++) + materials[i] = Material.CrimsonHangingSign; + for (int i = 18602; i <= 18604; i++) + materials[i] = Material.CrimsonHyphae; + materials[18608] = Material.CrimsonNylium; + materials[18666] = Material.CrimsonPlanks; + for (int i = 18680; i <= 18681; i++) + materials[i] = Material.CrimsonPressurePlate; + materials[18665] = Material.CrimsonRoots; + for (int i = 19276; i <= 19307; i++) + materials[i] = Material.CrimsonSign; + for (int i = 18668; i <= 18673; i++) + materials[i] = Material.CrimsonSlab; + for (int i = 18940; i <= 19019; i++) + materials[i] = Material.CrimsonStairs; + for (int i = 18596; i <= 18598; i++) + materials[i] = Material.CrimsonStem; + for (int i = 18748; i <= 18811; i++) + materials[i] = Material.CrimsonTrapdoor; + for (int i = 5602; i <= 5609; i++) + materials[i] = Material.CrimsonWallHangingSign; + for (int i = 19340; i <= 19347; i++) + materials[i] = Material.CrimsonWallSign; + materials[19449] = Material.CryingObsidian; + materials[22947] = Material.CutCopper; + for (int i = 23294; i <= 23299; i++) + materials[i] = Material.CutCopperSlab; + for (int i = 23196; i <= 23275; i++) + materials[i] = Material.CutCopperStairs; + materials[11081] = Material.CutRedSandstone; + for (int i = 11294; i <= 11299; i++) + materials[i] = Material.CutRedSandstoneSlab; + materials[537] = Material.CutSandstone; + for (int i = 11240; i <= 11245; i++) + materials[i] = Material.CutSandstoneSlab; + for (int i = 10903; i <= 10918; i++) + materials[i] = Material.CyanBanner; + for (int i = 1832; i <= 1847; i++) + materials[i] = Material.CyanBed; + for (int i = 20885; i <= 20900; i++) + materials[i] = Material.CyanCandle; + for (int i = 21017; i <= 21018; i++) + materials[i] = Material.CyanCandleCake; + materials[10737] = Material.CyanCarpet; + materials[12737] = Material.CyanConcrete; + materials[12753] = Material.CyanConcretePowder; + for (int i = 12700; i <= 12703; i++) + materials[i] = Material.CyanGlazedTerracotta; + for (int i = 12622; i <= 12627; i++) + materials[i] = Material.CyanShulkerBox; + materials[5954] = Material.CyanStainedGlass; + for (int i = 9660; i <= 9691; i++) + materials[i] = Material.CyanStainedGlassPane; + materials[9365] = Material.CyanTerracotta; + for (int i = 11051; i <= 11054; i++) + materials[i] = Material.CyanWallBanner; + materials[2056] = Material.CyanWool; + for (int i = 9115; i <= 9118; i++) + materials[i] = Material.DamagedAnvil; + materials[2075] = Material.Dandelion; + for (int i = 8755; i <= 8778; i++) + materials[i] = Material.DarkOakButton; + for (int i = 12142; i <= 12205; i++) + materials[i] = Material.DarkOakDoor; + for (int i = 11726; i <= 11757; i++) + materials[i] = Material.DarkOakFence; + for (int i = 11470; i <= 11501; i++) + materials[i] = Material.DarkOakFenceGate; + for (int i = 5218; i <= 5281; i++) + materials[i] = Material.DarkOakHangingSign; + for (int i = 405; i <= 432; i++) + materials[i] = Material.DarkOakLeaves; + for (int i = 148; i <= 150; i++) + materials[i] = Material.DarkOakLog; + materials[21] = Material.DarkOakPlanks; + for (int i = 5728; i <= 5729; i++) + materials[i] = Material.DarkOakPressurePlate; + for (int i = 37; i <= 38; i++) + materials[i] = Material.DarkOakSapling; + for (int i = 4494; i <= 4525; i++) + materials[i] = Material.DarkOakSign; + for (int i = 11198; i <= 11203; i++) + materials[i] = Material.DarkOakSlab; + for (int i = 10044; i <= 10123; i++) + materials[i] = Material.DarkOakStairs; + for (int i = 6345; i <= 6408; i++) + materials[i] = Material.DarkOakTrapdoor; + for (int i = 5586; i <= 5593; i++) + materials[i] = Material.DarkOakWallHangingSign; + for (int i = 4810; i <= 4817; i++) + materials[i] = Material.DarkOakWallSign; + for (int i = 207; i <= 209; i++) + materials[i] = Material.DarkOakWood; + materials[10465] = Material.DarkPrismarine; + for (int i = 10718; i <= 10723; i++) + materials[i] = Material.DarkPrismarineSlab; + for (int i = 10626; i <= 10705; i++) + materials[i] = Material.DarkPrismarineStairs; + for (int i = 9191; i <= 9222; i++) + materials[i] = Material.DaylightDetector; + for (int i = 12815; i <= 12816; i++) + materials[i] = Material.DeadBrainCoral; + materials[12804] = Material.DeadBrainCoralBlock; + for (int i = 12835; i <= 12836; i++) + materials[i] = Material.DeadBrainCoralFan; + for (int i = 12861; i <= 12868; i++) + materials[i] = Material.DeadBrainCoralWallFan; + for (int i = 12817; i <= 12818; i++) + materials[i] = Material.DeadBubbleCoral; + materials[12805] = Material.DeadBubbleCoralBlock; + for (int i = 12837; i <= 12838; i++) + materials[i] = Material.DeadBubbleCoralFan; + for (int i = 12869; i <= 12876; i++) + materials[i] = Material.DeadBubbleCoralWallFan; + materials[2007] = Material.DeadBush; + for (int i = 12819; i <= 12820; i++) + materials[i] = Material.DeadFireCoral; + materials[12806] = Material.DeadFireCoralBlock; + for (int i = 12839; i <= 12840; i++) + materials[i] = Material.DeadFireCoralFan; + for (int i = 12877; i <= 12884; i++) + materials[i] = Material.DeadFireCoralWallFan; + for (int i = 12821; i <= 12822; i++) + materials[i] = Material.DeadHornCoral; + materials[12807] = Material.DeadHornCoralBlock; + for (int i = 12841; i <= 12842; i++) + materials[i] = Material.DeadHornCoralFan; + for (int i = 12885; i <= 12892; i++) + materials[i] = Material.DeadHornCoralWallFan; + for (int i = 12813; i <= 12814; i++) + materials[i] = Material.DeadTubeCoral; + materials[12803] = Material.DeadTubeCoralBlock; + for (int i = 12833; i <= 12834; i++) + materials[i] = Material.DeadTubeCoralFan; + for (int i = 12853; i <= 12860; i++) + materials[i] = Material.DeadTubeCoralWallFan; + for (int i = 26574; i <= 26589; i++) + materials[i] = Material.DecoratedPot; + for (int i = 24904; i <= 24906; i++) + materials[i] = Material.Deepslate; + for (int i = 26221; i <= 26226; i++) + materials[i] = Material.DeepslateBrickSlab; + for (int i = 26141; i <= 26220; i++) + materials[i] = Material.DeepslateBrickStairs; + for (int i = 26227; i <= 26550; i++) + materials[i] = Material.DeepslateBrickWall; + materials[26140] = Material.DeepslateBricks; + materials[128] = Material.DeepslateCoalOre; + materials[22943] = Material.DeepslateCopperOre; + materials[4275] = Material.DeepslateDiamondOre; + materials[7512] = Material.DeepslateEmeraldOre; + materials[124] = Material.DeepslateGoldOre; + materials[126] = Material.DeepslateIronOre; + materials[521] = Material.DeepslateLapisOre; + for (int i = 5736; i <= 5737; i++) + materials[i] = Material.DeepslateRedstoneOre; + for (int i = 25810; i <= 25815; i++) + materials[i] = Material.DeepslateTileSlab; + for (int i = 25730; i <= 25809; i++) + materials[i] = Material.DeepslateTileStairs; + for (int i = 25816; i <= 26139; i++) + materials[i] = Material.DeepslateTileWall; + materials[25729] = Material.DeepslateTiles; + for (int i = 1968; i <= 1991; i++) + materials[i] = Material.DetectorRail; + materials[4276] = Material.DiamondBlock; + materials[4274] = Material.DiamondOre; + materials[4] = Material.Diorite; + for (int i = 14154; i <= 14159; i++) + materials[i] = Material.DioriteSlab; + for (int i = 14002; i <= 14081; i++) + materials[i] = Material.DioriteStairs; + for (int i = 18048; i <= 18371; i++) + materials[i] = Material.DioriteWall; + materials[10] = Material.Dirt; + materials[12513] = Material.DirtPath; + for (int i = 523; i <= 534; i++) + materials[i] = Material.Dispenser; + materials[7416] = Material.DragonEgg; + for (int i = 9027; i <= 9058; i++) + materials[i] = Material.DragonHead; + for (int i = 9059; i <= 9066; i++) + materials[i] = Material.DragonWallHead; + materials[12787] = Material.DriedKelpBlock; + materials[24768] = Material.DripstoneBlock; + for (int i = 9344; i <= 9355; i++) + materials[i] = Material.Dropper; + materials[7665] = Material.EmeraldBlock; + materials[7511] = Material.EmeraldOre; + materials[7389] = Material.EnchantingTable; + materials[12514] = Material.EndGateway; + materials[7406] = Material.EndPortal; + for (int i = 7407; i <= 7414; i++) + materials[i] = Material.EndPortalFrame; + for (int i = 12334; i <= 12339; i++) + materials[i] = Material.EndRod; + materials[7415] = Material.EndStone; + for (int i = 14112; i <= 14117; i++) + materials[i] = Material.EndStoneBrickSlab; + for (int i = 13362; i <= 13441; i++) + materials[i] = Material.EndStoneBrickStairs; + for (int i = 17724; i <= 18047; i++) + materials[i] = Material.EndStoneBrickWall; + materials[12494] = Material.EndStoneBricks; + for (int i = 7513; i <= 7520; i++) + materials[i] = Material.EnderChest; + materials[22950] = Material.ExposedChiseledCopper; + materials[22939] = Material.ExposedCopper; + for (int i = 24696; i <= 24699; i++) + materials[i] = Material.ExposedCopperBulb; + for (int i = 23716; i <= 23779; i++) + materials[i] = Material.ExposedCopperDoor; + for (int i = 24678; i <= 24679; i++) + materials[i] = Material.ExposedCopperGrate; + for (int i = 24228; i <= 24291; i++) + materials[i] = Material.ExposedCopperTrapdoor; + materials[22946] = Material.ExposedCutCopper; + for (int i = 23288; i <= 23293; i++) + materials[i] = Material.ExposedCutCopperSlab; + for (int i = 23116; i <= 23195; i++) + materials[i] = Material.ExposedCutCopperStairs; + for (int i = 4286; i <= 4293; i++) + materials[i] = Material.Farmland; + materials[2006] = Material.Fern; + for (int i = 2360; i <= 2871; i++) + materials[i] = Material.Fire; + for (int i = 12829; i <= 12830; i++) + materials[i] = Material.FireCoral; + materials[12811] = Material.FireCoralBlock; + for (int i = 12849; i <= 12850; i++) + materials[i] = Material.FireCoralFan; + for (int i = 12917; i <= 12924; i++) + materials[i] = Material.FireCoralWallFan; + materials[18437] = Material.FletchingTable; + materials[8567] = Material.FlowerPot; + materials[24825] = Material.FloweringAzalea; + for (int i = 489; i <= 516; i++) + materials[i] = Material.FloweringAzaleaLeaves; + materials[26572] = Material.Frogspawn; + for (int i = 12539; i <= 12542; i++) + materials[i] = Material.FrostedIce; + for (int i = 4294; i <= 4301; i++) + materials[i] = Material.Furnace; + materials[20285] = Material.GildedBlackstone; + materials[519] = Material.Glass; + for (int i = 6779; i <= 6810; i++) + materials[i] = Material.GlassPane; + for (int i = 6869; i <= 6996; i++) + materials[i] = Material.GlowLichen; + materials[5863] = Material.Glowstone; + materials[2091] = Material.GoldBlock; + materials[123] = Material.GoldOre; + materials[2] = Material.Granite; + for (int i = 14130; i <= 14135; i++) + materials[i] = Material.GraniteSlab; + for (int i = 13682; i <= 13761; i++) + materials[i] = Material.GraniteStairs; + for (int i = 15456; i <= 15779; i++) + materials[i] = Material.GraniteWall; + for (int i = 8; i <= 9; i++) + materials[i] = Material.GrassBlock; + materials[118] = Material.Gravel; + for (int i = 10871; i <= 10886; i++) + materials[i] = Material.GrayBanner; + for (int i = 1800; i <= 1815; i++) + materials[i] = Material.GrayBed; + for (int i = 20853; i <= 20868; i++) + materials[i] = Material.GrayCandle; + for (int i = 21013; i <= 21014; i++) + materials[i] = Material.GrayCandleCake; + materials[10735] = Material.GrayCarpet; + materials[12735] = Material.GrayConcrete; + materials[12751] = Material.GrayConcretePowder; + for (int i = 12692; i <= 12695; i++) + materials[i] = Material.GrayGlazedTerracotta; + for (int i = 12610; i <= 12615; i++) + materials[i] = Material.GrayShulkerBox; + materials[5952] = Material.GrayStainedGlass; + for (int i = 9596; i <= 9627; i++) + materials[i] = Material.GrayStainedGlassPane; + materials[9363] = Material.GrayTerracotta; + for (int i = 11043; i <= 11046; i++) + materials[i] = Material.GrayWallBanner; + materials[2054] = Material.GrayWool; + for (int i = 10967; i <= 10982; i++) + materials[i] = Material.GreenBanner; + for (int i = 1896; i <= 1911; i++) + materials[i] = Material.GreenBed; + for (int i = 20949; i <= 20964; i++) + materials[i] = Material.GreenCandle; + for (int i = 21025; i <= 21026; i++) + materials[i] = Material.GreenCandleCake; + materials[10741] = Material.GreenCarpet; + materials[12741] = Material.GreenConcrete; + materials[12757] = Material.GreenConcretePowder; + for (int i = 12716; i <= 12719; i++) + materials[i] = Material.GreenGlazedTerracotta; + for (int i = 12646; i <= 12651; i++) + materials[i] = Material.GreenShulkerBox; + materials[5958] = Material.GreenStainedGlass; + for (int i = 9788; i <= 9819; i++) + materials[i] = Material.GreenStainedGlassPane; + materials[9369] = Material.GreenTerracotta; + for (int i = 11067; i <= 11070; i++) + materials[i] = Material.GreenWallBanner; + materials[2060] = Material.GreenWool; + for (int i = 18438; i <= 18449; i++) + materials[i] = Material.Grindstone; + for (int i = 24900; i <= 24901; i++) + materials[i] = Material.HangingRoots; + for (int i = 10725; i <= 10727; i++) + materials[i] = Material.HayBlock; + for (int i = 9159; i <= 9174; i++) + materials[i] = Material.HeavyWeightedPressurePlate; + materials[19445] = Material.HoneyBlock; + materials[19446] = Material.HoneycombBlock; + for (int i = 9225; i <= 9234; i++) + materials[i] = Material.Hopper; + for (int i = 12831; i <= 12832; i++) + materials[i] = Material.HornCoral; + materials[12812] = Material.HornCoralBlock; + for (int i = 12851; i <= 12852; i++) + materials[i] = Material.HornCoralFan; + for (int i = 12925; i <= 12932; i++) + materials[i] = Material.HornCoralWallFan; + materials[5780] = Material.Ice; + materials[6548] = Material.InfestedChiseledStoneBricks; + materials[6544] = Material.InfestedCobblestone; + materials[6547] = Material.InfestedCrackedStoneBricks; + for (int i = 26554; i <= 26556; i++) + materials[i] = Material.InfestedDeepslate; + materials[6546] = Material.InfestedMossyStoneBricks; + materials[6543] = Material.InfestedStone; + materials[6545] = Material.InfestedStoneBricks; + for (int i = 6741; i <= 6772; i++) + materials[i] = Material.IronBars; + materials[2092] = Material.IronBlock; + for (int i = 5652; i <= 5715; i++) + materials[i] = Material.IronDoor; + materials[125] = Material.IronOre; + for (int i = 10399; i <= 10462; i++) + materials[i] = Material.IronTrapdoor; + for (int i = 5870; i <= 5873; i++) + materials[i] = Material.JackOLantern; + for (int i = 19360; i <= 19371; i++) + materials[i] = Material.Jigsaw; + for (int i = 5815; i <= 5816; i++) + materials[i] = Material.Jukebox; + for (int i = 8683; i <= 8706; i++) + materials[i] = Material.JungleButton; + for (int i = 11950; i <= 12013; i++) + materials[i] = Material.JungleDoor; + for (int i = 11630; i <= 11661; i++) + materials[i] = Material.JungleFence; + for (int i = 11374; i <= 11405; i++) + materials[i] = Material.JungleFenceGate; + for (int i = 5154; i <= 5217; i++) + materials[i] = Material.JungleHangingSign; + for (int i = 321; i <= 348; i++) + materials[i] = Material.JungleLeaves; + for (int i = 139; i <= 141; i++) + materials[i] = Material.JungleLog; + materials[18] = Material.JunglePlanks; + for (int i = 5722; i <= 5723; i++) + materials[i] = Material.JunglePressurePlate; + for (int i = 31; i <= 32; i++) + materials[i] = Material.JungleSapling; + for (int i = 4462; i <= 4493; i++) + materials[i] = Material.JungleSign; + for (int i = 11180; i <= 11185; i++) + materials[i] = Material.JungleSlab; + for (int i = 7826; i <= 7905; i++) + materials[i] = Material.JungleStairs; + for (int i = 6153; i <= 6216; i++) + materials[i] = Material.JungleTrapdoor; + for (int i = 5578; i <= 5585; i++) + materials[i] = Material.JungleWallHangingSign; + for (int i = 4802; i <= 4809; i++) + materials[i] = Material.JungleWallSign; + for (int i = 198; i <= 200; i++) + materials[i] = Material.JungleWood; + for (int i = 12760; i <= 12785; i++) + materials[i] = Material.Kelp; + materials[12786] = Material.KelpPlant; + for (int i = 4654; i <= 4661; i++) + materials[i] = Material.Ladder; + for (int i = 18503; i <= 18506; i++) + materials[i] = Material.Lantern; + materials[522] = Material.LapisBlock; + materials[520] = Material.LapisOre; + for (int i = 21045; i <= 21056; i++) + materials[i] = Material.LargeAmethystBud; + for (int i = 10757; i <= 10758; i++) + materials[i] = Material.LargeFern; + for (int i = 96; i <= 111; i++) + materials[i] = Material.Lava; + materials[7402] = Material.LavaCauldron; + for (int i = 18450; i <= 18465; i++) + materials[i] = Material.Lectern; + for (int i = 5626; i <= 5649; i++) + materials[i] = Material.Lever; + for (int i = 10367; i <= 10398; i++) + materials[i] = Material.Light; + for (int i = 10807; i <= 10822; i++) + materials[i] = Material.LightBlueBanner; + for (int i = 1736; i <= 1751; i++) + materials[i] = Material.LightBlueBed; + for (int i = 20789; i <= 20804; i++) + materials[i] = Material.LightBlueCandle; + for (int i = 21005; i <= 21006; i++) + materials[i] = Material.LightBlueCandleCake; + materials[10731] = Material.LightBlueCarpet; + materials[12731] = Material.LightBlueConcrete; + materials[12747] = Material.LightBlueConcretePowder; + for (int i = 12676; i <= 12679; i++) + materials[i] = Material.LightBlueGlazedTerracotta; + for (int i = 12586; i <= 12591; i++) + materials[i] = Material.LightBlueShulkerBox; + materials[5948] = Material.LightBlueStainedGlass; + for (int i = 9468; i <= 9499; i++) + materials[i] = Material.LightBlueStainedGlassPane; + materials[9359] = Material.LightBlueTerracotta; + for (int i = 11027; i <= 11030; i++) + materials[i] = Material.LightBlueWallBanner; + materials[2050] = Material.LightBlueWool; + for (int i = 10887; i <= 10902; i++) + materials[i] = Material.LightGrayBanner; + for (int i = 1816; i <= 1831; i++) + materials[i] = Material.LightGrayBed; + for (int i = 20869; i <= 20884; i++) + materials[i] = Material.LightGrayCandle; + for (int i = 21015; i <= 21016; i++) + materials[i] = Material.LightGrayCandleCake; + materials[10736] = Material.LightGrayCarpet; + materials[12736] = Material.LightGrayConcrete; + materials[12752] = Material.LightGrayConcretePowder; + for (int i = 12696; i <= 12699; i++) + materials[i] = Material.LightGrayGlazedTerracotta; + for (int i = 12616; i <= 12621; i++) + materials[i] = Material.LightGrayShulkerBox; + materials[5953] = Material.LightGrayStainedGlass; + for (int i = 9628; i <= 9659; i++) + materials[i] = Material.LightGrayStainedGlassPane; + materials[9364] = Material.LightGrayTerracotta; + for (int i = 11047; i <= 11050; i++) + materials[i] = Material.LightGrayWallBanner; + materials[2055] = Material.LightGrayWool; + for (int i = 9143; i <= 9158; i++) + materials[i] = Material.LightWeightedPressurePlate; + for (int i = 24724; i <= 24747; i++) + materials[i] = Material.LightningRod; + for (int i = 10749; i <= 10750; i++) + materials[i] = Material.Lilac; + materials[2088] = Material.LilyOfTheValley; + materials[7271] = Material.LilyPad; + for (int i = 10839; i <= 10854; i++) + materials[i] = Material.LimeBanner; + for (int i = 1768; i <= 1783; i++) + materials[i] = Material.LimeBed; + for (int i = 20821; i <= 20836; i++) + materials[i] = Material.LimeCandle; + for (int i = 21009; i <= 21010; i++) + materials[i] = Material.LimeCandleCake; + materials[10733] = Material.LimeCarpet; + materials[12733] = Material.LimeConcrete; + materials[12749] = Material.LimeConcretePowder; + for (int i = 12684; i <= 12687; i++) + materials[i] = Material.LimeGlazedTerracotta; + for (int i = 12598; i <= 12603; i++) + materials[i] = Material.LimeShulkerBox; + materials[5950] = Material.LimeStainedGlass; + for (int i = 9532; i <= 9563; i++) + materials[i] = Material.LimeStainedGlassPane; + materials[9361] = Material.LimeTerracotta; + for (int i = 11035; i <= 11038; i++) + materials[i] = Material.LimeWallBanner; + materials[2052] = Material.LimeWool; + materials[19459] = Material.Lodestone; + for (int i = 18404; i <= 18407; i++) + materials[i] = Material.Loom; + for (int i = 10791; i <= 10806; i++) + materials[i] = Material.MagentaBanner; + for (int i = 1720; i <= 1735; i++) + materials[i] = Material.MagentaBed; + for (int i = 20773; i <= 20788; i++) + materials[i] = Material.MagentaCandle; + for (int i = 21003; i <= 21004; i++) + materials[i] = Material.MagentaCandleCake; + materials[10730] = Material.MagentaCarpet; + materials[12730] = Material.MagentaConcrete; + materials[12746] = Material.MagentaConcretePowder; + for (int i = 12672; i <= 12675; i++) + materials[i] = Material.MagentaGlazedTerracotta; + for (int i = 12580; i <= 12585; i++) + materials[i] = Material.MagentaShulkerBox; + materials[5947] = Material.MagentaStainedGlass; + for (int i = 9436; i <= 9467; i++) + materials[i] = Material.MagentaStainedGlassPane; + materials[9358] = Material.MagentaTerracotta; + for (int i = 11023; i <= 11026; i++) + materials[i] = Material.MagentaWallBanner; + materials[2049] = Material.MagentaWool; + materials[12543] = Material.MagmaBlock; + for (int i = 8779; i <= 8802; i++) + materials[i] = Material.MangroveButton; + for (int i = 12206; i <= 12269; i++) + materials[i] = Material.MangroveDoor; + for (int i = 11758; i <= 11789; i++) + materials[i] = Material.MangroveFence; + for (int i = 11502; i <= 11533; i++) + materials[i] = Material.MangroveFenceGate; + for (int i = 5410; i <= 5473; i++) + materials[i] = Material.MangroveHangingSign; + for (int i = 433; i <= 460; i++) + materials[i] = Material.MangroveLeaves; + for (int i = 151; i <= 153; i++) + materials[i] = Material.MangroveLog; + materials[22] = Material.MangrovePlanks; + for (int i = 5730; i <= 5731; i++) + materials[i] = Material.MangrovePressurePlate; + for (int i = 39; i <= 78; i++) + materials[i] = Material.MangrovePropagule; + for (int i = 154; i <= 155; i++) + materials[i] = Material.MangroveRoots; + for (int i = 4526; i <= 4557; i++) + materials[i] = Material.MangroveSign; + for (int i = 11204; i <= 11209; i++) + materials[i] = Material.MangroveSlab; + for (int i = 10124; i <= 10203; i++) + materials[i] = Material.MangroveStairs; + for (int i = 6409; i <= 6472; i++) + materials[i] = Material.MangroveTrapdoor; + for (int i = 5594; i <= 5601; i++) + materials[i] = Material.MangroveWallHangingSign; + for (int i = 4818; i <= 4825; i++) + materials[i] = Material.MangroveWallSign; + for (int i = 210; i <= 212; i++) + materials[i] = Material.MangroveWood; + for (int i = 21057; i <= 21068; i++) + materials[i] = Material.MediumAmethystBud; + materials[6812] = Material.Melon; + for (int i = 6829; i <= 6836; i++) + materials[i] = Material.MelonStem; + materials[24843] = Material.MossBlock; + materials[24826] = Material.MossCarpet; + materials[2353] = Material.MossyCobblestone; + for (int i = 14106; i <= 14111; i++) + materials[i] = Material.MossyCobblestoneSlab; + for (int i = 13282; i <= 13361; i++) + materials[i] = Material.MossyCobblestoneStairs; + for (int i = 8243; i <= 8566; i++) + materials[i] = Material.MossyCobblestoneWall; + for (int i = 14094; i <= 14099; i++) + materials[i] = Material.MossyStoneBrickSlab; + for (int i = 13122; i <= 13201; i++) + materials[i] = Material.MossyStoneBrickStairs; + for (int i = 15132; i <= 15455; i++) + materials[i] = Material.MossyStoneBrickWall; + materials[6538] = Material.MossyStoneBricks; + for (int i = 2063; i <= 2074; i++) + materials[i] = Material.MovingPiston; + materials[24903] = Material.Mud; + for (int i = 11270; i <= 11275; i++) + materials[i] = Material.MudBrickSlab; + for (int i = 7189; i <= 7268; i++) + materials[i] = Material.MudBrickStairs; + for (int i = 16104; i <= 16427; i++) + materials[i] = Material.MudBrickWall; + materials[6542] = Material.MudBricks; + for (int i = 156; i <= 158; i++) + materials[i] = Material.MuddyMangroveRoots; + for (int i = 6677; i <= 6740; i++) + materials[i] = Material.MushroomStem; + for (int i = 7269; i <= 7270; i++) + materials[i] = Material.Mycelium; + for (int i = 7273; i <= 7304; i++) + materials[i] = Material.NetherBrickFence; + for (int i = 11276; i <= 11281; i++) + materials[i] = Material.NetherBrickSlab; + for (int i = 7305; i <= 7384; i++) + materials[i] = Material.NetherBrickStairs; + for (int i = 16428; i <= 16751; i++) + materials[i] = Material.NetherBrickWall; + materials[7272] = Material.NetherBricks; + materials[129] = Material.NetherGoldOre; + for (int i = 5864; i <= 5865; i++) + materials[i] = Material.NetherPortal; + materials[9224] = Material.NetherQuartzOre; + materials[18595] = Material.NetherSprouts; + for (int i = 7385; i <= 7388; i++) + materials[i] = Material.NetherWart; + materials[12544] = Material.NetherWartBlock; + materials[19447] = Material.NetheriteBlock; + materials[5849] = Material.Netherrack; + for (int i = 538; i <= 1687; i++) + materials[i] = Material.NoteBlock; + for (int i = 8611; i <= 8634; i++) + materials[i] = Material.OakButton; + for (int i = 4590; i <= 4653; i++) + materials[i] = Material.OakDoor; + for (int i = 5817; i <= 5848; i++) + materials[i] = Material.OakFence; + for (int i = 6997; i <= 7028; i++) + materials[i] = Material.OakFenceGate; + for (int i = 4834; i <= 4897; i++) + materials[i] = Material.OakHangingSign; + for (int i = 237; i <= 264; i++) + materials[i] = Material.OakLeaves; + for (int i = 130; i <= 132; i++) + materials[i] = Material.OakLog; + materials[15] = Material.OakPlanks; + for (int i = 5716; i <= 5717; i++) + materials[i] = Material.OakPressurePlate; + for (int i = 25; i <= 26; i++) + materials[i] = Material.OakSapling; + for (int i = 4302; i <= 4333; i++) + materials[i] = Material.OakSign; + for (int i = 11162; i <= 11167; i++) + materials[i] = Material.OakSlab; + for (int i = 2874; i <= 2953; i++) + materials[i] = Material.OakStairs; + for (int i = 5961; i <= 6024; i++) + materials[i] = Material.OakTrapdoor; + for (int i = 5538; i <= 5545; i++) + materials[i] = Material.OakWallHangingSign; + for (int i = 4762; i <= 4769; i++) + materials[i] = Material.OakWallSign; + for (int i = 189; i <= 191; i++) + materials[i] = Material.OakWood; + for (int i = 12550; i <= 12561; i++) + materials[i] = Material.Observer; + materials[2354] = Material.Obsidian; + for (int i = 26563; i <= 26565; i++) + materials[i] = Material.OchreFroglight; + for (int i = 10775; i <= 10790; i++) + materials[i] = Material.OrangeBanner; + for (int i = 1704; i <= 1719; i++) + materials[i] = Material.OrangeBed; + for (int i = 20757; i <= 20772; i++) + materials[i] = Material.OrangeCandle; + for (int i = 21001; i <= 21002; i++) + materials[i] = Material.OrangeCandleCake; + materials[10729] = Material.OrangeCarpet; + materials[12729] = Material.OrangeConcrete; + materials[12745] = Material.OrangeConcretePowder; + for (int i = 12668; i <= 12671; i++) + materials[i] = Material.OrangeGlazedTerracotta; + for (int i = 12574; i <= 12579; i++) + materials[i] = Material.OrangeShulkerBox; + materials[5946] = Material.OrangeStainedGlass; + for (int i = 9404; i <= 9435; i++) + materials[i] = Material.OrangeStainedGlassPane; + materials[9357] = Material.OrangeTerracotta; + materials[2082] = Material.OrangeTulip; + for (int i = 11019; i <= 11022; i++) + materials[i] = Material.OrangeWallBanner; + materials[2048] = Material.OrangeWool; + materials[2085] = Material.OxeyeDaisy; + materials[22948] = Material.OxidizedChiseledCopper; + materials[22941] = Material.OxidizedCopper; + for (int i = 24704; i <= 24707; i++) + materials[i] = Material.OxidizedCopperBulb; + for (int i = 23780; i <= 23843; i++) + materials[i] = Material.OxidizedCopperDoor; + for (int i = 24682; i <= 24683; i++) + materials[i] = Material.OxidizedCopperGrate; + for (int i = 24292; i <= 24355; i++) + materials[i] = Material.OxidizedCopperTrapdoor; + materials[22944] = Material.OxidizedCutCopper; + for (int i = 23276; i <= 23281; i++) + materials[i] = Material.OxidizedCutCopperSlab; + for (int i = 22956; i <= 23035; i++) + materials[i] = Material.OxidizedCutCopperStairs; + materials[10746] = Material.PackedIce; + materials[6541] = Material.PackedMud; + for (int i = 26569; i <= 26571; i++) + materials[i] = Material.PearlescentFroglight; + for (int i = 10753; i <= 10754; i++) + materials[i] = Material.Peony; + for (int i = 11246; i <= 11251; i++) + materials[i] = Material.PetrifiedOakSlab; + for (int i = 9067; i <= 9098; i++) + materials[i] = Material.PiglinHead; + for (int i = 9099; i <= 9106; i++) + materials[i] = Material.PiglinWallHead; + for (int i = 10855; i <= 10870; i++) + materials[i] = Material.PinkBanner; + for (int i = 1784; i <= 1799; i++) + materials[i] = Material.PinkBed; + for (int i = 20837; i <= 20852; i++) + materials[i] = Material.PinkCandle; + for (int i = 21011; i <= 21012; i++) + materials[i] = Material.PinkCandleCake; + materials[10734] = Material.PinkCarpet; + materials[12734] = Material.PinkConcrete; + materials[12750] = Material.PinkConcretePowder; + for (int i = 12688; i <= 12691; i++) + materials[i] = Material.PinkGlazedTerracotta; + for (int i = 24827; i <= 24842; i++) + materials[i] = Material.PinkPetals; + for (int i = 12604; i <= 12609; i++) + materials[i] = Material.PinkShulkerBox; + materials[5951] = Material.PinkStainedGlass; + for (int i = 9564; i <= 9595; i++) + materials[i] = Material.PinkStainedGlassPane; + materials[9362] = Material.PinkTerracotta; + materials[2084] = Material.PinkTulip; + for (int i = 11039; i <= 11042; i++) + materials[i] = Material.PinkWallBanner; + materials[2053] = Material.PinkWool; + for (int i = 2011; i <= 2022; i++) + materials[i] = Material.Piston; + for (int i = 2023; i <= 2046; i++) + materials[i] = Material.PistonHead; + for (int i = 12497; i <= 12506; i++) + materials[i] = Material.PitcherCrop; + for (int i = 12507; i <= 12508; i++) + materials[i] = Material.PitcherPlant; + for (int i = 8947; i <= 8978; i++) + materials[i] = Material.PlayerHead; + for (int i = 8979; i <= 8986; i++) + materials[i] = Material.PlayerWallHead; + for (int i = 12; i <= 13; i++) + materials[i] = Material.Podzol; + for (int i = 24748; i <= 24767; i++) + materials[i] = Material.PointedDripstone; + materials[7] = Material.PolishedAndesite; + for (int i = 14148; i <= 14153; i++) + materials[i] = Material.PolishedAndesiteSlab; + for (int i = 13922; i <= 14001; i++) + materials[i] = Material.PolishedAndesiteStairs; + for (int i = 5855; i <= 5857; i++) + materials[i] = Material.PolishedBasalt; + materials[19871] = Material.PolishedBlackstone; + for (int i = 19875; i <= 19880; i++) + materials[i] = Material.PolishedBlackstoneBrickSlab; + for (int i = 19881; i <= 19960; i++) + materials[i] = Material.PolishedBlackstoneBrickStairs; + for (int i = 19961; i <= 20284; i++) + materials[i] = Material.PolishedBlackstoneBrickWall; + materials[19872] = Material.PolishedBlackstoneBricks; + for (int i = 20374; i <= 20397; i++) + materials[i] = Material.PolishedBlackstoneButton; + for (int i = 20372; i <= 20373; i++) + materials[i] = Material.PolishedBlackstonePressurePlate; + for (int i = 20366; i <= 20371; i++) + materials[i] = Material.PolishedBlackstoneSlab; + for (int i = 20286; i <= 20365; i++) + materials[i] = Material.PolishedBlackstoneStairs; + for (int i = 20398; i <= 20721; i++) + materials[i] = Material.PolishedBlackstoneWall; + materials[25318] = Material.PolishedDeepslate; + for (int i = 25399; i <= 25404; i++) + materials[i] = Material.PolishedDeepslateSlab; + for (int i = 25319; i <= 25398; i++) + materials[i] = Material.PolishedDeepslateStairs; + for (int i = 25405; i <= 25728; i++) + materials[i] = Material.PolishedDeepslateWall; + materials[5] = Material.PolishedDiorite; + for (int i = 14100; i <= 14105; i++) + materials[i] = Material.PolishedDioriteSlab; + for (int i = 13202; i <= 13281; i++) + materials[i] = Material.PolishedDioriteStairs; + materials[3] = Material.PolishedGranite; + for (int i = 14082; i <= 14087; i++) + materials[i] = Material.PolishedGraniteSlab; + for (int i = 12962; i <= 13041; i++) + materials[i] = Material.PolishedGraniteStairs; + materials[21492] = Material.PolishedTuff; + for (int i = 21493; i <= 21498; i++) + materials[i] = Material.PolishedTuffSlab; + for (int i = 21499; i <= 21578; i++) + materials[i] = Material.PolishedTuffStairs; + for (int i = 21579; i <= 21902; i++) + materials[i] = Material.PolishedTuffWall; + materials[2077] = Material.Poppy; + for (int i = 8603; i <= 8610; i++) + materials[i] = Material.Potatoes; + materials[8573] = Material.PottedAcaciaSapling; + materials[8581] = Material.PottedAllium; + materials[26561] = Material.PottedAzaleaBush; + materials[8582] = Material.PottedAzureBluet; + materials[12957] = Material.PottedBamboo; + materials[8571] = Material.PottedBirchSapling; + materials[8580] = Material.PottedBlueOrchid; + materials[8592] = Material.PottedBrownMushroom; + materials[8594] = Material.PottedCactus; + materials[8574] = Material.PottedCherrySapling; + materials[8588] = Material.PottedCornflower; + materials[19455] = Material.PottedCrimsonFungus; + materials[19457] = Material.PottedCrimsonRoots; + materials[8578] = Material.PottedDandelion; + materials[8575] = Material.PottedDarkOakSapling; + materials[8593] = Material.PottedDeadBush; + materials[8577] = Material.PottedFern; + materials[26562] = Material.PottedFloweringAzaleaBush; + materials[8572] = Material.PottedJungleSapling; + materials[8589] = Material.PottedLilyOfTheValley; + materials[8576] = Material.PottedMangrovePropagule; + materials[8569] = Material.PottedOakSapling; + materials[8584] = Material.PottedOrangeTulip; + materials[8587] = Material.PottedOxeyeDaisy; + materials[8586] = Material.PottedPinkTulip; + materials[8579] = Material.PottedPoppy; + materials[8591] = Material.PottedRedMushroom; + materials[8583] = Material.PottedRedTulip; + materials[8570] = Material.PottedSpruceSapling; + materials[8568] = Material.PottedTorchflower; + materials[19456] = Material.PottedWarpedFungus; + materials[19458] = Material.PottedWarpedRoots; + materials[8585] = Material.PottedWhiteTulip; + materials[8590] = Material.PottedWitherRose; + materials[22318] = Material.PowderSnow; + for (int i = 7403; i <= 7405; i++) + materials[i] = Material.PowderSnowCauldron; + for (int i = 1944; i <= 1967; i++) + materials[i] = Material.PoweredRail; + materials[10463] = Material.Prismarine; + for (int i = 10712; i <= 10717; i++) + materials[i] = Material.PrismarineBrickSlab; + for (int i = 10546; i <= 10625; i++) + materials[i] = Material.PrismarineBrickStairs; + materials[10464] = Material.PrismarineBricks; + for (int i = 10706; i <= 10711; i++) + materials[i] = Material.PrismarineSlab; + for (int i = 10466; i <= 10545; i++) + materials[i] = Material.PrismarineStairs; + for (int i = 14484; i <= 14807; i++) + materials[i] = Material.PrismarineWall; + materials[6811] = Material.Pumpkin; + for (int i = 6821; i <= 6828; i++) + materials[i] = Material.PumpkinStem; + for (int i = 10919; i <= 10934; i++) + materials[i] = Material.PurpleBanner; + for (int i = 1848; i <= 1863; i++) + materials[i] = Material.PurpleBed; + for (int i = 20901; i <= 20916; i++) + materials[i] = Material.PurpleCandle; + for (int i = 21019; i <= 21020; i++) + materials[i] = Material.PurpleCandleCake; + materials[10738] = Material.PurpleCarpet; + materials[12738] = Material.PurpleConcrete; + materials[12754] = Material.PurpleConcretePowder; + for (int i = 12704; i <= 12707; i++) + materials[i] = Material.PurpleGlazedTerracotta; + for (int i = 12628; i <= 12633; i++) + materials[i] = Material.PurpleShulkerBox; + materials[5955] = Material.PurpleStainedGlass; + for (int i = 9692; i <= 9723; i++) + materials[i] = Material.PurpleStainedGlassPane; + materials[9366] = Material.PurpleTerracotta; + for (int i = 11055; i <= 11058; i++) + materials[i] = Material.PurpleWallBanner; + materials[2057] = Material.PurpleWool; + materials[12410] = Material.PurpurBlock; + for (int i = 12411; i <= 12413; i++) + materials[i] = Material.PurpurPillar; + for (int i = 11300; i <= 11305; i++) + materials[i] = Material.PurpurSlab; + for (int i = 12414; i <= 12493; i++) + materials[i] = Material.PurpurStairs; + materials[9235] = Material.QuartzBlock; + materials[20724] = Material.QuartzBricks; + for (int i = 9237; i <= 9239; i++) + materials[i] = Material.QuartzPillar; + for (int i = 11282; i <= 11287; i++) + materials[i] = Material.QuartzSlab; + for (int i = 9240; i <= 9319; i++) + materials[i] = Material.QuartzStairs; + for (int i = 4662; i <= 4681; i++) + materials[i] = Material.Rail; + materials[26559] = Material.RawCopperBlock; + materials[26560] = Material.RawGoldBlock; + materials[26558] = Material.RawIronBlock; + for (int i = 10983; i <= 10998; i++) + materials[i] = Material.RedBanner; + for (int i = 1912; i <= 1927; i++) + materials[i] = Material.RedBed; + for (int i = 20965; i <= 20980; i++) + materials[i] = Material.RedCandle; + for (int i = 21027; i <= 21028; i++) + materials[i] = Material.RedCandleCake; + materials[10742] = Material.RedCarpet; + materials[12742] = Material.RedConcrete; + materials[12758] = Material.RedConcretePowder; + for (int i = 12720; i <= 12723; i++) + materials[i] = Material.RedGlazedTerracotta; + materials[2090] = Material.RedMushroom; + for (int i = 6613; i <= 6676; i++) + materials[i] = Material.RedMushroomBlock; + for (int i = 14142; i <= 14147; i++) + materials[i] = Material.RedNetherBrickSlab; + for (int i = 13842; i <= 13921; i++) + materials[i] = Material.RedNetherBrickStairs; + for (int i = 17076; i <= 17399; i++) + materials[i] = Material.RedNetherBrickWall; + materials[12545] = Material.RedNetherBricks; + materials[117] = Material.RedSand; + materials[11079] = Material.RedSandstone; + for (int i = 11288; i <= 11293; i++) + materials[i] = Material.RedSandstoneSlab; + for (int i = 11082; i <= 11161; i++) + materials[i] = Material.RedSandstoneStairs; + for (int i = 14808; i <= 15131; i++) + materials[i] = Material.RedSandstoneWall; + for (int i = 12652; i <= 12657; i++) + materials[i] = Material.RedShulkerBox; + materials[5959] = Material.RedStainedGlass; + for (int i = 9820; i <= 9851; i++) + materials[i] = Material.RedStainedGlassPane; + materials[9370] = Material.RedTerracotta; + materials[2081] = Material.RedTulip; + for (int i = 11071; i <= 11074; i++) + materials[i] = Material.RedWallBanner; + materials[2061] = Material.RedWool; + materials[9223] = Material.RedstoneBlock; + for (int i = 7417; i <= 7418; i++) + materials[i] = Material.RedstoneLamp; + for (int i = 5734; i <= 5735; i++) + materials[i] = Material.RedstoneOre; + for (int i = 5738; i <= 5739; i++) + materials[i] = Material.RedstoneTorch; + for (int i = 5740; i <= 5747; i++) + materials[i] = Material.RedstoneWallTorch; + for (int i = 2978; i <= 4273; i++) + materials[i] = Material.RedstoneWire; + materials[26573] = Material.ReinforcedDeepslate; + for (int i = 5881; i <= 5944; i++) + materials[i] = Material.Repeater; + for (int i = 12515; i <= 12526; i++) + materials[i] = Material.RepeatingCommandBlock; + for (int i = 19450; i <= 19454; i++) + materials[i] = Material.RespawnAnchor; + materials[24902] = Material.RootedDirt; + for (int i = 10751; i <= 10752; i++) + materials[i] = Material.RoseBush; + materials[112] = Material.Sand; + materials[535] = Material.Sandstone; + for (int i = 11234; i <= 11239; i++) + materials[i] = Material.SandstoneSlab; + for (int i = 7431; i <= 7510; i++) + materials[i] = Material.SandstoneStairs; + for (int i = 17400; i <= 17723; i++) + materials[i] = Material.SandstoneWall; + for (int i = 18372; i <= 18403; i++) + materials[i] = Material.Scaffolding; + materials[22799] = Material.Sculk; + for (int i = 22928; i <= 22929; i++) + materials[i] = Material.SculkCatalyst; + for (int i = 22319; i <= 22414; i++) + materials[i] = Material.SculkSensor; + for (int i = 22930; i <= 22937; i++) + materials[i] = Material.SculkShrieker; + for (int i = 22800; i <= 22927; i++) + materials[i] = Material.SculkVein; + materials[10724] = Material.SeaLantern; + for (int i = 12933; i <= 12940; i++) + materials[i] = Material.SeaPickle; + materials[2008] = Material.Seagrass; + materials[2005] = Material.ShortGrass; + materials[18610] = Material.Shroomlight; + for (int i = 12562; i <= 12567; i++) + materials[i] = Material.ShulkerBox; + for (int i = 8827; i <= 8858; i++) + materials[i] = Material.SkeletonSkull; + for (int i = 8859; i <= 8866; i++) + materials[i] = Material.SkeletonWallSkull; + materials[10364] = Material.SlimeBlock; + for (int i = 21069; i <= 21080; i++) + materials[i] = Material.SmallAmethystBud; + for (int i = 24884; i <= 24899; i++) + materials[i] = Material.SmallDripleaf; + materials[18466] = Material.SmithingTable; + for (int i = 18420; i <= 18427; i++) + materials[i] = Material.Smoker; + materials[26557] = Material.SmoothBasalt; + materials[11308] = Material.SmoothQuartz; + for (int i = 14124; i <= 14129; i++) + materials[i] = Material.SmoothQuartzSlab; + for (int i = 13602; i <= 13681; i++) + materials[i] = Material.SmoothQuartzStairs; + materials[11309] = Material.SmoothRedSandstone; + for (int i = 14088; i <= 14093; i++) + materials[i] = Material.SmoothRedSandstoneSlab; + for (int i = 13042; i <= 13121; i++) + materials[i] = Material.SmoothRedSandstoneStairs; + materials[11307] = Material.SmoothSandstone; + for (int i = 14118; i <= 14123; i++) + materials[i] = Material.SmoothSandstoneSlab; + for (int i = 13522; i <= 13601; i++) + materials[i] = Material.SmoothSandstoneStairs; + materials[11306] = Material.SmoothStone; + for (int i = 11228; i <= 11233; i++) + materials[i] = Material.SmoothStoneSlab; + for (int i = 12800; i <= 12802; i++) + materials[i] = Material.SnifferEgg; + for (int i = 5772; i <= 5779; i++) + materials[i] = Material.Snow; + materials[5781] = Material.SnowBlock; + for (int i = 18543; i <= 18574; i++) + materials[i] = Material.SoulCampfire; + materials[2872] = Material.SoulFire; + for (int i = 18507; i <= 18510; i++) + materials[i] = Material.SoulLantern; + materials[5850] = Material.SoulSand; + materials[5851] = Material.SoulSoil; + materials[5858] = Material.SoulTorch; + for (int i = 5859; i <= 5862; i++) + materials[i] = Material.SoulWallTorch; + materials[2873] = Material.Spawner; + materials[517] = Material.Sponge; + materials[24823] = Material.SporeBlossom; + for (int i = 8635; i <= 8658; i++) + materials[i] = Material.SpruceButton; + for (int i = 11822; i <= 11885; i++) + materials[i] = Material.SpruceDoor; + for (int i = 11566; i <= 11597; i++) + materials[i] = Material.SpruceFence; + for (int i = 11310; i <= 11341; i++) + materials[i] = Material.SpruceFenceGate; + for (int i = 4898; i <= 4961; i++) + materials[i] = Material.SpruceHangingSign; + for (int i = 265; i <= 292; i++) + materials[i] = Material.SpruceLeaves; + for (int i = 133; i <= 135; i++) + materials[i] = Material.SpruceLog; + materials[16] = Material.SprucePlanks; + for (int i = 5718; i <= 5719; i++) + materials[i] = Material.SprucePressurePlate; + for (int i = 27; i <= 28; i++) + materials[i] = Material.SpruceSapling; + for (int i = 4334; i <= 4365; i++) + materials[i] = Material.SpruceSign; + for (int i = 11168; i <= 11173; i++) + materials[i] = Material.SpruceSlab; + for (int i = 7666; i <= 7745; i++) + materials[i] = Material.SpruceStairs; + for (int i = 6025; i <= 6088; i++) + materials[i] = Material.SpruceTrapdoor; + for (int i = 5546; i <= 5553; i++) + materials[i] = Material.SpruceWallHangingSign; + for (int i = 4770; i <= 4777; i++) + materials[i] = Material.SpruceWallSign; + for (int i = 192; i <= 194; i++) + materials[i] = Material.SpruceWood; + for (int i = 1992; i <= 2003; i++) + materials[i] = Material.StickyPiston; + materials[1] = Material.Stone; + for (int i = 11264; i <= 11269; i++) + materials[i] = Material.StoneBrickSlab; + for (int i = 7109; i <= 7188; i++) + materials[i] = Material.StoneBrickStairs; + for (int i = 15780; i <= 16103; i++) + materials[i] = Material.StoneBrickWall; + materials[6537] = Material.StoneBricks; + for (int i = 5748; i <= 5771; i++) + materials[i] = Material.StoneButton; + for (int i = 5650; i <= 5651; i++) + materials[i] = Material.StonePressurePlate; + for (int i = 11222; i <= 11227; i++) + materials[i] = Material.StoneSlab; + for (int i = 13442; i <= 13521; i++) + materials[i] = Material.StoneStairs; + for (int i = 18467; i <= 18470; i++) + materials[i] = Material.Stonecutter; + for (int i = 171; i <= 173; i++) + materials[i] = Material.StrippedAcaciaLog; + for (int i = 225; i <= 227; i++) + materials[i] = Material.StrippedAcaciaWood; + for (int i = 186; i <= 188; i++) + materials[i] = Material.StrippedBambooBlock; + for (int i = 165; i <= 167; i++) + materials[i] = Material.StrippedBirchLog; + for (int i = 219; i <= 221; i++) + materials[i] = Material.StrippedBirchWood; + for (int i = 174; i <= 176; i++) + materials[i] = Material.StrippedCherryLog; + for (int i = 228; i <= 230; i++) + materials[i] = Material.StrippedCherryWood; + for (int i = 18605; i <= 18607; i++) + materials[i] = Material.StrippedCrimsonHyphae; + for (int i = 18599; i <= 18601; i++) + materials[i] = Material.StrippedCrimsonStem; + for (int i = 177; i <= 179; i++) + materials[i] = Material.StrippedDarkOakLog; + for (int i = 231; i <= 233; i++) + materials[i] = Material.StrippedDarkOakWood; + for (int i = 168; i <= 170; i++) + materials[i] = Material.StrippedJungleLog; + for (int i = 222; i <= 224; i++) + materials[i] = Material.StrippedJungleWood; + for (int i = 183; i <= 185; i++) + materials[i] = Material.StrippedMangroveLog; + for (int i = 234; i <= 236; i++) + materials[i] = Material.StrippedMangroveWood; + for (int i = 180; i <= 182; i++) + materials[i] = Material.StrippedOakLog; + for (int i = 213; i <= 215; i++) + materials[i] = Material.StrippedOakWood; + for (int i = 162; i <= 164; i++) + materials[i] = Material.StrippedSpruceLog; + for (int i = 216; i <= 218; i++) + materials[i] = Material.StrippedSpruceWood; + for (int i = 18588; i <= 18590; i++) + materials[i] = Material.StrippedWarpedHyphae; + for (int i = 18582; i <= 18584; i++) + materials[i] = Material.StrippedWarpedStem; + for (int i = 19356; i <= 19359; i++) + materials[i] = Material.StructureBlock; + materials[12549] = Material.StructureVoid; + for (int i = 5799; i <= 5814; i++) + materials[i] = Material.SugarCane; + for (int i = 10747; i <= 10748; i++) + materials[i] = Material.Sunflower; + for (int i = 119; i <= 122; i++) + materials[i] = Material.SuspiciousGravel; + for (int i = 113; i <= 116; i++) + materials[i] = Material.SuspiciousSand; + for (int i = 18575; i <= 18578; i++) + materials[i] = Material.SweetBerryBush; + for (int i = 10755; i <= 10756; i++) + materials[i] = Material.TallGrass; + for (int i = 2009; i <= 2010; i++) + materials[i] = Material.TallSeagrass; + for (int i = 19381; i <= 19396; i++) + materials[i] = Material.Target; + materials[10744] = Material.Terracotta; + materials[22317] = Material.TintedGlass; + for (int i = 2094; i <= 2095; i++) + materials[i] = Material.Tnt; + materials[2355] = Material.Torch; + materials[2076] = Material.Torchflower; + for (int i = 12495; i <= 12496; i++) + materials[i] = Material.TorchflowerCrop; + for (int i = 9119; i <= 9142; i++) + materials[i] = Material.TrappedChest; + for (int i = 26638; i <= 26643; i++) + materials[i] = Material.TrialSpawner; + for (int i = 7537; i <= 7664; i++) + materials[i] = Material.Tripwire; + for (int i = 7521; i <= 7536; i++) + materials[i] = Material.TripwireHook; + for (int i = 12823; i <= 12824; i++) + materials[i] = Material.TubeCoral; + materials[12808] = Material.TubeCoralBlock; + for (int i = 12843; i <= 12844; i++) + materials[i] = Material.TubeCoralFan; + for (int i = 12893; i <= 12900; i++) + materials[i] = Material.TubeCoralWallFan; + materials[21081] = Material.Tuff; + for (int i = 21905; i <= 21910; i++) + materials[i] = Material.TuffBrickSlab; + for (int i = 21911; i <= 21990; i++) + materials[i] = Material.TuffBrickStairs; + for (int i = 21991; i <= 22314; i++) + materials[i] = Material.TuffBrickWall; + materials[21904] = Material.TuffBricks; + for (int i = 21082; i <= 21087; i++) + materials[i] = Material.TuffSlab; + for (int i = 21088; i <= 21167; i++) + materials[i] = Material.TuffStairs; + for (int i = 21168; i <= 21491; i++) + materials[i] = Material.TuffWall; + for (int i = 12788; i <= 12799; i++) + materials[i] = Material.TurtleEgg; + for (int i = 18638; i <= 18663; i++) + materials[i] = Material.TwistingVines; + materials[18664] = Material.TwistingVinesPlant; + for (int i = 26566; i <= 26568; i++) + materials[i] = Material.VerdantFroglight; + for (int i = 6837; i <= 6868; i++) + materials[i] = Material.Vine; + materials[12958] = Material.VoidAir; + for (int i = 2356; i <= 2359; i++) + materials[i] = Material.WallTorch; + for (int i = 19124; i <= 19147; i++) + materials[i] = Material.WarpedButton; + for (int i = 19212; i <= 19275; i++) + materials[i] = Material.WarpedDoor; + for (int i = 18716; i <= 18747; i++) + materials[i] = Material.WarpedFence; + for (int i = 18908; i <= 18939; i++) + materials[i] = Material.WarpedFenceGate; + materials[18592] = Material.WarpedFungus; + for (int i = 5346; i <= 5409; i++) + materials[i] = Material.WarpedHangingSign; + for (int i = 18585; i <= 18587; i++) + materials[i] = Material.WarpedHyphae; + materials[18591] = Material.WarpedNylium; + materials[18667] = Material.WarpedPlanks; + for (int i = 18682; i <= 18683; i++) + materials[i] = Material.WarpedPressurePlate; + materials[18594] = Material.WarpedRoots; + for (int i = 19308; i <= 19339; i++) + materials[i] = Material.WarpedSign; + for (int i = 18674; i <= 18679; i++) + materials[i] = Material.WarpedSlab; + for (int i = 19020; i <= 19099; i++) + materials[i] = Material.WarpedStairs; + for (int i = 18579; i <= 18581; i++) + materials[i] = Material.WarpedStem; + for (int i = 18812; i <= 18875; i++) + materials[i] = Material.WarpedTrapdoor; + for (int i = 5610; i <= 5617; i++) + materials[i] = Material.WarpedWallHangingSign; + for (int i = 19348; i <= 19355; i++) + materials[i] = Material.WarpedWallSign; + materials[18593] = Material.WarpedWartBlock; + for (int i = 80; i <= 95; i++) + materials[i] = Material.Water; + for (int i = 7399; i <= 7401; i++) + materials[i] = Material.WaterCauldron; + materials[22955] = Material.WaxedChiseledCopper; + materials[23300] = Material.WaxedCopperBlock; + for (int i = 24708; i <= 24711; i++) + materials[i] = Material.WaxedCopperBulb; + for (int i = 23908; i <= 23971; i++) + materials[i] = Material.WaxedCopperDoor; + for (int i = 24684; i <= 24685; i++) + materials[i] = Material.WaxedCopperGrate; + for (int i = 24420; i <= 24483; i++) + materials[i] = Material.WaxedCopperTrapdoor; + materials[23307] = Material.WaxedCutCopper; + for (int i = 23646; i <= 23651; i++) + materials[i] = Material.WaxedCutCopperSlab; + for (int i = 23548; i <= 23627; i++) + materials[i] = Material.WaxedCutCopperStairs; + materials[22954] = Material.WaxedExposedChiseledCopper; + materials[23302] = Material.WaxedExposedCopper; + for (int i = 24712; i <= 24715; i++) + materials[i] = Material.WaxedExposedCopperBulb; + for (int i = 23972; i <= 24035; i++) + materials[i] = Material.WaxedExposedCopperDoor; + for (int i = 24686; i <= 24687; i++) + materials[i] = Material.WaxedExposedCopperGrate; + for (int i = 24484; i <= 24547; i++) + materials[i] = Material.WaxedExposedCopperTrapdoor; + materials[23306] = Material.WaxedExposedCutCopper; + for (int i = 23640; i <= 23645; i++) + materials[i] = Material.WaxedExposedCutCopperSlab; + for (int i = 23468; i <= 23547; i++) + materials[i] = Material.WaxedExposedCutCopperStairs; + materials[22952] = Material.WaxedOxidizedChiseledCopper; + materials[23303] = Material.WaxedOxidizedCopper; + for (int i = 24720; i <= 24723; i++) + materials[i] = Material.WaxedOxidizedCopperBulb; + for (int i = 24036; i <= 24099; i++) + materials[i] = Material.WaxedOxidizedCopperDoor; + for (int i = 24690; i <= 24691; i++) + materials[i] = Material.WaxedOxidizedCopperGrate; + for (int i = 24548; i <= 24611; i++) + materials[i] = Material.WaxedOxidizedCopperTrapdoor; + materials[23304] = Material.WaxedOxidizedCutCopper; + for (int i = 23628; i <= 23633; i++) + materials[i] = Material.WaxedOxidizedCutCopperSlab; + for (int i = 23308; i <= 23387; i++) + materials[i] = Material.WaxedOxidizedCutCopperStairs; + materials[22953] = Material.WaxedWeatheredChiseledCopper; + materials[23301] = Material.WaxedWeatheredCopper; + for (int i = 24716; i <= 24719; i++) + materials[i] = Material.WaxedWeatheredCopperBulb; + for (int i = 24100; i <= 24163; i++) + materials[i] = Material.WaxedWeatheredCopperDoor; + for (int i = 24688; i <= 24689; i++) + materials[i] = Material.WaxedWeatheredCopperGrate; + for (int i = 24612; i <= 24675; i++) + materials[i] = Material.WaxedWeatheredCopperTrapdoor; + materials[23305] = Material.WaxedWeatheredCutCopper; + for (int i = 23634; i <= 23639; i++) + materials[i] = Material.WaxedWeatheredCutCopperSlab; + for (int i = 23388; i <= 23467; i++) + materials[i] = Material.WaxedWeatheredCutCopperStairs; + materials[22949] = Material.WeatheredChiseledCopper; + materials[22940] = Material.WeatheredCopper; + for (int i = 24700; i <= 24703; i++) + materials[i] = Material.WeatheredCopperBulb; + for (int i = 23844; i <= 23907; i++) + materials[i] = Material.WeatheredCopperDoor; + for (int i = 24680; i <= 24681; i++) + materials[i] = Material.WeatheredCopperGrate; + for (int i = 24356; i <= 24419; i++) + materials[i] = Material.WeatheredCopperTrapdoor; + materials[22945] = Material.WeatheredCutCopper; + for (int i = 23282; i <= 23287; i++) + materials[i] = Material.WeatheredCutCopperSlab; + for (int i = 23036; i <= 23115; i++) + materials[i] = Material.WeatheredCutCopperStairs; + for (int i = 18611; i <= 18636; i++) + materials[i] = Material.WeepingVines; + materials[18637] = Material.WeepingVinesPlant; + materials[518] = Material.WetSponge; + for (int i = 4278; i <= 4285; i++) + materials[i] = Material.Wheat; + for (int i = 10759; i <= 10774; i++) + materials[i] = Material.WhiteBanner; + for (int i = 1688; i <= 1703; i++) + materials[i] = Material.WhiteBed; + for (int i = 20741; i <= 20756; i++) + materials[i] = Material.WhiteCandle; + for (int i = 20999; i <= 21000; i++) + materials[i] = Material.WhiteCandleCake; + materials[10728] = Material.WhiteCarpet; + materials[12728] = Material.WhiteConcrete; + materials[12744] = Material.WhiteConcretePowder; + for (int i = 12664; i <= 12667; i++) + materials[i] = Material.WhiteGlazedTerracotta; + for (int i = 12568; i <= 12573; i++) + materials[i] = Material.WhiteShulkerBox; + materials[5945] = Material.WhiteStainedGlass; + for (int i = 9372; i <= 9403; i++) + materials[i] = Material.WhiteStainedGlassPane; + materials[9356] = Material.WhiteTerracotta; + materials[2083] = Material.WhiteTulip; + for (int i = 11015; i <= 11018; i++) + materials[i] = Material.WhiteWallBanner; + materials[2047] = Material.WhiteWool; + materials[2087] = Material.WitherRose; + for (int i = 8867; i <= 8898; i++) + materials[i] = Material.WitherSkeletonSkull; + for (int i = 8899; i <= 8906; i++) + materials[i] = Material.WitherSkeletonWallSkull; + for (int i = 10823; i <= 10838; i++) + materials[i] = Material.YellowBanner; + for (int i = 1752; i <= 1767; i++) + materials[i] = Material.YellowBed; + for (int i = 20805; i <= 20820; i++) + materials[i] = Material.YellowCandle; + for (int i = 21007; i <= 21008; i++) + materials[i] = Material.YellowCandleCake; + materials[10732] = Material.YellowCarpet; + materials[12732] = Material.YellowConcrete; + materials[12748] = Material.YellowConcretePowder; + for (int i = 12680; i <= 12683; i++) + materials[i] = Material.YellowGlazedTerracotta; + for (int i = 12592; i <= 12597; i++) + materials[i] = Material.YellowShulkerBox; + materials[5949] = Material.YellowStainedGlass; + for (int i = 9500; i <= 9531; i++) + materials[i] = Material.YellowStainedGlassPane; + materials[9360] = Material.YellowTerracotta; + for (int i = 11031; i <= 11034; i++) + materials[i] = Material.YellowWallBanner; + materials[2051] = Material.YellowWool; + for (int i = 8907; i <= 8938; i++) + materials[i] = Material.ZombieHead; + for (int i = 8939; i <= 8946; i++) + materials[i] = Material.ZombieWallHead; + } + + protected override Dictionary GetDict() + { + return materials; + } + } +} diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette1204.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1204.cs new file mode 100644 index 00000000..5cb31df3 --- /dev/null +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1204.cs @@ -0,0 +1,144 @@ +using System.Collections.Generic; + +namespace MinecraftClient.Mapping.EntityPalettes +{ + public class EntityPalette1204 : EntityPalette + { + private static readonly Dictionary mappings = new(); + + static EntityPalette1204() + { + mappings[0] = EntityType.Allay; + mappings[1] = EntityType.AreaEffectCloud; + mappings[2] = EntityType.ArmorStand; + mappings[3] = EntityType.Arrow; + mappings[4] = EntityType.Axolotl; + mappings[5] = EntityType.Bat; + mappings[6] = EntityType.Bee; + mappings[7] = EntityType.Blaze; + mappings[8] = EntityType.BlockDisplay; + mappings[9] = EntityType.Boat; + mappings[10] = EntityType.Breeze; + mappings[11] = EntityType.Camel; + mappings[12] = EntityType.Cat; + mappings[13] = EntityType.CaveSpider; + mappings[14] = EntityType.ChestBoat; + mappings[15] = EntityType.ChestMinecart; + mappings[16] = EntityType.Chicken; + mappings[17] = EntityType.Cod; + mappings[18] = EntityType.CommandBlockMinecart; + mappings[19] = EntityType.Cow; + mappings[20] = EntityType.Creeper; + mappings[21] = EntityType.Dolphin; + mappings[22] = EntityType.Donkey; + mappings[23] = EntityType.DragonFireball; + mappings[24] = EntityType.Drowned; + mappings[25] = EntityType.Egg; + mappings[26] = EntityType.ElderGuardian; + mappings[27] = EntityType.EndCrystal; + mappings[28] = EntityType.EnderDragon; + mappings[29] = EntityType.EnderPearl; + mappings[30] = EntityType.Enderman; + mappings[31] = EntityType.Endermite; + mappings[32] = EntityType.Evoker; + mappings[33] = EntityType.EvokerFangs; + mappings[34] = EntityType.ExperienceBottle; + mappings[35] = EntityType.ExperienceOrb; + mappings[36] = EntityType.EyeOfEnder; + mappings[37] = EntityType.FallingBlock; + mappings[58] = EntityType.Fireball; + mappings[38] = EntityType.FireworkRocket; + mappings[125] = EntityType.FishingBobber; + mappings[39] = EntityType.Fox; + mappings[40] = EntityType.Frog; + mappings[41] = EntityType.FurnaceMinecart; + mappings[42] = EntityType.Ghast; + mappings[43] = EntityType.Giant; + mappings[44] = EntityType.GlowItemFrame; + mappings[45] = EntityType.GlowSquid; + mappings[46] = EntityType.Goat; + mappings[47] = EntityType.Guardian; + mappings[48] = EntityType.Hoglin; + mappings[49] = EntityType.HopperMinecart; + mappings[50] = EntityType.Horse; + mappings[51] = EntityType.Husk; + mappings[52] = EntityType.Illusioner; + mappings[53] = EntityType.Interaction; + mappings[54] = EntityType.IronGolem; + mappings[55] = EntityType.Item; + mappings[56] = EntityType.ItemDisplay; + mappings[57] = EntityType.ItemFrame; + mappings[59] = EntityType.LeashKnot; + mappings[60] = EntityType.LightningBolt; + mappings[61] = EntityType.Llama; + mappings[62] = EntityType.LlamaSpit; + mappings[63] = EntityType.MagmaCube; + mappings[64] = EntityType.Marker; + mappings[65] = EntityType.Minecart; + mappings[66] = EntityType.Mooshroom; + mappings[67] = EntityType.Mule; + mappings[68] = EntityType.Ocelot; + mappings[69] = EntityType.Painting; + mappings[70] = EntityType.Panda; + mappings[71] = EntityType.Parrot; + mappings[72] = EntityType.Phantom; + mappings[73] = EntityType.Pig; + mappings[74] = EntityType.Piglin; + mappings[75] = EntityType.PiglinBrute; + mappings[76] = EntityType.Pillager; + mappings[124] = EntityType.Player; + mappings[77] = EntityType.PolarBear; + mappings[78] = EntityType.Potion; + mappings[79] = EntityType.Pufferfish; + mappings[80] = EntityType.Rabbit; + mappings[81] = EntityType.Ravager; + mappings[82] = EntityType.Salmon; + mappings[83] = EntityType.Sheep; + mappings[84] = EntityType.Shulker; + mappings[85] = EntityType.ShulkerBullet; + mappings[86] = EntityType.Silverfish; + mappings[87] = EntityType.Skeleton; + mappings[88] = EntityType.SkeletonHorse; + mappings[89] = EntityType.Slime; + mappings[90] = EntityType.SmallFireball; + mappings[91] = EntityType.Sniffer; + mappings[92] = EntityType.SnowGolem; + mappings[93] = EntityType.Snowball; + mappings[94] = EntityType.SpawnerMinecart; + mappings[95] = EntityType.SpectralArrow; + mappings[96] = EntityType.Spider; + mappings[97] = EntityType.Squid; + mappings[98] = EntityType.Stray; + mappings[99] = EntityType.Strider; + mappings[100] = EntityType.Tadpole; + mappings[101] = EntityType.TextDisplay; + mappings[102] = EntityType.Tnt; + mappings[103] = EntityType.TntMinecart; + mappings[104] = EntityType.TraderLlama; + mappings[105] = EntityType.Trident; + mappings[106] = EntityType.TropicalFish; + mappings[107] = EntityType.Turtle; + mappings[108] = EntityType.Vex; + mappings[109] = EntityType.Villager; + mappings[110] = EntityType.Vindicator; + mappings[111] = EntityType.WanderingTrader; + mappings[112] = EntityType.Warden; + mappings[113] = EntityType.WindCharge; + mappings[114] = EntityType.Witch; + mappings[115] = EntityType.Wither; + mappings[116] = EntityType.WitherSkeleton; + mappings[117] = EntityType.WitherSkull; + mappings[118] = EntityType.Wolf; + mappings[119] = EntityType.Zoglin; + mappings[120] = EntityType.Zombie; + mappings[121] = EntityType.ZombieHorse; + mappings[122] = EntityType.ZombieVillager; + mappings[123] = EntityType.ZombifiedPiglin; + } + + protected override Dictionary GetDict() + { + return mappings; + } + } +} diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPaletteGenerator.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPaletteGenerator.cs index 141bcf6d..2ac06fcb 100644 --- a/MinecraftClient/Mapping/EntityPalettes/EntityPaletteGenerator.cs +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPaletteGenerator.cs @@ -11,7 +11,10 @@ namespace MinecraftClient.Mapping.EntityPalettes /// Generate EntityType.cs from Minecraft registries.json /// /// path to registries.json - /// java -cp minecraft_server.jar net.minecraft.data.Main --reports + /// + /// java -cp minecraft_server.jar net.minecraft.data.Main --reports + /// For 1.18+: java -DbundlerMainClass=net.minecraft.data.Main -jar minecraft_server.jar --reports + /// public static void GenerateEntityTypes(string registriesJsonFile) { DataTypeGenerator.GenerateEnumWithPalette(registriesJsonFile, "minecraft:entity_type", "EntityType", "MinecraftClient.Mapping", "EntityPalette", "MinecraftClient.Mapping.EntityPalettes"); diff --git a/MinecraftClient/Mapping/EntityType.cs b/MinecraftClient/Mapping/EntityType.cs index 8b697e5f..9a036bac 100644 --- a/MinecraftClient/Mapping/EntityType.cs +++ b/MinecraftClient/Mapping/EntityType.cs @@ -24,6 +24,7 @@ Blaze, BlockDisplay, Boat, + Breeze, Camel, Cat, CaveSpider, @@ -128,6 +129,7 @@ Vindicator, WanderingTrader, Warden, + WindCharge, Witch, Wither, WitherSkeleton, diff --git a/MinecraftClient/Mapping/Material.cs b/MinecraftClient/Mapping/Material.cs index 0693eb8f..f5cbc9aa 100644 --- a/MinecraftClient/Mapping/Material.cs +++ b/MinecraftClient/Mapping/Material.cs @@ -198,6 +198,7 @@ Chest, ChippedAnvil, ChiseledBookshelf, + ChiseledCopper, ChiseledDeepslate, ChiseledNetherBricks, ChiseledPolishedBlackstone, @@ -205,6 +206,8 @@ ChiseledRedSandstone, ChiseledSandstone, ChiseledStoneBricks, + ChiseledTuff, + ChiseledTuffBricks, ChorusFlower, ChorusPlant, Clay, @@ -226,13 +229,18 @@ Composter, Conduit, CopperBlock, + CopperBulb, + CopperDoor, + CopperGrate, CopperOre, + CopperTrapdoor, Cornflower, CrackedDeepslateBricks, CrackedDeepslateTiles, CrackedNetherBricks, CrackedPolishedBlackstoneBricks, CrackedStoneBricks, + Crafter, CraftingTable, CreeperHead, CreeperWallHead, @@ -367,7 +375,12 @@ EndStoneBrickWall, EndStoneBricks, EnderChest, + ExposedChiseledCopper, ExposedCopper, + ExposedCopperBulb, + ExposedCopperDoor, + ExposedCopperGrate, + ExposedCopperTrapdoor, ExposedCutCopper, ExposedCutCopperSlab, ExposedCutCopperStairs, @@ -396,7 +409,7 @@ GraniteSlab, GraniteStairs, GraniteWall, - Grass, + Grass, // 1.20.3+ renamed to ShortGrass GrassBlock, Gravel, GrayBanner, @@ -638,7 +651,12 @@ OrangeWallBanner, OrangeWool, OxeyeDaisy, + OxidizedChiseledCopper, OxidizedCopper, + OxidizedCopperBulb, + OxidizedCopperDoor, + OxidizedCopperGrate, + OxidizedCopperTrapdoor, OxidizedCutCopper, OxidizedCutCopperSlab, OxidizedCutCopperStairs, @@ -697,6 +715,10 @@ PolishedGranite, PolishedGraniteSlab, PolishedGraniteStairs, + PolishedTuff, + PolishedTuffSlab, + PolishedTuffStairs, + PolishedTuffWall, Poppy, Potatoes, PottedAcaciaSapling, @@ -824,6 +846,7 @@ SeaLantern, SeaPickle, Seagrass, + ShortGrass, Shroomlight, ShulkerBox, SkeletonSkull, @@ -924,6 +947,7 @@ Torchflower, TorchflowerCrop, TrappedChest, + TrialSpawner, Tripwire, TripwireHook, TubeCoral, @@ -931,6 +955,13 @@ TubeCoralFan, TubeCoralWallFan, Tuff, + TuffBrickSlab, + TuffBrickStairs, + TuffBrickWall, + TuffBricks, + TuffSlab, + TuffStairs, + TuffWall, TurtleEgg, TwistingVines, TwistingVinesPlant, @@ -959,23 +990,48 @@ WarpedWartBlock, Water, WaterCauldron, + WaxedChiseledCopper, WaxedCopperBlock, + WaxedCopperBulb, + WaxedCopperDoor, + WaxedCopperGrate, + WaxedCopperTrapdoor, WaxedCutCopper, WaxedCutCopperSlab, WaxedCutCopperStairs, + WaxedExposedChiseledCopper, WaxedExposedCopper, + WaxedExposedCopperBulb, + WaxedExposedCopperDoor, + WaxedExposedCopperGrate, + WaxedExposedCopperTrapdoor, WaxedExposedCutCopper, WaxedExposedCutCopperSlab, WaxedExposedCutCopperStairs, + WaxedOxidizedChiseledCopper, WaxedOxidizedCopper, + WaxedOxidizedCopperBulb, + WaxedOxidizedCopperDoor, + WaxedOxidizedCopperGrate, + WaxedOxidizedCopperTrapdoor, WaxedOxidizedCutCopper, WaxedOxidizedCutCopperSlab, WaxedOxidizedCutCopperStairs, + WaxedWeatheredChiseledCopper, WaxedWeatheredCopper, + WaxedWeatheredCopperBulb, + WaxedWeatheredCopperDoor, + WaxedWeatheredCopperGrate, + WaxedWeatheredCopperTrapdoor, WaxedWeatheredCutCopper, WaxedWeatheredCutCopperSlab, WaxedWeatheredCutCopperStairs, + WeatheredChiseledCopper, WeatheredCopper, + WeatheredCopperBulb, + WeatheredCopperDoor, + WeatheredCopperGrate, + WeatheredCopperTrapdoor, WeatheredCutCopper, WeatheredCutCopperSlab, WeatheredCutCopperStairs, diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs index 59b975dd..54dbf0de 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -146,6 +146,7 @@ namespace MinecraftClient.Protocol.Handlers // Block palette > MC_1_20_4_Version when handler.GetTerrainEnabled() => throw new NotImplementedException(Translations.exception_palette_block), + >= MC_1_20_4_Version => new Palette1204(), >= MC_1_20_Version => new Palette120(), MC_1_19_4_Version => new Palette1194(), MC_1_19_3_Version => new Palette1193(), @@ -163,6 +164,7 @@ namespace MinecraftClient.Protocol.Handlers // Entity palette > MC_1_20_4_Version when handler.GetEntityHandlingEnabled() => throw new NotImplementedException(Translations.exception_palette_entity), + >= MC_1_20_4_Version => new EntityPalette1204(), >= MC_1_20_Version => new EntityPalette120(), MC_1_19_4_Version => new EntityPalette1194(), MC_1_19_3_Version => new EntityPalette1193(), @@ -184,6 +186,7 @@ namespace MinecraftClient.Protocol.Handlers // Item palette > MC_1_20_4_Version when handler.GetInventoryEnabled() => throw new NotImplementedException(Translations.exception_palette_item), + >= MC_1_20_4_Version => new ItemPalette1204(), >= MC_1_20_Version => new ItemPalette120(), MC_1_19_4_Version => new ItemPalette1194(), MC_1_19_3_Version => new ItemPalette1193(),