diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette1193.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1193.cs new file mode 100644 index 00000000..563b16a5 --- /dev/null +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1193.cs @@ -0,0 +1,1204 @@ +using System.Collections.Generic; + +namespace MinecraftClient.Inventory.ItemPalettes +{ + public class ItemPalette1193 : ItemPalette + { + private static readonly Dictionary mappings = new(); + + static ItemPalette1193() + { + mappings[721] = ItemType.AcaciaBoat; + mappings[648] = ItemType.AcaciaButton; + mappings[722] = ItemType.AcaciaChestBoat; + mappings[673] = ItemType.AcaciaDoor; + mappings[279] = ItemType.AcaciaFence; + mappings[694] = ItemType.AcaciaFenceGate; + mappings[835] = ItemType.AcaciaHangingSign; + mappings[150] = ItemType.AcaciaLeaves; + mappings[110] = ItemType.AcaciaLog; + mappings[27] = ItemType.AcaciaPlanks; + mappings[662] = ItemType.AcaciaPressurePlate; + mappings[38] = ItemType.AcaciaSapling; + mappings[825] = ItemType.AcaciaSign; + mappings[222] = ItemType.AcaciaSlab; + mappings[350] = ItemType.AcaciaStairs; + mappings[684] = ItemType.AcaciaTrapdoor; + mappings[141] = ItemType.AcaciaWood; + mappings[703] = ItemType.ActivatorRail; + mappings[0] = ItemType.Air; + mappings[940] = ItemType.AllaySpawnEgg; + mappings[190] = ItemType.Allium; + mappings[68] = ItemType.AmethystBlock; + mappings[1179] = ItemType.AmethystCluster; + mappings[743] = ItemType.AmethystShard; + mappings[63] = ItemType.AncientDebris; + mappings[6] = ItemType.Andesite; + mappings[609] = ItemType.AndesiteSlab; + mappings[592] = ItemType.AndesiteStairs; + mappings[369] = ItemType.AndesiteWall; + mappings[381] = ItemType.Anvil; + mappings[734] = ItemType.Apple; + mappings[1049] = ItemType.ArmorStand; + mappings[736] = ItemType.Arrow; + mappings[852] = ItemType.AxolotlBucket; + mappings[941] = ItemType.AxolotlSpawnEgg; + mappings[166] = ItemType.Azalea; + mappings[153] = ItemType.AzaleaLeaves; + mappings[191] = ItemType.AzureBluet; + mappings[1025] = ItemType.BakedPotato; + mappings[217] = ItemType.Bamboo; + mappings[117] = ItemType.BambooBlock; + mappings[651] = ItemType.BambooButton; + mappings[728] = ItemType.BambooChestRaft; + mappings[676] = ItemType.BambooDoor; + mappings[282] = ItemType.BambooFence; + mappings[697] = ItemType.BambooFenceGate; + mappings[838] = ItemType.BambooHangingSign; + mappings[33] = ItemType.BambooMosaic; + mappings[226] = ItemType.BambooMosaicSlab; + mappings[354] = ItemType.BambooMosaicStairs; + mappings[30] = ItemType.BambooPlanks; + mappings[665] = ItemType.BambooPressurePlate; + mappings[727] = ItemType.BambooRaft; + mappings[828] = ItemType.BambooSign; + mappings[225] = ItemType.BambooSlab; + mappings[353] = ItemType.BambooStairs; + mappings[687] = ItemType.BambooTrapdoor; + mappings[1123] = ItemType.Barrel; + mappings[405] = ItemType.Barrier; + mappings[291] = ItemType.Basalt; + mappings[942] = ItemType.BatSpawnEgg; + mappings[358] = ItemType.Beacon; + mappings[41] = ItemType.Bedrock; + mappings[1140] = ItemType.BeeNest; + mappings[943] = ItemType.BeeSpawnEgg; + mappings[920] = ItemType.Beef; + mappings[1141] = ItemType.Beehive; + mappings[1078] = ItemType.Beetroot; + mappings[1079] = ItemType.BeetrootSeeds; + mappings[1080] = ItemType.BeetrootSoup; + mappings[1131] = ItemType.Bell; + mappings[215] = ItemType.BigDripleaf; + mappings[717] = ItemType.BirchBoat; + mappings[646] = ItemType.BirchButton; + mappings[718] = ItemType.BirchChestBoat; + mappings[671] = ItemType.BirchDoor; + mappings[277] = ItemType.BirchFence; + mappings[692] = ItemType.BirchFenceGate; + mappings[833] = ItemType.BirchHangingSign; + mappings[148] = ItemType.BirchLeaves; + mappings[108] = ItemType.BirchLog; + mappings[25] = ItemType.BirchPlanks; + mappings[660] = ItemType.BirchPressurePlate; + mappings[36] = ItemType.BirchSapling; + mappings[823] = ItemType.BirchSign; + mappings[220] = ItemType.BirchSlab; + mappings[348] = ItemType.BirchStairs; + mappings[682] = ItemType.BirchTrapdoor; + mappings[139] = ItemType.BirchWood; + mappings[1074] = ItemType.BlackBanner; + mappings[912] = ItemType.BlackBed; + mappings[1175] = ItemType.BlackCandle; + mappings[423] = ItemType.BlackCarpet; + mappings[532] = ItemType.BlackConcrete; + mappings[548] = ItemType.BlackConcretePowder; + mappings[892] = ItemType.BlackDye; + mappings[516] = ItemType.BlackGlazedTerracotta; + mappings[500] = ItemType.BlackShulkerBox; + mappings[448] = ItemType.BlackStainedGlass; + mappings[464] = ItemType.BlackStainedGlassPane; + mappings[404] = ItemType.BlackTerracotta; + mappings[186] = ItemType.BlackWool; + mappings[1146] = ItemType.Blackstone; + mappings[1147] = ItemType.BlackstoneSlab; + mappings[1148] = ItemType.BlackstoneStairs; + mappings[374] = ItemType.BlackstoneWall; + mappings[1125] = ItemType.BlastFurnace; + mappings[934] = ItemType.BlazePowder; + mappings[926] = ItemType.BlazeRod; + mappings[944] = ItemType.BlazeSpawnEgg; + mappings[1070] = ItemType.BlueBanner; + mappings[908] = ItemType.BlueBed; + mappings[1171] = ItemType.BlueCandle; + mappings[419] = ItemType.BlueCarpet; + mappings[528] = ItemType.BlueConcrete; + mappings[544] = ItemType.BlueConcretePowder; + mappings[888] = ItemType.BlueDye; + mappings[512] = ItemType.BlueGlazedTerracotta; + mappings[580] = ItemType.BlueIce; + mappings[189] = ItemType.BlueOrchid; + mappings[496] = ItemType.BlueShulkerBox; + mappings[444] = ItemType.BlueStainedGlass; + mappings[460] = ItemType.BlueStainedGlassPane; + mappings[400] = ItemType.BlueTerracotta; + mappings[182] = ItemType.BlueWool; + mappings[894] = ItemType.Bone; + mappings[482] = ItemType.BoneBlock; + mappings[893] = ItemType.BoneMeal; + mappings[858] = ItemType.Book; + mappings[251] = ItemType.Bookshelf; + mappings[735] = ItemType.Bow; + mappings[783] = ItemType.Bowl; + mappings[561] = ItemType.BrainCoral; + mappings[556] = ItemType.BrainCoralBlock; + mappings[571] = ItemType.BrainCoralFan; + mappings[790] = ItemType.Bread; + mappings[936] = ItemType.BrewingStand; + mappings[854] = ItemType.Brick; + mappings[235] = ItemType.BrickSlab; + mappings[324] = ItemType.BrickStairs; + mappings[361] = ItemType.BrickWall; + mappings[250] = ItemType.Bricks; + mappings[1071] = ItemType.BrownBanner; + mappings[909] = ItemType.BrownBed; + mappings[1172] = ItemType.BrownCandle; + mappings[420] = ItemType.BrownCarpet; + mappings[529] = ItemType.BrownConcrete; + mappings[545] = ItemType.BrownConcretePowder; + mappings[889] = ItemType.BrownDye; + mappings[513] = ItemType.BrownGlazedTerracotta; + mappings[201] = ItemType.BrownMushroom; + mappings[315] = ItemType.BrownMushroomBlock; + mappings[497] = ItemType.BrownShulkerBox; + mappings[445] = ItemType.BrownStainedGlass; + mappings[461] = ItemType.BrownStainedGlassPane; + mappings[401] = ItemType.BrownTerracotta; + mappings[183] = ItemType.BrownWool; + mappings[562] = ItemType.BubbleCoral; + mappings[557] = ItemType.BubbleCoralBlock; + mappings[572] = ItemType.BubbleCoralFan; + mappings[841] = ItemType.Bucket; + mappings[69] = ItemType.BuddingAmethyst; + mappings[863] = ItemType.Bundle; + mappings[272] = ItemType.Cactus; + mappings[896] = ItemType.Cake; + mappings[11] = ItemType.Calcite; + mappings[946] = ItemType.CamelSpawnEgg; + mappings[1136] = ItemType.Campfire; + mappings[1159] = ItemType.Candle; + mappings[1023] = ItemType.Carrot; + mappings[710] = ItemType.CarrotOnAStick; + mappings[1126] = ItemType.CartographyTable; + mappings[286] = ItemType.CarvedPumpkin; + mappings[945] = ItemType.CatSpawnEgg; + mappings[937] = ItemType.Cauldron; + mappings[947] = ItemType.CaveSpiderSpawnEgg; + mappings[319] = ItemType.Chain; + mappings[477] = ItemType.ChainCommandBlock; + mappings[798] = ItemType.ChainmailBoots; + mappings[796] = ItemType.ChainmailChestplate; + mappings[795] = ItemType.ChainmailHelmet; + mappings[797] = ItemType.ChainmailLeggings; + mappings[738] = ItemType.Charcoal; + mappings[263] = ItemType.Chest; + mappings[706] = ItemType.ChestMinecart; + mappings[922] = ItemType.Chicken; + mappings[948] = ItemType.ChickenSpawnEgg; + mappings[382] = ItemType.ChippedAnvil; + mappings[252] = ItemType.ChiseledBookshelf; + mappings[313] = ItemType.ChiseledDeepslate; + mappings[331] = ItemType.ChiseledNetherBricks; + mappings[1153] = ItemType.ChiseledPolishedBlackstone; + mappings[384] = ItemType.ChiseledQuartzBlock; + mappings[473] = ItemType.ChiseledRedSandstone; + mappings[161] = ItemType.ChiseledSandstone; + mappings[306] = ItemType.ChiseledStoneBricks; + mappings[258] = ItemType.ChorusFlower; + mappings[1076] = ItemType.ChorusFruit; + mappings[257] = ItemType.ChorusPlant; + mappings[273] = ItemType.Clay; + mappings[855] = ItemType.ClayBall; + mappings[865] = ItemType.Clock; + mappings[737] = ItemType.Coal; + mappings[64] = ItemType.CoalBlock; + mappings[45] = ItemType.CoalOre; + mappings[16] = ItemType.CoarseDirt; + mappings[9] = ItemType.CobbledDeepslate; + mappings[613] = ItemType.CobbledDeepslateSlab; + mappings[596] = ItemType.CobbledDeepslateStairs; + mappings[377] = ItemType.CobbledDeepslateWall; + mappings[22] = ItemType.Cobblestone; + mappings[234] = ItemType.CobblestoneSlab; + mappings[268] = ItemType.CobblestoneStairs; + mappings[359] = ItemType.CobblestoneWall; + mappings[163] = ItemType.Cobweb; + mappings[876] = ItemType.CocoaBeans; + mappings[868] = ItemType.Cod; + mappings[850] = ItemType.CodBucket; + mappings[949] = ItemType.CodSpawnEgg; + mappings[357] = ItemType.CommandBlock; + mappings[1056] = ItemType.CommandBlockMinecart; + mappings[622] = ItemType.Comparator; + mappings[861] = ItemType.Compass; + mappings[1122] = ItemType.Composter; + mappings[581] = ItemType.Conduit; + mappings[921] = ItemType.CookedBeef; + mappings[923] = ItemType.CookedChicken; + mappings[872] = ItemType.CookedCod; + mappings[1058] = ItemType.CookedMutton; + mappings[817] = ItemType.CookedPorkchop; + mappings[1045] = ItemType.CookedRabbit; + mappings[873] = ItemType.CookedSalmon; + mappings[913] = ItemType.Cookie; + mappings[71] = ItemType.CopperBlock; + mappings[747] = ItemType.CopperIngot; + mappings[49] = ItemType.CopperOre; + mappings[197] = ItemType.Cornflower; + mappings[950] = ItemType.CowSpawnEgg; + mappings[310] = ItemType.CrackedDeepslateBricks; + mappings[312] = ItemType.CrackedDeepslateTiles; + mappings[330] = ItemType.CrackedNetherBricks; + mappings[1157] = ItemType.CrackedPolishedBlackstoneBricks; + mappings[305] = ItemType.CrackedStoneBricks; + mappings[264] = ItemType.CraftingTable; + mappings[1116] = ItemType.CreeperBannerPattern; + mappings[1033] = ItemType.CreeperHead; + mappings[951] = ItemType.CreeperSpawnEgg; + mappings[652] = ItemType.CrimsonButton; + mappings[677] = ItemType.CrimsonDoor; + mappings[283] = ItemType.CrimsonFence; + mappings[698] = ItemType.CrimsonFenceGate; + mappings[203] = ItemType.CrimsonFungus; + mappings[839] = ItemType.CrimsonHangingSign; + mappings[144] = ItemType.CrimsonHyphae; + mappings[20] = ItemType.CrimsonNylium; + mappings[31] = ItemType.CrimsonPlanks; + mappings[666] = ItemType.CrimsonPressurePlate; + mappings[205] = ItemType.CrimsonRoots; + mappings[829] = ItemType.CrimsonSign; + mappings[227] = ItemType.CrimsonSlab; + mappings[355] = ItemType.CrimsonStairs; + mappings[115] = ItemType.CrimsonStem; + mappings[688] = ItemType.CrimsonTrapdoor; + mappings[1112] = ItemType.Crossbow; + mappings[1145] = ItemType.CryingObsidian; + mappings[78] = ItemType.CutCopper; + mappings[86] = ItemType.CutCopperSlab; + mappings[82] = ItemType.CutCopperStairs; + mappings[474] = ItemType.CutRedSandstone; + mappings[241] = ItemType.CutRedSandstoneSlab; + mappings[162] = ItemType.CutSandstone; + mappings[232] = ItemType.CutSandstoneSlab; + mappings[1068] = ItemType.CyanBanner; + mappings[906] = ItemType.CyanBed; + mappings[1169] = ItemType.CyanCandle; + mappings[417] = ItemType.CyanCarpet; + mappings[526] = ItemType.CyanConcrete; + mappings[542] = ItemType.CyanConcretePowder; + mappings[886] = ItemType.CyanDye; + mappings[510] = ItemType.CyanGlazedTerracotta; + mappings[494] = ItemType.CyanShulkerBox; + mappings[442] = ItemType.CyanStainedGlass; + mappings[458] = ItemType.CyanStainedGlassPane; + mappings[398] = ItemType.CyanTerracotta; + mappings[180] = ItemType.CyanWool; + mappings[383] = ItemType.DamagedAnvil; + mappings[187] = ItemType.Dandelion; + mappings[723] = ItemType.DarkOakBoat; + mappings[649] = ItemType.DarkOakButton; + mappings[724] = ItemType.DarkOakChestBoat; + mappings[674] = ItemType.DarkOakDoor; + mappings[280] = ItemType.DarkOakFence; + mappings[695] = ItemType.DarkOakFenceGate; + mappings[836] = ItemType.DarkOakHangingSign; + mappings[151] = ItemType.DarkOakLeaves; + mappings[111] = ItemType.DarkOakLog; + mappings[28] = ItemType.DarkOakPlanks; + mappings[663] = ItemType.DarkOakPressurePlate; + mappings[39] = ItemType.DarkOakSapling; + mappings[826] = ItemType.DarkOakSign; + mappings[223] = ItemType.DarkOakSlab; + mappings[351] = ItemType.DarkOakStairs; + mappings[685] = ItemType.DarkOakTrapdoor; + mappings[142] = ItemType.DarkOakWood; + mappings[467] = ItemType.DarkPrismarine; + mappings[245] = ItemType.DarkPrismarineSlab; + mappings[470] = ItemType.DarkPrismarineStairs; + mappings[635] = ItemType.DaylightDetector; + mappings[565] = ItemType.DeadBrainCoral; + mappings[551] = ItemType.DeadBrainCoralBlock; + mappings[576] = ItemType.DeadBrainCoralFan; + mappings[566] = ItemType.DeadBubbleCoral; + mappings[552] = ItemType.DeadBubbleCoralBlock; + mappings[577] = ItemType.DeadBubbleCoralFan; + mappings[168] = ItemType.DeadBush; + mappings[567] = ItemType.DeadFireCoral; + mappings[553] = ItemType.DeadFireCoralBlock; + mappings[578] = ItemType.DeadFireCoralFan; + mappings[568] = ItemType.DeadHornCoral; + mappings[554] = ItemType.DeadHornCoralBlock; + mappings[579] = ItemType.DeadHornCoralFan; + mappings[569] = ItemType.DeadTubeCoral; + mappings[550] = ItemType.DeadTubeCoralBlock; + mappings[575] = ItemType.DeadTubeCoralFan; + mappings[1091] = ItemType.DebugStick; + mappings[8] = ItemType.Deepslate; + mappings[615] = ItemType.DeepslateBrickSlab; + mappings[598] = ItemType.DeepslateBrickStairs; + mappings[379] = ItemType.DeepslateBrickWall; + mappings[309] = ItemType.DeepslateBricks; + mappings[46] = ItemType.DeepslateCoalOre; + mappings[50] = ItemType.DeepslateCopperOre; + mappings[60] = ItemType.DeepslateDiamondOre; + mappings[56] = ItemType.DeepslateEmeraldOre; + mappings[52] = ItemType.DeepslateGoldOre; + mappings[48] = ItemType.DeepslateIronOre; + mappings[58] = ItemType.DeepslateLapisOre; + mappings[54] = ItemType.DeepslateRedstoneOre; + mappings[616] = ItemType.DeepslateTileSlab; + mappings[599] = ItemType.DeepslateTileStairs; + mappings[380] = ItemType.DeepslateTileWall; + mappings[311] = ItemType.DeepslateTiles; + mappings[701] = ItemType.DetectorRail; + mappings[739] = ItemType.Diamond; + mappings[775] = ItemType.DiamondAxe; + mappings[73] = ItemType.DiamondBlock; + mappings[806] = ItemType.DiamondBoots; + mappings[804] = ItemType.DiamondChestplate; + mappings[803] = ItemType.DiamondHelmet; + mappings[776] = ItemType.DiamondHoe; + mappings[1052] = ItemType.DiamondHorseArmor; + mappings[805] = ItemType.DiamondLeggings; + mappings[59] = ItemType.DiamondOre; + mappings[774] = ItemType.DiamondPickaxe; + mappings[773] = ItemType.DiamondShovel; + mappings[772] = ItemType.DiamondSword; + mappings[4] = ItemType.Diorite; + mappings[612] = ItemType.DioriteSlab; + mappings[595] = ItemType.DioriteStairs; + mappings[373] = ItemType.DioriteWall; + mappings[15] = ItemType.Dirt; + mappings[426] = ItemType.DirtPath; + mappings[1107] = ItemType.DiscFragment5; + mappings[629] = ItemType.Dispenser; + mappings[952] = ItemType.DolphinSpawnEgg; + mappings[953] = ItemType.DonkeySpawnEgg; + mappings[1081] = ItemType.DragonBreath; + mappings[342] = ItemType.DragonEgg; + mappings[1034] = ItemType.DragonHead; + mappings[917] = ItemType.DriedKelp; + mappings[856] = ItemType.DriedKelpBlock; + mappings[13] = ItemType.DripstoneBlock; + mappings[630] = ItemType.Dropper; + mappings[954] = ItemType.DrownedSpawnEgg; + mappings[1185] = ItemType.EchoShard; + mappings[860] = ItemType.Egg; + mappings[955] = ItemType.ElderGuardianSpawnEgg; + mappings[712] = ItemType.Elytra; + mappings[740] = ItemType.Emerald; + mappings[345] = ItemType.EmeraldBlock; + mappings[55] = ItemType.EmeraldOre; + mappings[1040] = ItemType.EnchantedBook; + mappings[820] = ItemType.EnchantedGoldenApple; + mappings[338] = ItemType.EnchantingTable; + mappings[1075] = ItemType.EndCrystal; + mappings[339] = ItemType.EndPortalFrame; + mappings[256] = ItemType.EndRod; + mappings[340] = ItemType.EndStone; + mappings[605] = ItemType.EndStoneBrickSlab; + mappings[587] = ItemType.EndStoneBrickStairs; + mappings[372] = ItemType.EndStoneBrickWall; + mappings[341] = ItemType.EndStoneBricks; + mappings[344] = ItemType.EnderChest; + mappings[956] = ItemType.EnderDragonSpawnEgg; + mappings[938] = ItemType.EnderEye; + mappings[925] = ItemType.EnderPearl; + mappings[957] = ItemType.EndermanSpawnEgg; + mappings[958] = ItemType.EndermiteSpawnEgg; + mappings[959] = ItemType.EvokerSpawnEgg; + mappings[1016] = ItemType.ExperienceBottle; + mappings[75] = ItemType.ExposedCopper; + mappings[79] = ItemType.ExposedCutCopper; + mappings[87] = ItemType.ExposedCutCopperSlab; + mappings[83] = ItemType.ExposedCutCopperStairs; + mappings[265] = ItemType.Farmland; + mappings[786] = ItemType.Feather; + mappings[933] = ItemType.FermentedSpiderEye; + mappings[165] = ItemType.Fern; + mappings[914] = ItemType.FilledMap; + mappings[1017] = ItemType.FireCharge; + mappings[563] = ItemType.FireCoral; + mappings[558] = ItemType.FireCoralBlock; + mappings[573] = ItemType.FireCoralFan; + mappings[1038] = ItemType.FireworkRocket; + mappings[1039] = ItemType.FireworkStar; + mappings[864] = ItemType.FishingRod; + mappings[1127] = ItemType.FletchingTable; + mappings[815] = ItemType.Flint; + mappings[733] = ItemType.FlintAndSteel; + mappings[1115] = ItemType.FlowerBannerPattern; + mappings[1022] = ItemType.FlowerPot; + mappings[167] = ItemType.FloweringAzalea; + mappings[154] = ItemType.FloweringAzaleaLeaves; + mappings[960] = ItemType.FoxSpawnEgg; + mappings[961] = ItemType.FrogSpawnEgg; + mappings[1184] = ItemType.Frogspawn; + mappings[266] = ItemType.Furnace; + mappings[707] = ItemType.FurnaceMinecart; + mappings[962] = ItemType.GhastSpawnEgg; + mappings[927] = ItemType.GhastTear; + mappings[1149] = ItemType.GildedBlackstone; + mappings[157] = ItemType.Glass; + mappings[931] = ItemType.GlassBottle; + mappings[320] = ItemType.GlassPane; + mappings[939] = ItemType.GlisteringMelonSlice; + mappings[1119] = ItemType.GlobeBannerPattern; + mappings[1135] = ItemType.GlowBerries; + mappings[875] = ItemType.GlowInkSac; + mappings[1021] = ItemType.GlowItemFrame; + mappings[323] = ItemType.GlowLichen; + mappings[963] = ItemType.GlowSquidSpawnEgg; + mappings[295] = ItemType.Glowstone; + mappings[867] = ItemType.GlowstoneDust; + mappings[1121] = ItemType.GoatHorn; + mappings[964] = ItemType.GoatSpawnEgg; + mappings[72] = ItemType.GoldBlock; + mappings[749] = ItemType.GoldIngot; + mappings[928] = ItemType.GoldNugget; + mappings[51] = ItemType.GoldOre; + mappings[819] = ItemType.GoldenApple; + mappings[765] = ItemType.GoldenAxe; + mappings[810] = ItemType.GoldenBoots; + mappings[1028] = ItemType.GoldenCarrot; + mappings[808] = ItemType.GoldenChestplate; + mappings[807] = ItemType.GoldenHelmet; + mappings[766] = ItemType.GoldenHoe; + mappings[1051] = ItemType.GoldenHorseArmor; + mappings[809] = ItemType.GoldenLeggings; + mappings[764] = ItemType.GoldenPickaxe; + mappings[763] = ItemType.GoldenShovel; + mappings[762] = ItemType.GoldenSword; + mappings[2] = ItemType.Granite; + mappings[608] = ItemType.GraniteSlab; + mappings[591] = ItemType.GraniteStairs; + mappings[365] = ItemType.GraniteWall; + mappings[164] = ItemType.Grass; + mappings[14] = ItemType.GrassBlock; + mappings[44] = ItemType.Gravel; + mappings[1066] = ItemType.GrayBanner; + mappings[904] = ItemType.GrayBed; + mappings[1167] = ItemType.GrayCandle; + mappings[415] = ItemType.GrayCarpet; + mappings[524] = ItemType.GrayConcrete; + mappings[540] = ItemType.GrayConcretePowder; + mappings[884] = ItemType.GrayDye; + mappings[508] = ItemType.GrayGlazedTerracotta; + mappings[492] = ItemType.GrayShulkerBox; + mappings[440] = ItemType.GrayStainedGlass; + mappings[456] = ItemType.GrayStainedGlassPane; + mappings[396] = ItemType.GrayTerracotta; + mappings[178] = ItemType.GrayWool; + mappings[1072] = ItemType.GreenBanner; + mappings[910] = ItemType.GreenBed; + mappings[1173] = ItemType.GreenCandle; + mappings[421] = ItemType.GreenCarpet; + mappings[530] = ItemType.GreenConcrete; + mappings[546] = ItemType.GreenConcretePowder; + mappings[890] = ItemType.GreenDye; + mappings[514] = ItemType.GreenGlazedTerracotta; + mappings[498] = ItemType.GreenShulkerBox; + mappings[446] = ItemType.GreenStainedGlass; + mappings[462] = ItemType.GreenStainedGlassPane; + mappings[402] = ItemType.GreenTerracotta; + mappings[184] = ItemType.GreenWool; + mappings[1128] = ItemType.Grindstone; + mappings[965] = ItemType.GuardianSpawnEgg; + mappings[787] = ItemType.Gunpowder; + mappings[214] = ItemType.HangingRoots; + mappings[407] = ItemType.HayBlock; + mappings[1111] = ItemType.HeartOfTheSea; + mappings[657] = ItemType.HeavyWeightedPressurePlate; + mappings[966] = ItemType.HoglinSpawnEgg; + mappings[626] = ItemType.HoneyBlock; + mappings[1142] = ItemType.HoneyBottle; + mappings[1139] = ItemType.Honeycomb; + mappings[1143] = ItemType.HoneycombBlock; + mappings[628] = ItemType.Hopper; + mappings[709] = ItemType.HopperMinecart; + mappings[564] = ItemType.HornCoral; + mappings[559] = ItemType.HornCoralBlock; + mappings[574] = ItemType.HornCoralFan; + mappings[967] = ItemType.HorseSpawnEgg; + mappings[968] = ItemType.HuskSpawnEgg; + mappings[270] = ItemType.Ice; + mappings[301] = ItemType.InfestedChiseledStoneBricks; + mappings[297] = ItemType.InfestedCobblestone; + mappings[300] = ItemType.InfestedCrackedStoneBricks; + mappings[302] = ItemType.InfestedDeepslate; + mappings[299] = ItemType.InfestedMossyStoneBricks; + mappings[296] = ItemType.InfestedStone; + mappings[298] = ItemType.InfestedStoneBricks; + mappings[874] = ItemType.InkSac; + mappings[770] = ItemType.IronAxe; + mappings[318] = ItemType.IronBars; + mappings[70] = ItemType.IronBlock; + mappings[802] = ItemType.IronBoots; + mappings[800] = ItemType.IronChestplate; + mappings[668] = ItemType.IronDoor; + mappings[969] = ItemType.IronGolemSpawnEgg; + mappings[799] = ItemType.IronHelmet; + mappings[771] = ItemType.IronHoe; + mappings[1050] = ItemType.IronHorseArmor; + mappings[745] = ItemType.IronIngot; + mappings[801] = ItemType.IronLeggings; + mappings[1089] = ItemType.IronNugget; + mappings[47] = ItemType.IronOre; + mappings[769] = ItemType.IronPickaxe; + mappings[768] = ItemType.IronShovel; + mappings[767] = ItemType.IronSword; + mappings[679] = ItemType.IronTrapdoor; + mappings[1020] = ItemType.ItemFrame; + mappings[287] = ItemType.JackOLantern; + mappings[730] = ItemType.Jigsaw; + mappings[274] = ItemType.Jukebox; + mappings[719] = ItemType.JungleBoat; + mappings[647] = ItemType.JungleButton; + mappings[720] = ItemType.JungleChestBoat; + mappings[672] = ItemType.JungleDoor; + mappings[278] = ItemType.JungleFence; + mappings[693] = ItemType.JungleFenceGate; + mappings[834] = ItemType.JungleHangingSign; + mappings[149] = ItemType.JungleLeaves; + mappings[109] = ItemType.JungleLog; + mappings[26] = ItemType.JunglePlanks; + mappings[661] = ItemType.JunglePressurePlate; + mappings[37] = ItemType.JungleSapling; + mappings[824] = ItemType.JungleSign; + mappings[221] = ItemType.JungleSlab; + mappings[349] = ItemType.JungleStairs; + mappings[683] = ItemType.JungleTrapdoor; + mappings[140] = ItemType.JungleWood; + mappings[211] = ItemType.Kelp; + mappings[1090] = ItemType.KnowledgeBook; + mappings[267] = ItemType.Ladder; + mappings[1132] = ItemType.Lantern; + mappings[159] = ItemType.LapisBlock; + mappings[741] = ItemType.LapisLazuli; + mappings[57] = ItemType.LapisOre; + mappings[1178] = ItemType.LargeAmethystBud; + mappings[432] = ItemType.LargeFern; + mappings[843] = ItemType.LavaBucket; + mappings[1054] = ItemType.Lead; + mappings[846] = ItemType.Leather; + mappings[794] = ItemType.LeatherBoots; + mappings[792] = ItemType.LeatherChestplate; + mappings[791] = ItemType.LeatherHelmet; + mappings[1053] = ItemType.LeatherHorseArmor; + mappings[793] = ItemType.LeatherLeggings; + mappings[631] = ItemType.Lectern; + mappings[633] = ItemType.Lever; + mappings[406] = ItemType.Light; + mappings[1062] = ItemType.LightBlueBanner; + mappings[900] = ItemType.LightBlueBed; + mappings[1163] = ItemType.LightBlueCandle; + mappings[411] = ItemType.LightBlueCarpet; + mappings[520] = ItemType.LightBlueConcrete; + mappings[536] = ItemType.LightBlueConcretePowder; + mappings[880] = ItemType.LightBlueDye; + mappings[504] = ItemType.LightBlueGlazedTerracotta; + mappings[488] = ItemType.LightBlueShulkerBox; + mappings[436] = ItemType.LightBlueStainedGlass; + mappings[452] = ItemType.LightBlueStainedGlassPane; + mappings[392] = ItemType.LightBlueTerracotta; + mappings[174] = ItemType.LightBlueWool; + mappings[1067] = ItemType.LightGrayBanner; + mappings[905] = ItemType.LightGrayBed; + mappings[1168] = ItemType.LightGrayCandle; + mappings[416] = ItemType.LightGrayCarpet; + mappings[525] = ItemType.LightGrayConcrete; + mappings[541] = ItemType.LightGrayConcretePowder; + mappings[885] = ItemType.LightGrayDye; + mappings[509] = ItemType.LightGrayGlazedTerracotta; + mappings[493] = ItemType.LightGrayShulkerBox; + mappings[441] = ItemType.LightGrayStainedGlass; + mappings[457] = ItemType.LightGrayStainedGlassPane; + mappings[397] = ItemType.LightGrayTerracotta; + mappings[179] = ItemType.LightGrayWool; + mappings[656] = ItemType.LightWeightedPressurePlate; + mappings[634] = ItemType.LightningRod; + mappings[428] = ItemType.Lilac; + mappings[198] = ItemType.LilyOfTheValley; + mappings[328] = ItemType.LilyPad; + mappings[1064] = ItemType.LimeBanner; + mappings[902] = ItemType.LimeBed; + mappings[1165] = ItemType.LimeCandle; + mappings[413] = ItemType.LimeCarpet; + mappings[522] = ItemType.LimeConcrete; + mappings[538] = ItemType.LimeConcretePowder; + mappings[882] = ItemType.LimeDye; + mappings[506] = ItemType.LimeGlazedTerracotta; + mappings[490] = ItemType.LimeShulkerBox; + mappings[438] = ItemType.LimeStainedGlass; + mappings[454] = ItemType.LimeStainedGlassPane; + mappings[394] = ItemType.LimeTerracotta; + mappings[176] = ItemType.LimeWool; + mappings[1085] = ItemType.LingeringPotion; + mappings[970] = ItemType.LlamaSpawnEgg; + mappings[1144] = ItemType.Lodestone; + mappings[1114] = ItemType.Loom; + mappings[1061] = ItemType.MagentaBanner; + mappings[899] = ItemType.MagentaBed; + mappings[1162] = ItemType.MagentaCandle; + mappings[410] = ItemType.MagentaCarpet; + mappings[519] = ItemType.MagentaConcrete; + mappings[535] = ItemType.MagentaConcretePowder; + mappings[879] = ItemType.MagentaDye; + mappings[503] = ItemType.MagentaGlazedTerracotta; + mappings[487] = ItemType.MagentaShulkerBox; + mappings[435] = ItemType.MagentaStainedGlass; + mappings[451] = ItemType.MagentaStainedGlassPane; + mappings[391] = ItemType.MagentaTerracotta; + mappings[173] = ItemType.MagentaWool; + mappings[478] = ItemType.MagmaBlock; + mappings[935] = ItemType.MagmaCream; + mappings[971] = ItemType.MagmaCubeSpawnEgg; + mappings[725] = ItemType.MangroveBoat; + mappings[650] = ItemType.MangroveButton; + mappings[726] = ItemType.MangroveChestBoat; + mappings[675] = ItemType.MangroveDoor; + mappings[281] = ItemType.MangroveFence; + mappings[696] = ItemType.MangroveFenceGate; + mappings[837] = ItemType.MangroveHangingSign; + mappings[152] = ItemType.MangroveLeaves; + mappings[112] = ItemType.MangroveLog; + mappings[29] = ItemType.MangrovePlanks; + mappings[664] = ItemType.MangrovePressurePlate; + mappings[40] = ItemType.MangrovePropagule; + mappings[113] = ItemType.MangroveRoots; + mappings[827] = ItemType.MangroveSign; + mappings[224] = ItemType.MangroveSlab; + mappings[352] = ItemType.MangroveStairs; + mappings[686] = ItemType.MangroveTrapdoor; + mappings[143] = ItemType.MangroveWood; + mappings[1027] = ItemType.Map; + mappings[1177] = ItemType.MediumAmethystBud; + mappings[321] = ItemType.Melon; + mappings[919] = ItemType.MelonSeeds; + mappings[916] = ItemType.MelonSlice; + mappings[847] = ItemType.MilkBucket; + mappings[705] = ItemType.Minecart; + mappings[1118] = ItemType.MojangBannerPattern; + mappings[972] = ItemType.MooshroomSpawnEgg; + mappings[213] = ItemType.MossBlock; + mappings[212] = ItemType.MossCarpet; + mappings[253] = ItemType.MossyCobblestone; + mappings[604] = ItemType.MossyCobblestoneSlab; + mappings[586] = ItemType.MossyCobblestoneStairs; + mappings[360] = ItemType.MossyCobblestoneWall; + mappings[602] = ItemType.MossyStoneBrickSlab; + mappings[584] = ItemType.MossyStoneBrickStairs; + mappings[364] = ItemType.MossyStoneBrickWall; + mappings[304] = ItemType.MossyStoneBricks; + mappings[19] = ItemType.Mud; + mappings[237] = ItemType.MudBrickSlab; + mappings[326] = ItemType.MudBrickStairs; + mappings[367] = ItemType.MudBrickWall; + mappings[308] = ItemType.MudBricks; + mappings[114] = ItemType.MuddyMangroveRoots; + mappings[973] = ItemType.MuleSpawnEgg; + mappings[317] = ItemType.MushroomStem; + mappings[784] = ItemType.MushroomStew; + mappings[1102] = ItemType.MusicDisc11; + mappings[1092] = ItemType.MusicDisc13; + mappings[1105] = ItemType.MusicDisc5; + mappings[1094] = ItemType.MusicDiscBlocks; + mappings[1093] = ItemType.MusicDiscCat; + mappings[1095] = ItemType.MusicDiscChirp; + mappings[1096] = ItemType.MusicDiscFar; + mappings[1097] = ItemType.MusicDiscMall; + mappings[1098] = ItemType.MusicDiscMellohi; + mappings[1104] = ItemType.MusicDiscOtherside; + mappings[1106] = ItemType.MusicDiscPigstep; + mappings[1099] = ItemType.MusicDiscStal; + mappings[1100] = ItemType.MusicDiscStrad; + mappings[1103] = ItemType.MusicDiscWait; + mappings[1101] = ItemType.MusicDiscWard; + mappings[1057] = ItemType.Mutton; + mappings[327] = ItemType.Mycelium; + mappings[1055] = ItemType.NameTag; + mappings[1110] = ItemType.NautilusShell; + mappings[1041] = ItemType.NetherBrick; + mappings[332] = ItemType.NetherBrickFence; + mappings[238] = ItemType.NetherBrickSlab; + mappings[333] = ItemType.NetherBrickStairs; + mappings[368] = ItemType.NetherBrickWall; + mappings[329] = ItemType.NetherBricks; + mappings[61] = ItemType.NetherGoldOre; + mappings[62] = ItemType.NetherQuartzOre; + mappings[207] = ItemType.NetherSprouts; + mappings[1036] = ItemType.NetherStar; + mappings[929] = ItemType.NetherWart; + mappings[479] = ItemType.NetherWartBlock; + mappings[780] = ItemType.NetheriteAxe; + mappings[74] = ItemType.NetheriteBlock; + mappings[814] = ItemType.NetheriteBoots; + mappings[812] = ItemType.NetheriteChestplate; + mappings[811] = ItemType.NetheriteHelmet; + mappings[781] = ItemType.NetheriteHoe; + mappings[750] = ItemType.NetheriteIngot; + mappings[813] = ItemType.NetheriteLeggings; + mappings[779] = ItemType.NetheritePickaxe; + mappings[751] = ItemType.NetheriteScrap; + mappings[778] = ItemType.NetheriteShovel; + mappings[777] = ItemType.NetheriteSword; + mappings[288] = ItemType.Netherrack; + mappings[641] = ItemType.NoteBlock; + mappings[713] = ItemType.OakBoat; + mappings[644] = ItemType.OakButton; + mappings[714] = ItemType.OakChestBoat; + mappings[669] = ItemType.OakDoor; + mappings[275] = ItemType.OakFence; + mappings[690] = ItemType.OakFenceGate; + mappings[831] = ItemType.OakHangingSign; + mappings[146] = ItemType.OakLeaves; + mappings[106] = ItemType.OakLog; + mappings[23] = ItemType.OakPlanks; + mappings[658] = ItemType.OakPressurePlate; + mappings[34] = ItemType.OakSapling; + mappings[821] = ItemType.OakSign; + mappings[218] = ItemType.OakSlab; + mappings[346] = ItemType.OakStairs; + mappings[680] = ItemType.OakTrapdoor; + mappings[137] = ItemType.OakWood; + mappings[627] = ItemType.Observer; + mappings[254] = ItemType.Obsidian; + mappings[974] = ItemType.OcelotSpawnEgg; + mappings[1181] = ItemType.OchreFroglight; + mappings[1060] = ItemType.OrangeBanner; + mappings[898] = ItemType.OrangeBed; + mappings[1161] = ItemType.OrangeCandle; + mappings[409] = ItemType.OrangeCarpet; + mappings[518] = ItemType.OrangeConcrete; + mappings[534] = ItemType.OrangeConcretePowder; + mappings[878] = ItemType.OrangeDye; + mappings[502] = ItemType.OrangeGlazedTerracotta; + mappings[486] = ItemType.OrangeShulkerBox; + mappings[434] = ItemType.OrangeStainedGlass; + mappings[450] = ItemType.OrangeStainedGlassPane; + mappings[390] = ItemType.OrangeTerracotta; + mappings[193] = ItemType.OrangeTulip; + mappings[172] = ItemType.OrangeWool; + mappings[196] = ItemType.OxeyeDaisy; + mappings[77] = ItemType.OxidizedCopper; + mappings[81] = ItemType.OxidizedCutCopper; + mappings[89] = ItemType.OxidizedCutCopperSlab; + mappings[85] = ItemType.OxidizedCutCopperStairs; + mappings[425] = ItemType.PackedIce; + mappings[307] = ItemType.PackedMud; + mappings[818] = ItemType.Painting; + mappings[975] = ItemType.PandaSpawnEgg; + mappings[857] = ItemType.Paper; + mappings[976] = ItemType.ParrotSpawnEgg; + mappings[1183] = ItemType.PearlescentFroglight; + mappings[430] = ItemType.Peony; + mappings[233] = ItemType.PetrifiedOakSlab; + mappings[1109] = ItemType.PhantomMembrane; + mappings[977] = ItemType.PhantomSpawnEgg; + mappings[978] = ItemType.PigSpawnEgg; + mappings[1120] = ItemType.PiglinBannerPattern; + mappings[980] = ItemType.PiglinBruteSpawnEgg; + mappings[1035] = ItemType.PiglinHead; + mappings[979] = ItemType.PiglinSpawnEgg; + mappings[981] = ItemType.PillagerSpawnEgg; + mappings[1065] = ItemType.PinkBanner; + mappings[903] = ItemType.PinkBed; + mappings[1166] = ItemType.PinkCandle; + mappings[414] = ItemType.PinkCarpet; + mappings[523] = ItemType.PinkConcrete; + mappings[539] = ItemType.PinkConcretePowder; + mappings[883] = ItemType.PinkDye; + mappings[507] = ItemType.PinkGlazedTerracotta; + mappings[491] = ItemType.PinkShulkerBox; + mappings[439] = ItemType.PinkStainedGlass; + mappings[455] = ItemType.PinkStainedGlassPane; + mappings[395] = ItemType.PinkTerracotta; + mappings[195] = ItemType.PinkTulip; + mappings[177] = ItemType.PinkWool; + mappings[623] = ItemType.Piston; + mappings[1031] = ItemType.PlayerHead; + mappings[17] = ItemType.Podzol; + mappings[1180] = ItemType.PointedDripstone; + mappings[1026] = ItemType.PoisonousPotato; + mappings[982] = ItemType.PolarBearSpawnEgg; + mappings[7] = ItemType.PolishedAndesite; + mappings[611] = ItemType.PolishedAndesiteSlab; + mappings[594] = ItemType.PolishedAndesiteStairs; + mappings[292] = ItemType.PolishedBasalt; + mappings[1150] = ItemType.PolishedBlackstone; + mappings[1155] = ItemType.PolishedBlackstoneBrickSlab; + mappings[1156] = ItemType.PolishedBlackstoneBrickStairs; + mappings[376] = ItemType.PolishedBlackstoneBrickWall; + mappings[1154] = ItemType.PolishedBlackstoneBricks; + mappings[643] = ItemType.PolishedBlackstoneButton; + mappings[655] = ItemType.PolishedBlackstonePressurePlate; + mappings[1151] = ItemType.PolishedBlackstoneSlab; + mappings[1152] = ItemType.PolishedBlackstoneStairs; + mappings[375] = ItemType.PolishedBlackstoneWall; + mappings[10] = ItemType.PolishedDeepslate; + mappings[614] = ItemType.PolishedDeepslateSlab; + mappings[597] = ItemType.PolishedDeepslateStairs; + mappings[378] = ItemType.PolishedDeepslateWall; + mappings[5] = ItemType.PolishedDiorite; + mappings[603] = ItemType.PolishedDioriteSlab; + mappings[585] = ItemType.PolishedDioriteStairs; + mappings[3] = ItemType.PolishedGranite; + mappings[600] = ItemType.PolishedGraniteSlab; + mappings[582] = ItemType.PolishedGraniteStairs; + mappings[1077] = ItemType.PoppedChorusFruit; + mappings[188] = ItemType.Poppy; + mappings[816] = ItemType.Porkchop; + mappings[1024] = ItemType.Potato; + mappings[930] = ItemType.Potion; + mappings[844] = ItemType.PowderSnowBucket; + mappings[700] = ItemType.PoweredRail; + mappings[465] = ItemType.Prismarine; + mappings[244] = ItemType.PrismarineBrickSlab; + mappings[469] = ItemType.PrismarineBrickStairs; + mappings[466] = ItemType.PrismarineBricks; + mappings[1043] = ItemType.PrismarineCrystals; + mappings[1042] = ItemType.PrismarineShard; + mappings[243] = ItemType.PrismarineSlab; + mappings[468] = ItemType.PrismarineStairs; + mappings[362] = ItemType.PrismarineWall; + mappings[871] = ItemType.Pufferfish; + mappings[848] = ItemType.PufferfishBucket; + mappings[983] = ItemType.PufferfishSpawnEgg; + mappings[285] = ItemType.Pumpkin; + mappings[1037] = ItemType.PumpkinPie; + mappings[918] = ItemType.PumpkinSeeds; + mappings[1069] = ItemType.PurpleBanner; + mappings[907] = ItemType.PurpleBed; + mappings[1170] = ItemType.PurpleCandle; + mappings[418] = ItemType.PurpleCarpet; + mappings[527] = ItemType.PurpleConcrete; + mappings[543] = ItemType.PurpleConcretePowder; + mappings[887] = ItemType.PurpleDye; + mappings[511] = ItemType.PurpleGlazedTerracotta; + mappings[495] = ItemType.PurpleShulkerBox; + mappings[443] = ItemType.PurpleStainedGlass; + mappings[459] = ItemType.PurpleStainedGlassPane; + mappings[399] = ItemType.PurpleTerracotta; + mappings[181] = ItemType.PurpleWool; + mappings[259] = ItemType.PurpurBlock; + mappings[260] = ItemType.PurpurPillar; + mappings[242] = ItemType.PurpurSlab; + mappings[261] = ItemType.PurpurStairs; + mappings[742] = ItemType.Quartz; + mappings[385] = ItemType.QuartzBlock; + mappings[386] = ItemType.QuartzBricks; + mappings[387] = ItemType.QuartzPillar; + mappings[239] = ItemType.QuartzSlab; + mappings[388] = ItemType.QuartzStairs; + mappings[1044] = ItemType.Rabbit; + mappings[1047] = ItemType.RabbitFoot; + mappings[1048] = ItemType.RabbitHide; + mappings[984] = ItemType.RabbitSpawnEgg; + mappings[1046] = ItemType.RabbitStew; + mappings[702] = ItemType.Rail; + mappings[985] = ItemType.RavagerSpawnEgg; + mappings[746] = ItemType.RawCopper; + mappings[66] = ItemType.RawCopperBlock; + mappings[748] = ItemType.RawGold; + mappings[67] = ItemType.RawGoldBlock; + mappings[744] = ItemType.RawIron; + mappings[65] = ItemType.RawIronBlock; + mappings[862] = ItemType.RecoveryCompass; + mappings[1073] = ItemType.RedBanner; + mappings[911] = ItemType.RedBed; + mappings[1174] = ItemType.RedCandle; + mappings[422] = ItemType.RedCarpet; + mappings[531] = ItemType.RedConcrete; + mappings[547] = ItemType.RedConcretePowder; + mappings[891] = ItemType.RedDye; + mappings[515] = ItemType.RedGlazedTerracotta; + mappings[202] = ItemType.RedMushroom; + mappings[316] = ItemType.RedMushroomBlock; + mappings[610] = ItemType.RedNetherBrickSlab; + mappings[593] = ItemType.RedNetherBrickStairs; + mappings[370] = ItemType.RedNetherBrickWall; + mappings[481] = ItemType.RedNetherBricks; + mappings[43] = ItemType.RedSand; + mappings[472] = ItemType.RedSandstone; + mappings[240] = ItemType.RedSandstoneSlab; + mappings[475] = ItemType.RedSandstoneStairs; + mappings[363] = ItemType.RedSandstoneWall; + mappings[499] = ItemType.RedShulkerBox; + mappings[447] = ItemType.RedStainedGlass; + mappings[463] = ItemType.RedStainedGlassPane; + mappings[403] = ItemType.RedTerracotta; + mappings[192] = ItemType.RedTulip; + mappings[185] = ItemType.RedWool; + mappings[618] = ItemType.Redstone; + mappings[620] = ItemType.RedstoneBlock; + mappings[640] = ItemType.RedstoneLamp; + mappings[53] = ItemType.RedstoneOre; + mappings[619] = ItemType.RedstoneTorch; + mappings[314] = ItemType.ReinforcedDeepslate; + mappings[621] = ItemType.Repeater; + mappings[476] = ItemType.RepeatingCommandBlock; + mappings[1158] = ItemType.RespawnAnchor; + mappings[18] = ItemType.RootedDirt; + mappings[429] = ItemType.RoseBush; + mappings[924] = ItemType.RottenFlesh; + mappings[704] = ItemType.Saddle; + mappings[869] = ItemType.Salmon; + mappings[849] = ItemType.SalmonBucket; + mappings[986] = ItemType.SalmonSpawnEgg; + mappings[42] = ItemType.Sand; + mappings[160] = ItemType.Sandstone; + mappings[231] = ItemType.SandstoneSlab; + mappings[343] = ItemType.SandstoneStairs; + mappings[371] = ItemType.SandstoneWall; + mappings[617] = ItemType.Scaffolding; + mappings[334] = ItemType.Sculk; + mappings[336] = ItemType.SculkCatalyst; + mappings[636] = ItemType.SculkSensor; + mappings[337] = ItemType.SculkShrieker; + mappings[335] = ItemType.SculkVein; + mappings[732] = ItemType.Scute; + mappings[471] = ItemType.SeaLantern; + mappings[170] = ItemType.SeaPickle; + mappings[169] = ItemType.Seagrass; + mappings[915] = ItemType.Shears; + mappings[987] = ItemType.SheepSpawnEgg; + mappings[1086] = ItemType.Shield; + mappings[1138] = ItemType.Shroomlight; + mappings[484] = ItemType.ShulkerBox; + mappings[1088] = ItemType.ShulkerShell; + mappings[988] = ItemType.ShulkerSpawnEgg; + mappings[989] = ItemType.SilverfishSpawnEgg; + mappings[991] = ItemType.SkeletonHorseSpawnEgg; + mappings[1029] = ItemType.SkeletonSkull; + mappings[990] = ItemType.SkeletonSpawnEgg; + mappings[1117] = ItemType.SkullBannerPattern; + mappings[859] = ItemType.SlimeBall; + mappings[625] = ItemType.SlimeBlock; + mappings[992] = ItemType.SlimeSpawnEgg; + mappings[1176] = ItemType.SmallAmethystBud; + mappings[216] = ItemType.SmallDripleaf; + mappings[1129] = ItemType.SmithingTable; + mappings[1124] = ItemType.Smoker; + mappings[293] = ItemType.SmoothBasalt; + mappings[246] = ItemType.SmoothQuartz; + mappings[607] = ItemType.SmoothQuartzSlab; + mappings[590] = ItemType.SmoothQuartzStairs; + mappings[247] = ItemType.SmoothRedSandstone; + mappings[601] = ItemType.SmoothRedSandstoneSlab; + mappings[583] = ItemType.SmoothRedSandstoneStairs; + mappings[248] = ItemType.SmoothSandstone; + mappings[606] = ItemType.SmoothSandstoneSlab; + mappings[589] = ItemType.SmoothSandstoneStairs; + mappings[249] = ItemType.SmoothStone; + mappings[230] = ItemType.SmoothStoneSlab; + mappings[269] = ItemType.Snow; + mappings[271] = ItemType.SnowBlock; + mappings[993] = ItemType.SnowGolemSpawnEgg; + mappings[845] = ItemType.Snowball; + mappings[1137] = ItemType.SoulCampfire; + mappings[1133] = ItemType.SoulLantern; + mappings[289] = ItemType.SoulSand; + mappings[290] = ItemType.SoulSoil; + mappings[294] = ItemType.SoulTorch; + mappings[262] = ItemType.Spawner; + mappings[1083] = ItemType.SpectralArrow; + mappings[932] = ItemType.SpiderEye; + mappings[994] = ItemType.SpiderSpawnEgg; + mappings[1082] = ItemType.SplashPotion; + mappings[155] = ItemType.Sponge; + mappings[200] = ItemType.SporeBlossom; + mappings[715] = ItemType.SpruceBoat; + mappings[645] = ItemType.SpruceButton; + mappings[716] = ItemType.SpruceChestBoat; + mappings[670] = ItemType.SpruceDoor; + mappings[276] = ItemType.SpruceFence; + mappings[691] = ItemType.SpruceFenceGate; + mappings[832] = ItemType.SpruceHangingSign; + mappings[147] = ItemType.SpruceLeaves; + mappings[107] = ItemType.SpruceLog; + mappings[24] = ItemType.SprucePlanks; + mappings[659] = ItemType.SprucePressurePlate; + mappings[35] = ItemType.SpruceSapling; + mappings[822] = ItemType.SpruceSign; + mappings[219] = ItemType.SpruceSlab; + mappings[347] = ItemType.SpruceStairs; + mappings[681] = ItemType.SpruceTrapdoor; + mappings[138] = ItemType.SpruceWood; + mappings[866] = ItemType.Spyglass; + mappings[995] = ItemType.SquidSpawnEgg; + mappings[782] = ItemType.Stick; + mappings[624] = ItemType.StickyPiston; + mappings[1] = ItemType.Stone; + mappings[760] = ItemType.StoneAxe; + mappings[236] = ItemType.StoneBrickSlab; + mappings[325] = ItemType.StoneBrickStairs; + mappings[366] = ItemType.StoneBrickWall; + mappings[303] = ItemType.StoneBricks; + mappings[642] = ItemType.StoneButton; + mappings[761] = ItemType.StoneHoe; + mappings[759] = ItemType.StonePickaxe; + mappings[654] = ItemType.StonePressurePlate; + mappings[758] = ItemType.StoneShovel; + mappings[229] = ItemType.StoneSlab; + mappings[588] = ItemType.StoneStairs; + mappings[757] = ItemType.StoneSword; + mappings[1130] = ItemType.Stonecutter; + mappings[996] = ItemType.StraySpawnEgg; + mappings[997] = ItemType.StriderSpawnEgg; + mappings[785] = ItemType.String; + mappings[122] = ItemType.StrippedAcaciaLog; + mappings[131] = ItemType.StrippedAcaciaWood; + mappings[136] = ItemType.StrippedBambooBlock; + mappings[120] = ItemType.StrippedBirchLog; + mappings[129] = ItemType.StrippedBirchWood; + mappings[134] = ItemType.StrippedCrimsonHyphae; + mappings[125] = ItemType.StrippedCrimsonStem; + mappings[123] = ItemType.StrippedDarkOakLog; + mappings[132] = ItemType.StrippedDarkOakWood; + mappings[121] = ItemType.StrippedJungleLog; + mappings[130] = ItemType.StrippedJungleWood; + mappings[124] = ItemType.StrippedMangroveLog; + mappings[133] = ItemType.StrippedMangroveWood; + mappings[118] = ItemType.StrippedOakLog; + mappings[127] = ItemType.StrippedOakWood; + mappings[119] = ItemType.StrippedSpruceLog; + mappings[128] = ItemType.StrippedSpruceWood; + mappings[135] = ItemType.StrippedWarpedHyphae; + mappings[126] = ItemType.StrippedWarpedStem; + mappings[729] = ItemType.StructureBlock; + mappings[483] = ItemType.StructureVoid; + mappings[895] = ItemType.Sugar; + mappings[210] = ItemType.SugarCane; + mappings[427] = ItemType.Sunflower; + mappings[1113] = ItemType.SuspiciousStew; + mappings[1134] = ItemType.SweetBerries; + mappings[853] = ItemType.TadpoleBucket; + mappings[998] = ItemType.TadpoleSpawnEgg; + mappings[431] = ItemType.TallGrass; + mappings[632] = ItemType.Target; + mappings[424] = ItemType.Terracotta; + mappings[158] = ItemType.TintedGlass; + mappings[1084] = ItemType.TippedArrow; + mappings[639] = ItemType.Tnt; + mappings[708] = ItemType.TntMinecart; + mappings[255] = ItemType.Torch; + mappings[1087] = ItemType.TotemOfUndying; + mappings[999] = ItemType.TraderLlamaSpawnEgg; + mappings[638] = ItemType.TrappedChest; + mappings[1108] = ItemType.Trident; + mappings[637] = ItemType.TripwireHook; + mappings[870] = ItemType.TropicalFish; + mappings[851] = ItemType.TropicalFishBucket; + mappings[1000] = ItemType.TropicalFishSpawnEgg; + mappings[560] = ItemType.TubeCoral; + mappings[555] = ItemType.TubeCoralBlock; + mappings[570] = ItemType.TubeCoralFan; + mappings[12] = ItemType.Tuff; + mappings[549] = ItemType.TurtleEgg; + mappings[731] = ItemType.TurtleHelmet; + mappings[1001] = ItemType.TurtleSpawnEgg; + mappings[209] = ItemType.TwistingVines; + mappings[1182] = ItemType.VerdantFroglight; + mappings[1002] = ItemType.VexSpawnEgg; + mappings[1003] = ItemType.VillagerSpawnEgg; + mappings[1004] = ItemType.VindicatorSpawnEgg; + mappings[322] = ItemType.Vine; + mappings[1005] = ItemType.WanderingTraderSpawnEgg; + mappings[1006] = ItemType.WardenSpawnEgg; + mappings[653] = ItemType.WarpedButton; + mappings[678] = ItemType.WarpedDoor; + mappings[284] = ItemType.WarpedFence; + mappings[699] = ItemType.WarpedFenceGate; + mappings[204] = ItemType.WarpedFungus; + mappings[711] = ItemType.WarpedFungusOnAStick; + mappings[840] = ItemType.WarpedHangingSign; + mappings[145] = ItemType.WarpedHyphae; + mappings[21] = ItemType.WarpedNylium; + mappings[32] = ItemType.WarpedPlanks; + mappings[667] = ItemType.WarpedPressurePlate; + mappings[206] = ItemType.WarpedRoots; + mappings[830] = ItemType.WarpedSign; + mappings[228] = ItemType.WarpedSlab; + mappings[356] = ItemType.WarpedStairs; + mappings[116] = ItemType.WarpedStem; + mappings[689] = ItemType.WarpedTrapdoor; + mappings[480] = ItemType.WarpedWartBlock; + mappings[842] = ItemType.WaterBucket; + mappings[90] = ItemType.WaxedCopperBlock; + mappings[94] = ItemType.WaxedCutCopper; + mappings[102] = ItemType.WaxedCutCopperSlab; + mappings[98] = ItemType.WaxedCutCopperStairs; + mappings[91] = ItemType.WaxedExposedCopper; + mappings[95] = ItemType.WaxedExposedCutCopper; + mappings[103] = ItemType.WaxedExposedCutCopperSlab; + mappings[99] = ItemType.WaxedExposedCutCopperStairs; + mappings[93] = ItemType.WaxedOxidizedCopper; + mappings[97] = ItemType.WaxedOxidizedCutCopper; + mappings[105] = ItemType.WaxedOxidizedCutCopperSlab; + mappings[101] = ItemType.WaxedOxidizedCutCopperStairs; + mappings[92] = ItemType.WaxedWeatheredCopper; + mappings[96] = ItemType.WaxedWeatheredCutCopper; + mappings[104] = ItemType.WaxedWeatheredCutCopperSlab; + mappings[100] = ItemType.WaxedWeatheredCutCopperStairs; + mappings[76] = ItemType.WeatheredCopper; + mappings[80] = ItemType.WeatheredCutCopper; + mappings[88] = ItemType.WeatheredCutCopperSlab; + mappings[84] = ItemType.WeatheredCutCopperStairs; + mappings[208] = ItemType.WeepingVines; + mappings[156] = ItemType.WetSponge; + mappings[789] = ItemType.Wheat; + mappings[788] = ItemType.WheatSeeds; + mappings[1059] = ItemType.WhiteBanner; + mappings[897] = ItemType.WhiteBed; + mappings[1160] = ItemType.WhiteCandle; + mappings[408] = ItemType.WhiteCarpet; + mappings[517] = ItemType.WhiteConcrete; + mappings[533] = ItemType.WhiteConcretePowder; + mappings[877] = ItemType.WhiteDye; + mappings[501] = ItemType.WhiteGlazedTerracotta; + mappings[485] = ItemType.WhiteShulkerBox; + mappings[433] = ItemType.WhiteStainedGlass; + mappings[449] = ItemType.WhiteStainedGlassPane; + mappings[389] = ItemType.WhiteTerracotta; + mappings[194] = ItemType.WhiteTulip; + mappings[171] = ItemType.WhiteWool; + mappings[1007] = ItemType.WitchSpawnEgg; + mappings[199] = ItemType.WitherRose; + mappings[1030] = ItemType.WitherSkeletonSkull; + mappings[1009] = ItemType.WitherSkeletonSpawnEgg; + mappings[1008] = ItemType.WitherSpawnEgg; + mappings[1010] = ItemType.WolfSpawnEgg; + mappings[755] = ItemType.WoodenAxe; + mappings[756] = ItemType.WoodenHoe; + mappings[754] = ItemType.WoodenPickaxe; + mappings[753] = ItemType.WoodenShovel; + mappings[752] = ItemType.WoodenSword; + mappings[1018] = ItemType.WritableBook; + mappings[1019] = ItemType.WrittenBook; + mappings[1063] = ItemType.YellowBanner; + mappings[901] = ItemType.YellowBed; + mappings[1164] = ItemType.YellowCandle; + mappings[412] = ItemType.YellowCarpet; + mappings[521] = ItemType.YellowConcrete; + mappings[537] = ItemType.YellowConcretePowder; + mappings[881] = ItemType.YellowDye; + mappings[505] = ItemType.YellowGlazedTerracotta; + mappings[489] = ItemType.YellowShulkerBox; + mappings[437] = ItemType.YellowStainedGlass; + mappings[453] = ItemType.YellowStainedGlassPane; + mappings[393] = ItemType.YellowTerracotta; + mappings[175] = ItemType.YellowWool; + mappings[1011] = ItemType.ZoglinSpawnEgg; + mappings[1032] = ItemType.ZombieHead; + mappings[1013] = ItemType.ZombieHorseSpawnEgg; + mappings[1012] = ItemType.ZombieSpawnEgg; + mappings[1014] = ItemType.ZombieVillagerSpawnEgg; + mappings[1015] = ItemType.ZombifiedPiglinSpawnEgg; + } + + protected override Dictionary GetDict() + { + return mappings; + } + } +} diff --git a/MinecraftClient/Inventory/ItemType.cs b/MinecraftClient/Inventory/ItemType.cs index 0e487d5b..11807ab7 100644 --- a/MinecraftClient/Inventory/ItemType.cs +++ b/MinecraftClient/Inventory/ItemType.cs @@ -20,6 +20,7 @@ AcaciaDoor, AcaciaFence, AcaciaFenceGate, + AcaciaHangingSign, AcaciaLeaves, AcaciaLog, AcaciaPlanks, @@ -53,6 +54,23 @@ AzureBluet, BakedPotato, Bamboo, + BambooBlock, + BambooButton, + BambooChestRaft, + BambooDoor, + BambooFence, + BambooFenceGate, + BambooHangingSign, + BambooMosaic, + BambooMosaicSlab, + BambooMosaicStairs, + BambooPlanks, + BambooPressurePlate, + BambooRaft, + BambooSign, + BambooSlab, + BambooStairs, + BambooTrapdoor, Barrel, Barrier, Basalt, @@ -74,6 +92,7 @@ BirchDoor, BirchFence, BirchFenceGate, + BirchHangingSign, BirchLeaves, BirchLog, BirchPlanks, @@ -161,6 +180,7 @@ Cactus, Cake, Calcite, + CamelSpawnEgg, Campfire, Candle, Carrot, @@ -182,6 +202,7 @@ Chicken, ChickenSpawnEgg, ChippedAnvil, + ChiseledBookshelf, ChiseledDeepslate, ChiseledNetherBricks, ChiseledPolishedBlackstone, @@ -245,6 +266,7 @@ CrimsonFence, CrimsonFenceGate, CrimsonFungus, + CrimsonHangingSign, CrimsonHyphae, CrimsonNylium, CrimsonPlanks, @@ -285,6 +307,7 @@ DarkOakDoor, DarkOakFence, DarkOakFenceGate, + DarkOakHangingSign, DarkOakLeaves, DarkOakLog, DarkOakPlanks, @@ -384,6 +407,7 @@ EndStoneBrickWall, EndStoneBricks, EnderChest, + EnderDragonSpawnEgg, EnderEye, EnderPearl, EndermanSpawnEgg, @@ -518,6 +542,7 @@ IronBoots, IronChestplate, IronDoor, + IronGolemSpawnEgg, IronHelmet, IronHoe, IronHorseArmor, @@ -539,6 +564,7 @@ JungleDoor, JungleFence, JungleFenceGate, + JungleHangingSign, JungleLeaves, JungleLog, JunglePlanks, @@ -639,6 +665,7 @@ MangroveDoor, MangroveFence, MangroveFenceGate, + MangroveHangingSign, MangroveLeaves, MangroveLog, MangrovePlanks, @@ -729,6 +756,7 @@ OakDoor, OakFence, OakFenceGate, + OakHangingSign, OakLeaves, OakLog, OakPlanks, @@ -776,6 +804,7 @@ PigSpawnEgg, PiglinBannerPattern, PiglinBruteSpawnEgg, + PiglinHead, PiglinSpawnEgg, PillagerSpawnEgg, PinkBanner, @@ -970,6 +999,7 @@ SmoothStoneSlab, Snow, SnowBlock, + SnowGolemSpawnEgg, Snowball, SoulCampfire, SoulLantern, @@ -989,6 +1019,7 @@ SpruceDoor, SpruceFence, SpruceFenceGate, + SpruceHangingSign, SpruceLeaves, SpruceLog, SprucePlanks, @@ -1023,6 +1054,7 @@ String, StrippedAcaciaLog, StrippedAcaciaWood, + StrippedBambooBlock, StrippedBirchLog, StrippedBirchWood, StrippedCrimsonHyphae, @@ -1085,6 +1117,7 @@ WarpedFenceGate, WarpedFungus, WarpedFungusOnAStick, + WarpedHangingSign, WarpedHyphae, WarpedNylium, WarpedPlanks, @@ -1139,6 +1172,7 @@ WitherRose, WitherSkeletonSkull, WitherSkeletonSpawnEgg, + WitherSpawnEgg, WolfSpawnEgg, WoodenAxe, WoodenHoe, diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette1193.cs b/MinecraftClient/Mapping/BlockPalettes/Palette1193.cs new file mode 100644 index 00000000..eb1e61fb --- /dev/null +++ b/MinecraftClient/Mapping/BlockPalettes/Palette1193.cs @@ -0,0 +1,1605 @@ +using System.Collections.Generic; + +namespace MinecraftClient.Mapping.BlockPalettes +{ + public class Palette1193 : BlockPalette + { + private static readonly Dictionary materials = new(); + + static Palette1193() + { + for (int i = 8475; i <= 8498; i++) + materials[i] = Material.AcaciaButton; + for (int i = 11467; i <= 11530; i++) + materials[i] = Material.AcaciaDoor; + for (int i = 11147; i <= 11178; i++) + materials[i] = Material.AcaciaFence; + for (int i = 10923; i <= 10954; i++) + materials[i] = Material.AcaciaFenceGate; + for (int i = 4934; i <= 4997; i++) + materials[i] = Material.AcaciaHangingSign; + for (int i = 326; i <= 353; i++) + materials[i] = Material.AcaciaLeaves; + for (int i = 131; i <= 133; i++) + materials[i] = Material.AcaciaLog; + materials[19] = Material.AcaciaPlanks; + for (int i = 5560; i <= 5561; i++) + materials[i] = Material.AcaciaPressurePlate; + for (int i = 32; i <= 33; i++) + materials[i] = Material.AcaciaSapling; + for (int i = 4346; i <= 4377; i++) + materials[i] = Material.AcaciaSign; + for (int i = 10709; i <= 10714; i++) + materials[i] = Material.AcaciaSlab; + for (int i = 9488; i <= 9567; i++) + materials[i] = Material.AcaciaStairs; + for (int i = 6052; i <= 6115; i++) + materials[i] = Material.AcaciaTrapdoor; + for (int i = 5406; i <= 5413; i++) + materials[i] = Material.AcaciaWallHangingSign; + for (int i = 4702; i <= 4709; i++) + materials[i] = Material.AcaciaWallSign; + for (int i = 184; i <= 186; i++) + materials[i] = Material.AcaciaWood; + for (int i = 8924; i <= 8947; i++) + materials[i] = Material.ActivatorRail; + materials[0] = Material.Air; + materials[2027] = Material.Allium; + materials[20403] = Material.AmethystBlock; + for (int i = 20405; i <= 20416; i++) + materials[i] = Material.AmethystCluster; + materials[18820] = Material.AncientDebris; + materials[6] = Material.Andesite; + for (int i = 13508; i <= 13513; i++) + materials[i] = Material.AndesiteSlab; + for (int i = 13134; i <= 13213; i++) + materials[i] = Material.AndesiteStairs; + for (int i = 16124; i <= 16447; i++) + materials[i] = Material.AndesiteWall; + for (int i = 8711; i <= 8714; i++) + materials[i] = Material.Anvil; + for (int i = 6587; i <= 6590; i++) + materials[i] = Material.AttachedMelonStem; + for (int i = 6583; i <= 6586; i++) + materials[i] = Material.AttachedPumpkinStem; + materials[21498] = Material.Azalea; + for (int i = 410; i <= 437; i++) + materials[i] = Material.AzaleaLeaves; + materials[2028] = Material.AzureBluet; + for (int i = 12317; i <= 12328; i++) + materials[i] = Material.Bamboo; + for (int i = 145; i <= 147; i++) + materials[i] = Material.BambooBlock; + for (int i = 8547; i <= 8570; i++) + materials[i] = Material.BambooButton; + for (int i = 11659; i <= 11722; i++) + materials[i] = Material.BambooDoor; + for (int i = 11243; i <= 11274; i++) + materials[i] = Material.BambooFence; + for (int i = 11019; i <= 11050; i++) + materials[i] = Material.BambooFenceGate; + for (int i = 5318; i <= 5381; i++) + materials[i] = Material.BambooHangingSign; + materials[23] = Material.BambooMosaic; + for (int i = 10733; i <= 10738; i++) + materials[i] = Material.BambooMosaicSlab; + for (int i = 9808; i <= 9887; i++) + materials[i] = Material.BambooMosaicStairs; + materials[22] = Material.BambooPlanks; + for (int i = 5566; i <= 5567; i++) + materials[i] = Material.BambooPressurePlate; + materials[12316] = Material.BambooSapling; + for (int i = 4474; i <= 4505; i++) + materials[i] = Material.BambooSign; + for (int i = 10727; i <= 10732; i++) + materials[i] = Material.BambooSlab; + for (int i = 9728; i <= 9807; i++) + materials[i] = Material.BambooStairs; + for (int i = 6244; i <= 6307; i++) + materials[i] = Material.BambooTrapdoor; + for (int i = 5454; i <= 5461; i++) + materials[i] = Material.BambooWallHangingSign; + for (int i = 4734; i <= 4741; i++) + materials[i] = Material.BambooWallSign; + for (int i = 17780; i <= 17791; i++) + materials[i] = Material.Barrel; + materials[9889] = Material.Barrier; + for (int i = 5687; i <= 5689; i++) + materials[i] = Material.Basalt; + materials[7688] = Material.Beacon; + materials[76] = Material.Bedrock; + for (int i = 18769; i <= 18792; i++) + materials[i] = Material.BeeNest; + for (int i = 18793; i <= 18816; i++) + materials[i] = Material.Beehive; + for (int i = 11884; i <= 11887; i++) + materials[i] = Material.Beetroots; + for (int i = 17843; i <= 17874; i++) + materials[i] = Material.Bell; + for (int i = 21502; i <= 21533; i++) + materials[i] = Material.BigDripleaf; + for (int i = 21534; i <= 21541; i++) + materials[i] = Material.BigDripleafStem; + for (int i = 8427; i <= 8450; i++) + materials[i] = Material.BirchButton; + for (int i = 11339; i <= 11402; i++) + materials[i] = Material.BirchDoor; + for (int i = 11083; i <= 11114; i++) + materials[i] = Material.BirchFence; + for (int i = 10859; i <= 10890; i++) + materials[i] = Material.BirchFenceGate; + for (int i = 4870; i <= 4933; i++) + materials[i] = Material.BirchHangingSign; + for (int i = 270; i <= 297; i++) + materials[i] = Material.BirchLeaves; + for (int i = 125; i <= 127; i++) + materials[i] = Material.BirchLog; + materials[17] = Material.BirchPlanks; + for (int i = 5556; i <= 5557; i++) + materials[i] = Material.BirchPressurePlate; + for (int i = 28; i <= 29; i++) + materials[i] = Material.BirchSapling; + for (int i = 4314; i <= 4345; i++) + materials[i] = Material.BirchSign; + for (int i = 10697; i <= 10702; i++) + materials[i] = Material.BirchSlab; + for (int i = 7516; i <= 7595; i++) + materials[i] = Material.BirchStairs; + for (int i = 5924; i <= 5987; i++) + materials[i] = Material.BirchTrapdoor; + for (int i = 5398; i <= 5405; i++) + materials[i] = Material.BirchWallHangingSign; + for (int i = 4694; i <= 4701; i++) + materials[i] = Material.BirchWallSign; + for (int i = 178; i <= 180; i++) + materials[i] = Material.BirchWood; + for (int i = 10522; i <= 10537; i++) + materials[i] = Material.BlackBanner; + for (int i = 1877; i <= 1892; i++) + materials[i] = Material.BlackBed; + for (int i = 20353; i <= 20368; i++) + materials[i] = Material.BlackCandle; + for (int i = 20401; i <= 20402; i++) + materials[i] = Material.BlackCandleCake; + materials[10266] = Material.BlackCarpet; + materials[12118] = Material.BlackConcrete; + materials[12134] = Material.BlackConcretePowder; + for (int i = 12099; i <= 12102; i++) + materials[i] = Material.BlackGlazedTerracotta; + for (int i = 12033; i <= 12038; i++) + materials[i] = Material.BlackShulkerBox; + materials[5795] = Material.BlackStainedGlass; + for (int i = 9456; i <= 9487; i++) + materials[i] = Material.BlackStainedGlassPane; + materials[8975] = Material.BlackTerracotta; + for (int i = 10598; i <= 10601; i++) + materials[i] = Material.BlackWallBanner; + materials[2011] = Material.BlackWool; + materials[18832] = Material.Blackstone; + for (int i = 19237; i <= 19242; i++) + materials[i] = Material.BlackstoneSlab; + for (int i = 18833; i <= 18912; i++) + materials[i] = Material.BlackstoneStairs; + for (int i = 18913; i <= 19236; i++) + materials[i] = Material.BlackstoneWall; + for (int i = 17800; i <= 17807; i++) + materials[i] = Material.BlastFurnace; + for (int i = 10458; i <= 10473; i++) + materials[i] = Material.BlueBanner; + for (int i = 1813; i <= 1828; i++) + materials[i] = Material.BlueBed; + for (int i = 20289; i <= 20304; i++) + materials[i] = Material.BlueCandle; + for (int i = 20393; i <= 20394; i++) + materials[i] = Material.BlueCandleCake; + materials[10262] = Material.BlueCarpet; + materials[12114] = Material.BlueConcrete; + materials[12130] = Material.BlueConcretePowder; + for (int i = 12083; i <= 12086; i++) + materials[i] = Material.BlueGlazedTerracotta; + materials[12313] = Material.BlueIce; + materials[2026] = Material.BlueOrchid; + for (int i = 12009; i <= 12014; i++) + materials[i] = Material.BlueShulkerBox; + materials[5791] = Material.BlueStainedGlass; + for (int i = 9328; i <= 9359; i++) + materials[i] = Material.BlueStainedGlassPane; + materials[8971] = Material.BlueTerracotta; + for (int i = 10582; i <= 10585; i++) + materials[i] = Material.BlueWallBanner; + materials[2007] = Material.BlueWool; + for (int i = 11921; i <= 11923; i++) + materials[i] = Material.BoneBlock; + materials[2044] = Material.Bookshelf; + for (int i = 12197; i <= 12198; i++) + materials[i] = Material.BrainCoral; + materials[12181] = Material.BrainCoralBlock; + for (int i = 12217; i <= 12218; i++) + materials[i] = Material.BrainCoralFan; + for (int i = 12273; i <= 12280; i++) + materials[i] = Material.BrainCoralWallFan; + for (int i = 7160; i <= 7167; i++) + materials[i] = Material.BrewingStand; + for (int i = 10775; i <= 10780; i++) + materials[i] = Material.BrickSlab; + for (int i = 6799; i <= 6878; i++) + materials[i] = Material.BrickStairs; + for (int i = 13532; i <= 13855; i++) + materials[i] = Material.BrickWall; + materials[2041] = Material.Bricks; + for (int i = 10474; i <= 10489; i++) + materials[i] = Material.BrownBanner; + for (int i = 1829; i <= 1844; i++) + materials[i] = Material.BrownBed; + for (int i = 20305; i <= 20320; i++) + materials[i] = Material.BrownCandle; + for (int i = 20395; i <= 20396; i++) + materials[i] = Material.BrownCandleCake; + materials[10263] = Material.BrownCarpet; + materials[12115] = Material.BrownConcrete; + materials[12131] = Material.BrownConcretePowder; + for (int i = 12087; i <= 12090; i++) + materials[i] = Material.BrownGlazedTerracotta; + materials[2037] = Material.BrownMushroom; + for (int i = 6320; i <= 6383; i++) + materials[i] = Material.BrownMushroomBlock; + for (int i = 12015; i <= 12020; i++) + materials[i] = Material.BrownShulkerBox; + materials[5792] = Material.BrownStainedGlass; + for (int i = 9360; i <= 9391; i++) + materials[i] = Material.BrownStainedGlassPane; + materials[8972] = Material.BrownTerracotta; + for (int i = 10586; i <= 10589; i++) + materials[i] = Material.BrownWallBanner; + materials[2008] = Material.BrownWool; + for (int i = 12332; i <= 12333; i++) + materials[i] = Material.BubbleColumn; + for (int i = 12199; i <= 12200; i++) + materials[i] = Material.BubbleCoral; + materials[12182] = Material.BubbleCoralBlock; + for (int i = 12219; i <= 12220; i++) + materials[i] = Material.BubbleCoralFan; + for (int i = 12281; i <= 12288; i++) + materials[i] = Material.BubbleCoralWallFan; + materials[20404] = Material.BuddingAmethyst; + for (int i = 5616; i <= 5631; i++) + materials[i] = Material.Cactus; + for (int i = 5709; i <= 5715; i++) + materials[i] = Material.Cake; + materials[20454] = Material.Calcite; + for (int i = 17883; i <= 17914; i++) + materials[i] = Material.Campfire; + for (int i = 20097; i <= 20112; i++) + materials[i] = Material.Candle; + for (int i = 20369; i <= 20370; i++) + materials[i] = Material.CandleCake; + for (int i = 8363; i <= 8370; i++) + materials[i] = Material.Carrots; + materials[17808] = Material.CartographyTable; + for (int i = 5701; i <= 5704; i++) + materials[i] = Material.CarvedPumpkin; + materials[7168] = Material.Cauldron; + materials[12331] = Material.CaveAir; + for (int i = 21443; i <= 21494; i++) + materials[i] = Material.CaveVines; + for (int i = 21495; i <= 21496; i++) + materials[i] = Material.CaveVinesPlant; + for (int i = 6544; i <= 6549; i++) + materials[i] = Material.Chain; + for (int i = 11902; i <= 11913; i++) + materials[i] = Material.ChainCommandBlock; + for (int i = 2902; i <= 2925; i++) + materials[i] = Material.Chest; + for (int i = 8715; i <= 8718; i++) + materials[i] = Material.ChippedAnvil; + for (int i = 2045; i <= 2300; i++) + materials[i] = Material.ChiseledBookshelf; + materials[23209] = Material.ChiseledDeepslate; + materials[20094] = Material.ChiseledNetherBricks; + materials[19246] = Material.ChiseledPolishedBlackstone; + materials[8840] = Material.ChiseledQuartzBlock; + materials[10603] = Material.ChiseledRedSandstone; + materials[485] = Material.ChiseledSandstone; + materials[6311] = Material.ChiseledStoneBricks; + for (int i = 11793; i <= 11798; i++) + materials[i] = Material.ChorusFlower; + for (int i = 11729; i <= 11792; i++) + materials[i] = Material.ChorusPlant; + materials[5632] = Material.Clay; + materials[10268] = Material.CoalBlock; + materials[116] = Material.CoalOre; + materials[11] = Material.CoarseDirt; + materials[21565] = Material.CobbledDeepslate; + for (int i = 21646; i <= 21651; i++) + materials[i] = Material.CobbledDeepslateSlab; + for (int i = 21566; i <= 21645; i++) + materials[i] = Material.CobbledDeepslateStairs; + for (int i = 21652; i <= 21975; i++) + materials[i] = Material.CobbledDeepslateWall; + materials[14] = Material.Cobblestone; + for (int i = 10769; i <= 10774; i++) + materials[i] = Material.CobblestoneSlab; + for (int i = 4598; i <= 4677; i++) + materials[i] = Material.CobblestoneStairs; + for (int i = 7689; i <= 8012; i++) + materials[i] = Material.CobblestoneWall; + materials[1953] = Material.Cobweb; + for (int i = 7189; i <= 7200; i++) + materials[i] = Material.Cocoa; + for (int i = 7676; i <= 7687; i++) + materials[i] = Material.CommandBlock; + for (int i = 8779; i <= 8794; i++) + materials[i] = Material.Comparator; + for (int i = 18744; i <= 18752; i++) + materials[i] = Material.Composter; + for (int i = 12314; i <= 12315; i++) + materials[i] = Material.Conduit; + materials[20695] = Material.CopperBlock; + materials[20696] = Material.CopperOre; + materials[2034] = Material.Cornflower; + materials[23210] = Material.CrackedDeepslateBricks; + materials[23211] = Material.CrackedDeepslateTiles; + materials[20095] = Material.CrackedNetherBricks; + materials[19245] = Material.CrackedPolishedBlackstoneBricks; + materials[6310] = Material.CrackedStoneBricks; + materials[4225] = Material.CraftingTable; + for (int i = 8651; i <= 8666; i++) + materials[i] = Material.CreeperHead; + for (int i = 8667; i <= 8670; i++) + materials[i] = Material.CreeperWallHead; + for (int i = 18472; i <= 18495; i++) + materials[i] = Material.CrimsonButton; + for (int i = 18520; i <= 18583; i++) + materials[i] = Material.CrimsonDoor; + for (int i = 18056; i <= 18087; i++) + materials[i] = Material.CrimsonFence; + for (int i = 18248; i <= 18279; i++) + materials[i] = Material.CrimsonFenceGate; + materials[17981] = Material.CrimsonFungus; + for (int i = 5126; i <= 5189; i++) + materials[i] = Material.CrimsonHangingSign; + for (int i = 17974; i <= 17976; i++) + materials[i] = Material.CrimsonHyphae; + materials[17980] = Material.CrimsonNylium; + materials[18038] = Material.CrimsonPlanks; + for (int i = 18052; i <= 18053; i++) + materials[i] = Material.CrimsonPressurePlate; + materials[18037] = Material.CrimsonRoots; + for (int i = 18648; i <= 18679; i++) + materials[i] = Material.CrimsonSign; + for (int i = 18040; i <= 18045; i++) + materials[i] = Material.CrimsonSlab; + for (int i = 18312; i <= 18391; i++) + materials[i] = Material.CrimsonStairs; + for (int i = 17968; i <= 17970; i++) + materials[i] = Material.CrimsonStem; + for (int i = 18120; i <= 18183; i++) + materials[i] = Material.CrimsonTrapdoor; + for (int i = 5438; i <= 5445; i++) + materials[i] = Material.CrimsonWallHangingSign; + for (int i = 18712; i <= 18719; i++) + materials[i] = Material.CrimsonWallSign; + materials[18821] = Material.CryingObsidian; + materials[20701] = Material.CutCopper; + for (int i = 21040; i <= 21045; i++) + materials[i] = Material.CutCopperSlab; + for (int i = 20942; i <= 21021; i++) + materials[i] = Material.CutCopperStairs; + materials[10604] = Material.CutRedSandstone; + for (int i = 10811; i <= 10816; i++) + materials[i] = Material.CutRedSandstoneSlab; + materials[486] = Material.CutSandstone; + for (int i = 10757; i <= 10762; i++) + materials[i] = Material.CutSandstoneSlab; + for (int i = 10426; i <= 10441; i++) + materials[i] = Material.CyanBanner; + for (int i = 1781; i <= 1796; i++) + materials[i] = Material.CyanBed; + for (int i = 20257; i <= 20272; i++) + materials[i] = Material.CyanCandle; + for (int i = 20389; i <= 20390; i++) + materials[i] = Material.CyanCandleCake; + materials[10260] = Material.CyanCarpet; + materials[12112] = Material.CyanConcrete; + materials[12128] = Material.CyanConcretePowder; + for (int i = 12075; i <= 12078; i++) + materials[i] = Material.CyanGlazedTerracotta; + for (int i = 11997; i <= 12002; i++) + materials[i] = Material.CyanShulkerBox; + materials[5789] = Material.CyanStainedGlass; + for (int i = 9264; i <= 9295; i++) + materials[i] = Material.CyanStainedGlassPane; + materials[8969] = Material.CyanTerracotta; + for (int i = 10574; i <= 10577; i++) + materials[i] = Material.CyanWallBanner; + materials[2005] = Material.CyanWool; + for (int i = 8719; i <= 8722; i++) + materials[i] = Material.DamagedAnvil; + materials[2024] = Material.Dandelion; + for (int i = 8499; i <= 8522; i++) + materials[i] = Material.DarkOakButton; + for (int i = 11531; i <= 11594; i++) + materials[i] = Material.DarkOakDoor; + for (int i = 11179; i <= 11210; i++) + materials[i] = Material.DarkOakFence; + for (int i = 10955; i <= 10986; i++) + materials[i] = Material.DarkOakFenceGate; + for (int i = 5062; i <= 5125; i++) + materials[i] = Material.DarkOakHangingSign; + for (int i = 354; i <= 381; i++) + materials[i] = Material.DarkOakLeaves; + for (int i = 134; i <= 136; i++) + materials[i] = Material.DarkOakLog; + materials[20] = Material.DarkOakPlanks; + for (int i = 5562; i <= 5563; i++) + materials[i] = Material.DarkOakPressurePlate; + for (int i = 34; i <= 35; i++) + materials[i] = Material.DarkOakSapling; + for (int i = 4410; i <= 4441; i++) + materials[i] = Material.DarkOakSign; + for (int i = 10715; i <= 10720; i++) + materials[i] = Material.DarkOakSlab; + for (int i = 9568; i <= 9647; i++) + materials[i] = Material.DarkOakStairs; + for (int i = 6116; i <= 6179; i++) + materials[i] = Material.DarkOakTrapdoor; + for (int i = 5422; i <= 5429; i++) + materials[i] = Material.DarkOakWallHangingSign; + for (int i = 4718; i <= 4725; i++) + materials[i] = Material.DarkOakWallSign; + for (int i = 187; i <= 189; i++) + materials[i] = Material.DarkOakWood; + materials[9988] = Material.DarkPrismarine; + for (int i = 10241; i <= 10246; i++) + materials[i] = Material.DarkPrismarineSlab; + for (int i = 10149; i <= 10228; i++) + materials[i] = Material.DarkPrismarineStairs; + for (int i = 8795; i <= 8826; i++) + materials[i] = Material.DaylightDetector; + for (int i = 12187; i <= 12188; i++) + materials[i] = Material.DeadBrainCoral; + materials[12176] = Material.DeadBrainCoralBlock; + for (int i = 12207; i <= 12208; i++) + materials[i] = Material.DeadBrainCoralFan; + for (int i = 12233; i <= 12240; i++) + materials[i] = Material.DeadBrainCoralWallFan; + for (int i = 12189; i <= 12190; i++) + materials[i] = Material.DeadBubbleCoral; + materials[12177] = Material.DeadBubbleCoralBlock; + for (int i = 12209; i <= 12210; i++) + materials[i] = Material.DeadBubbleCoralFan; + for (int i = 12241; i <= 12248; i++) + materials[i] = Material.DeadBubbleCoralWallFan; + materials[1956] = Material.DeadBush; + for (int i = 12191; i <= 12192; i++) + materials[i] = Material.DeadFireCoral; + materials[12178] = Material.DeadFireCoralBlock; + for (int i = 12211; i <= 12212; i++) + materials[i] = Material.DeadFireCoralFan; + for (int i = 12249; i <= 12256; i++) + materials[i] = Material.DeadFireCoralWallFan; + for (int i = 12193; i <= 12194; i++) + materials[i] = Material.DeadHornCoral; + materials[12179] = Material.DeadHornCoralBlock; + for (int i = 12213; i <= 12214; i++) + materials[i] = Material.DeadHornCoralFan; + for (int i = 12257; i <= 12264; i++) + materials[i] = Material.DeadHornCoralWallFan; + for (int i = 12185; i <= 12186; i++) + materials[i] = Material.DeadTubeCoral; + materials[12175] = Material.DeadTubeCoralBlock; + for (int i = 12205; i <= 12206; i++) + materials[i] = Material.DeadTubeCoralFan; + for (int i = 12225; i <= 12232; i++) + materials[i] = Material.DeadTubeCoralWallFan; + for (int i = 21562; i <= 21564; i++) + materials[i] = Material.Deepslate; + for (int i = 22879; i <= 22884; i++) + materials[i] = Material.DeepslateBrickSlab; + for (int i = 22799; i <= 22878; i++) + materials[i] = Material.DeepslateBrickStairs; + for (int i = 22885; i <= 23208; i++) + materials[i] = Material.DeepslateBrickWall; + materials[22798] = Material.DeepslateBricks; + materials[117] = Material.DeepslateCoalOre; + materials[20697] = Material.DeepslateCopperOre; + materials[4223] = Material.DeepslateDiamondOre; + materials[7282] = Material.DeepslateEmeraldOre; + materials[113] = Material.DeepslateGoldOre; + materials[115] = Material.DeepslateIronOre; + materials[470] = Material.DeepslateLapisOre; + for (int i = 5570; i <= 5571; i++) + materials[i] = Material.DeepslateRedstoneOre; + for (int i = 22468; i <= 22473; i++) + materials[i] = Material.DeepslateTileSlab; + for (int i = 22388; i <= 22467; i++) + materials[i] = Material.DeepslateTileStairs; + for (int i = 22474; i <= 22797; i++) + materials[i] = Material.DeepslateTileWall; + materials[22387] = Material.DeepslateTiles; + for (int i = 1917; i <= 1940; i++) + materials[i] = Material.DetectorRail; + materials[4224] = Material.DiamondBlock; + materials[4222] = Material.DiamondOre; + materials[4] = Material.Diorite; + for (int i = 13526; i <= 13531; i++) + materials[i] = Material.DioriteSlab; + for (int i = 13374; i <= 13453; i++) + materials[i] = Material.DioriteStairs; + for (int i = 17420; i <= 17743; i++) + materials[i] = Material.DioriteWall; + materials[10] = Material.Dirt; + materials[11888] = Material.DirtPath; + for (int i = 472; i <= 483; i++) + materials[i] = Material.Dispenser; + materials[7186] = Material.DragonEgg; + for (int i = 8671; i <= 8686; i++) + materials[i] = Material.DragonHead; + for (int i = 8687; i <= 8690; i++) + materials[i] = Material.DragonWallHead; + materials[12162] = Material.DriedKelpBlock; + materials[21442] = Material.DripstoneBlock; + for (int i = 8948; i <= 8959; i++) + materials[i] = Material.Dropper; + materials[7435] = Material.EmeraldBlock; + materials[7281] = Material.EmeraldOre; + materials[7159] = Material.EnchantingTable; + materials[11889] = Material.EndGateway; + materials[7176] = Material.EndPortal; + for (int i = 7177; i <= 7184; i++) + materials[i] = Material.EndPortalFrame; + for (int i = 11723; i <= 11728; i++) + materials[i] = Material.EndRod; + materials[7185] = Material.EndStone; + for (int i = 13484; i <= 13489; i++) + materials[i] = Material.EndStoneBrickSlab; + for (int i = 12734; i <= 12813; i++) + materials[i] = Material.EndStoneBrickStairs; + for (int i = 17096; i <= 17419; i++) + materials[i] = Material.EndStoneBrickWall; + materials[11883] = Material.EndStoneBricks; + for (int i = 7283; i <= 7290; i++) + materials[i] = Material.EnderChest; + materials[20694] = Material.ExposedCopper; + materials[20700] = Material.ExposedCutCopper; + for (int i = 21034; i <= 21039; i++) + materials[i] = Material.ExposedCutCopperSlab; + for (int i = 20862; i <= 20941; i++) + materials[i] = Material.ExposedCutCopperStairs; + for (int i = 4234; i <= 4241; i++) + materials[i] = Material.Farmland; + materials[1955] = Material.Fern; + for (int i = 2308; i <= 2819; i++) + materials[i] = Material.Fire; + for (int i = 12201; i <= 12202; i++) + materials[i] = Material.FireCoral; + materials[12183] = Material.FireCoralBlock; + for (int i = 12221; i <= 12222; i++) + materials[i] = Material.FireCoralFan; + for (int i = 12289; i <= 12296; i++) + materials[i] = Material.FireCoralWallFan; + materials[17809] = Material.FletchingTable; + materials[8337] = Material.FlowerPot; + materials[21499] = Material.FloweringAzalea; + for (int i = 438; i <= 465; i++) + materials[i] = Material.FloweringAzaleaLeaves; + materials[23230] = Material.Frogspawn; + for (int i = 11914; i <= 11917; i++) + materials[i] = Material.FrostedIce; + for (int i = 4242; i <= 4249; i++) + materials[i] = Material.Furnace; + materials[19657] = Material.GildedBlackstone; + materials[468] = Material.Glass; + for (int i = 6550; i <= 6581; i++) + materials[i] = Material.GlassPane; + for (int i = 6639; i <= 6766; i++) + materials[i] = Material.GlowLichen; + materials[5698] = Material.Glowstone; + materials[2039] = Material.GoldBlock; + materials[112] = Material.GoldOre; + materials[2] = Material.Granite; + for (int i = 13502; i <= 13507; i++) + materials[i] = Material.GraniteSlab; + for (int i = 13054; i <= 13133; i++) + materials[i] = Material.GraniteStairs; + for (int i = 14828; i <= 15151; i++) + materials[i] = Material.GraniteWall; + materials[1954] = Material.Grass; + for (int i = 8; i <= 9; i++) + materials[i] = Material.GrassBlock; + materials[111] = Material.Gravel; + for (int i = 10394; i <= 10409; i++) + materials[i] = Material.GrayBanner; + for (int i = 1749; i <= 1764; i++) + materials[i] = Material.GrayBed; + for (int i = 20225; i <= 20240; i++) + materials[i] = Material.GrayCandle; + for (int i = 20385; i <= 20386; i++) + materials[i] = Material.GrayCandleCake; + materials[10258] = Material.GrayCarpet; + materials[12110] = Material.GrayConcrete; + materials[12126] = Material.GrayConcretePowder; + for (int i = 12067; i <= 12070; i++) + materials[i] = Material.GrayGlazedTerracotta; + for (int i = 11985; i <= 11990; i++) + materials[i] = Material.GrayShulkerBox; + materials[5787] = Material.GrayStainedGlass; + for (int i = 9200; i <= 9231; i++) + materials[i] = Material.GrayStainedGlassPane; + materials[8967] = Material.GrayTerracotta; + for (int i = 10566; i <= 10569; i++) + materials[i] = Material.GrayWallBanner; + materials[2003] = Material.GrayWool; + for (int i = 10490; i <= 10505; i++) + materials[i] = Material.GreenBanner; + for (int i = 1845; i <= 1860; i++) + materials[i] = Material.GreenBed; + for (int i = 20321; i <= 20336; i++) + materials[i] = Material.GreenCandle; + for (int i = 20397; i <= 20398; i++) + materials[i] = Material.GreenCandleCake; + materials[10264] = Material.GreenCarpet; + materials[12116] = Material.GreenConcrete; + materials[12132] = Material.GreenConcretePowder; + for (int i = 12091; i <= 12094; i++) + materials[i] = Material.GreenGlazedTerracotta; + for (int i = 12021; i <= 12026; i++) + materials[i] = Material.GreenShulkerBox; + materials[5793] = Material.GreenStainedGlass; + for (int i = 9392; i <= 9423; i++) + materials[i] = Material.GreenStainedGlassPane; + materials[8973] = Material.GreenTerracotta; + for (int i = 10590; i <= 10593; i++) + materials[i] = Material.GreenWallBanner; + materials[2009] = Material.GreenWool; + for (int i = 17810; i <= 17821; i++) + materials[i] = Material.Grindstone; + for (int i = 21558; i <= 21559; i++) + materials[i] = Material.HangingRoots; + for (int i = 10248; i <= 10250; i++) + materials[i] = Material.HayBlock; + for (int i = 8763; i <= 8778; i++) + materials[i] = Material.HeavyWeightedPressurePlate; + materials[18817] = Material.HoneyBlock; + materials[18818] = Material.HoneycombBlock; + for (int i = 8829; i <= 8838; i++) + materials[i] = Material.Hopper; + for (int i = 12203; i <= 12204; i++) + materials[i] = Material.HornCoral; + materials[12184] = Material.HornCoralBlock; + for (int i = 12223; i <= 12224; i++) + materials[i] = Material.HornCoralFan; + for (int i = 12297; i <= 12304; i++) + materials[i] = Material.HornCoralWallFan; + materials[5614] = Material.Ice; + materials[6319] = Material.InfestedChiseledStoneBricks; + materials[6315] = Material.InfestedCobblestone; + materials[6318] = Material.InfestedCrackedStoneBricks; + for (int i = 23212; i <= 23214; i++) + materials[i] = Material.InfestedDeepslate; + materials[6317] = Material.InfestedMossyStoneBricks; + materials[6314] = Material.InfestedStone; + materials[6316] = Material.InfestedStoneBricks; + for (int i = 6512; i <= 6543; i++) + materials[i] = Material.IronBars; + materials[2040] = Material.IronBlock; + for (int i = 5488; i <= 5551; i++) + materials[i] = Material.IronDoor; + materials[114] = Material.IronOre; + for (int i = 9922; i <= 9985; i++) + materials[i] = Material.IronTrapdoor; + for (int i = 5705; i <= 5708; i++) + materials[i] = Material.JackOLantern; + for (int i = 18732; i <= 18743; i++) + materials[i] = Material.Jigsaw; + for (int i = 5649; i <= 5650; i++) + materials[i] = Material.Jukebox; + for (int i = 8451; i <= 8474; i++) + materials[i] = Material.JungleButton; + for (int i = 11403; i <= 11466; i++) + materials[i] = Material.JungleDoor; + for (int i = 11115; i <= 11146; i++) + materials[i] = Material.JungleFence; + for (int i = 10891; i <= 10922; i++) + materials[i] = Material.JungleFenceGate; + for (int i = 4998; i <= 5061; i++) + materials[i] = Material.JungleHangingSign; + for (int i = 298; i <= 325; i++) + materials[i] = Material.JungleLeaves; + for (int i = 128; i <= 130; i++) + materials[i] = Material.JungleLog; + materials[18] = Material.JunglePlanks; + for (int i = 5558; i <= 5559; i++) + materials[i] = Material.JunglePressurePlate; + for (int i = 30; i <= 31; i++) + materials[i] = Material.JungleSapling; + for (int i = 4378; i <= 4409; i++) + materials[i] = Material.JungleSign; + for (int i = 10703; i <= 10708; i++) + materials[i] = Material.JungleSlab; + for (int i = 7596; i <= 7675; i++) + materials[i] = Material.JungleStairs; + for (int i = 5988; i <= 6051; i++) + materials[i] = Material.JungleTrapdoor; + for (int i = 5414; i <= 5421; i++) + materials[i] = Material.JungleWallHangingSign; + for (int i = 4710; i <= 4717; i++) + materials[i] = Material.JungleWallSign; + for (int i = 181; i <= 183; i++) + materials[i] = Material.JungleWood; + for (int i = 12135; i <= 12160; i++) + materials[i] = Material.Kelp; + materials[12161] = Material.KelpPlant; + for (int i = 4570; i <= 4577; i++) + materials[i] = Material.Ladder; + for (int i = 17875; i <= 17878; i++) + materials[i] = Material.Lantern; + materials[471] = Material.LapisBlock; + materials[469] = Material.LapisOre; + for (int i = 20417; i <= 20428; i++) + materials[i] = Material.LargeAmethystBud; + for (int i = 10280; i <= 10281; i++) + materials[i] = Material.LargeFern; + for (int i = 93; i <= 108; i++) + materials[i] = Material.Lava; + materials[7172] = Material.LavaCauldron; + for (int i = 17822; i <= 17837; i++) + materials[i] = Material.Lectern; + for (int i = 5462; i <= 5485; i++) + materials[i] = Material.Lever; + for (int i = 9890; i <= 9921; i++) + materials[i] = Material.Light; + for (int i = 10330; i <= 10345; i++) + materials[i] = Material.LightBlueBanner; + for (int i = 1685; i <= 1700; i++) + materials[i] = Material.LightBlueBed; + for (int i = 20161; i <= 20176; i++) + materials[i] = Material.LightBlueCandle; + for (int i = 20377; i <= 20378; i++) + materials[i] = Material.LightBlueCandleCake; + materials[10254] = Material.LightBlueCarpet; + materials[12106] = Material.LightBlueConcrete; + materials[12122] = Material.LightBlueConcretePowder; + for (int i = 12051; i <= 12054; i++) + materials[i] = Material.LightBlueGlazedTerracotta; + for (int i = 11961; i <= 11966; i++) + materials[i] = Material.LightBlueShulkerBox; + materials[5783] = Material.LightBlueStainedGlass; + for (int i = 9072; i <= 9103; i++) + materials[i] = Material.LightBlueStainedGlassPane; + materials[8963] = Material.LightBlueTerracotta; + for (int i = 10550; i <= 10553; i++) + materials[i] = Material.LightBlueWallBanner; + materials[1999] = Material.LightBlueWool; + for (int i = 10410; i <= 10425; i++) + materials[i] = Material.LightGrayBanner; + for (int i = 1765; i <= 1780; i++) + materials[i] = Material.LightGrayBed; + for (int i = 20241; i <= 20256; i++) + materials[i] = Material.LightGrayCandle; + for (int i = 20387; i <= 20388; i++) + materials[i] = Material.LightGrayCandleCake; + materials[10259] = Material.LightGrayCarpet; + materials[12111] = Material.LightGrayConcrete; + materials[12127] = Material.LightGrayConcretePowder; + for (int i = 12071; i <= 12074; i++) + materials[i] = Material.LightGrayGlazedTerracotta; + for (int i = 11991; i <= 11996; i++) + materials[i] = Material.LightGrayShulkerBox; + materials[5788] = Material.LightGrayStainedGlass; + for (int i = 9232; i <= 9263; i++) + materials[i] = Material.LightGrayStainedGlassPane; + materials[8968] = Material.LightGrayTerracotta; + for (int i = 10570; i <= 10573; i++) + materials[i] = Material.LightGrayWallBanner; + materials[2004] = Material.LightGrayWool; + for (int i = 8747; i <= 8762; i++) + materials[i] = Material.LightWeightedPressurePlate; + for (int i = 21398; i <= 21421; i++) + materials[i] = Material.LightningRod; + for (int i = 10272; i <= 10273; i++) + materials[i] = Material.Lilac; + materials[2036] = Material.LilyOfTheValley; + materials[7041] = Material.LilyPad; + for (int i = 10362; i <= 10377; i++) + materials[i] = Material.LimeBanner; + for (int i = 1717; i <= 1732; i++) + materials[i] = Material.LimeBed; + for (int i = 20193; i <= 20208; i++) + materials[i] = Material.LimeCandle; + for (int i = 20381; i <= 20382; i++) + materials[i] = Material.LimeCandleCake; + materials[10256] = Material.LimeCarpet; + materials[12108] = Material.LimeConcrete; + materials[12124] = Material.LimeConcretePowder; + for (int i = 12059; i <= 12062; i++) + materials[i] = Material.LimeGlazedTerracotta; + for (int i = 11973; i <= 11978; i++) + materials[i] = Material.LimeShulkerBox; + materials[5785] = Material.LimeStainedGlass; + for (int i = 9136; i <= 9167; i++) + materials[i] = Material.LimeStainedGlassPane; + materials[8965] = Material.LimeTerracotta; + for (int i = 10558; i <= 10561; i++) + materials[i] = Material.LimeWallBanner; + materials[2001] = Material.LimeWool; + materials[18831] = Material.Lodestone; + for (int i = 17776; i <= 17779; i++) + materials[i] = Material.Loom; + for (int i = 10314; i <= 10329; i++) + materials[i] = Material.MagentaBanner; + for (int i = 1669; i <= 1684; i++) + materials[i] = Material.MagentaBed; + for (int i = 20145; i <= 20160; i++) + materials[i] = Material.MagentaCandle; + for (int i = 20375; i <= 20376; i++) + materials[i] = Material.MagentaCandleCake; + materials[10253] = Material.MagentaCarpet; + materials[12105] = Material.MagentaConcrete; + materials[12121] = Material.MagentaConcretePowder; + for (int i = 12047; i <= 12050; i++) + materials[i] = Material.MagentaGlazedTerracotta; + for (int i = 11955; i <= 11960; i++) + materials[i] = Material.MagentaShulkerBox; + materials[5782] = Material.MagentaStainedGlass; + for (int i = 9040; i <= 9071; i++) + materials[i] = Material.MagentaStainedGlassPane; + materials[8962] = Material.MagentaTerracotta; + for (int i = 10546; i <= 10549; i++) + materials[i] = Material.MagentaWallBanner; + materials[1998] = Material.MagentaWool; + materials[11918] = Material.MagmaBlock; + for (int i = 8523; i <= 8546; i++) + materials[i] = Material.MangroveButton; + for (int i = 11595; i <= 11658; i++) + materials[i] = Material.MangroveDoor; + for (int i = 11211; i <= 11242; i++) + materials[i] = Material.MangroveFence; + for (int i = 10987; i <= 11018; i++) + materials[i] = Material.MangroveFenceGate; + for (int i = 5254; i <= 5317; i++) + materials[i] = Material.MangroveHangingSign; + for (int i = 382; i <= 409; i++) + materials[i] = Material.MangroveLeaves; + for (int i = 137; i <= 139; i++) + materials[i] = Material.MangroveLog; + materials[21] = Material.MangrovePlanks; + for (int i = 5564; i <= 5565; i++) + materials[i] = Material.MangrovePressurePlate; + for (int i = 36; i <= 75; i++) + materials[i] = Material.MangrovePropagule; + for (int i = 140; i <= 141; i++) + materials[i] = Material.MangroveRoots; + for (int i = 4442; i <= 4473; i++) + materials[i] = Material.MangroveSign; + for (int i = 10721; i <= 10726; i++) + materials[i] = Material.MangroveSlab; + for (int i = 9648; i <= 9727; i++) + materials[i] = Material.MangroveStairs; + for (int i = 6180; i <= 6243; i++) + materials[i] = Material.MangroveTrapdoor; + for (int i = 5430; i <= 5437; i++) + materials[i] = Material.MangroveWallHangingSign; + for (int i = 4726; i <= 4733; i++) + materials[i] = Material.MangroveWallSign; + for (int i = 190; i <= 192; i++) + materials[i] = Material.MangroveWood; + for (int i = 20429; i <= 20440; i++) + materials[i] = Material.MediumAmethystBud; + materials[6582] = Material.Melon; + for (int i = 6599; i <= 6606; i++) + materials[i] = Material.MelonStem; + materials[21501] = Material.MossBlock; + materials[21500] = Material.MossCarpet; + materials[2301] = Material.MossyCobblestone; + for (int i = 13478; i <= 13483; i++) + materials[i] = Material.MossyCobblestoneSlab; + for (int i = 12654; i <= 12733; i++) + materials[i] = Material.MossyCobblestoneStairs; + for (int i = 8013; i <= 8336; i++) + materials[i] = Material.MossyCobblestoneWall; + for (int i = 13466; i <= 13471; i++) + materials[i] = Material.MossyStoneBrickSlab; + for (int i = 12494; i <= 12573; i++) + materials[i] = Material.MossyStoneBrickStairs; + for (int i = 14504; i <= 14827; i++) + materials[i] = Material.MossyStoneBrickWall; + materials[6309] = Material.MossyStoneBricks; + for (int i = 2012; i <= 2023; i++) + materials[i] = Material.MovingPiston; + materials[21561] = Material.Mud; + for (int i = 10787; i <= 10792; i++) + materials[i] = Material.MudBrickSlab; + for (int i = 6959; i <= 7038; i++) + materials[i] = Material.MudBrickStairs; + for (int i = 15476; i <= 15799; i++) + materials[i] = Material.MudBrickWall; + materials[6313] = Material.MudBricks; + for (int i = 142; i <= 144; i++) + materials[i] = Material.MuddyMangroveRoots; + for (int i = 6448; i <= 6511; i++) + materials[i] = Material.MushroomStem; + for (int i = 7039; i <= 7040; i++) + materials[i] = Material.Mycelium; + for (int i = 7043; i <= 7074; i++) + materials[i] = Material.NetherBrickFence; + for (int i = 10793; i <= 10798; i++) + materials[i] = Material.NetherBrickSlab; + for (int i = 7075; i <= 7154; i++) + materials[i] = Material.NetherBrickStairs; + for (int i = 15800; i <= 16123; i++) + materials[i] = Material.NetherBrickWall; + materials[7042] = Material.NetherBricks; + materials[118] = Material.NetherGoldOre; + for (int i = 5699; i <= 5700; i++) + materials[i] = Material.NetherPortal; + materials[8828] = Material.NetherQuartzOre; + materials[17967] = Material.NetherSprouts; + for (int i = 7155; i <= 7158; i++) + materials[i] = Material.NetherWart; + materials[11919] = Material.NetherWartBlock; + materials[18819] = Material.NetheriteBlock; + materials[5684] = Material.Netherrack; + for (int i = 487; i <= 1636; i++) + materials[i] = Material.NoteBlock; + for (int i = 8379; i <= 8402; i++) + materials[i] = Material.OakButton; + for (int i = 4506; i <= 4569; i++) + materials[i] = Material.OakDoor; + for (int i = 5651; i <= 5682; i++) + materials[i] = Material.OakFence; + for (int i = 6767; i <= 6798; i++) + materials[i] = Material.OakFenceGate; + for (int i = 4742; i <= 4805; i++) + materials[i] = Material.OakHangingSign; + for (int i = 214; i <= 241; i++) + materials[i] = Material.OakLeaves; + for (int i = 119; i <= 121; i++) + materials[i] = Material.OakLog; + materials[15] = Material.OakPlanks; + for (int i = 5552; i <= 5553; i++) + materials[i] = Material.OakPressurePlate; + for (int i = 24; i <= 25; i++) + materials[i] = Material.OakSapling; + for (int i = 4250; i <= 4281; i++) + materials[i] = Material.OakSign; + for (int i = 10685; i <= 10690; i++) + materials[i] = Material.OakSlab; + for (int i = 2822; i <= 2901; i++) + materials[i] = Material.OakStairs; + for (int i = 5796; i <= 5859; i++) + materials[i] = Material.OakTrapdoor; + for (int i = 5382; i <= 5389; i++) + materials[i] = Material.OakWallHangingSign; + for (int i = 4678; i <= 4685; i++) + materials[i] = Material.OakWallSign; + for (int i = 172; i <= 174; i++) + materials[i] = Material.OakWood; + for (int i = 11925; i <= 11936; i++) + materials[i] = Material.Observer; + materials[2302] = Material.Obsidian; + for (int i = 23221; i <= 23223; i++) + materials[i] = Material.OchreFroglight; + for (int i = 10298; i <= 10313; i++) + materials[i] = Material.OrangeBanner; + for (int i = 1653; i <= 1668; i++) + materials[i] = Material.OrangeBed; + for (int i = 20129; i <= 20144; i++) + materials[i] = Material.OrangeCandle; + for (int i = 20373; i <= 20374; i++) + materials[i] = Material.OrangeCandleCake; + materials[10252] = Material.OrangeCarpet; + materials[12104] = Material.OrangeConcrete; + materials[12120] = Material.OrangeConcretePowder; + for (int i = 12043; i <= 12046; i++) + materials[i] = Material.OrangeGlazedTerracotta; + for (int i = 11949; i <= 11954; i++) + materials[i] = Material.OrangeShulkerBox; + materials[5781] = Material.OrangeStainedGlass; + for (int i = 9008; i <= 9039; i++) + materials[i] = Material.OrangeStainedGlassPane; + materials[8961] = Material.OrangeTerracotta; + materials[2030] = Material.OrangeTulip; + for (int i = 10542; i <= 10545; i++) + materials[i] = Material.OrangeWallBanner; + materials[1997] = Material.OrangeWool; + materials[2033] = Material.OxeyeDaisy; + materials[20692] = Material.OxidizedCopper; + materials[20698] = Material.OxidizedCutCopper; + for (int i = 21022; i <= 21027; i++) + materials[i] = Material.OxidizedCutCopperSlab; + for (int i = 20702; i <= 20781; i++) + materials[i] = Material.OxidizedCutCopperStairs; + materials[10269] = Material.PackedIce; + materials[6312] = Material.PackedMud; + for (int i = 23227; i <= 23229; i++) + materials[i] = Material.PearlescentFroglight; + for (int i = 10276; i <= 10277; i++) + materials[i] = Material.Peony; + for (int i = 10763; i <= 10768; i++) + materials[i] = Material.PetrifiedOakSlab; + for (int i = 8691; i <= 8706; i++) + materials[i] = Material.PiglinHead; + for (int i = 8707; i <= 8710; i++) + materials[i] = Material.PiglinWallHead; + for (int i = 10378; i <= 10393; i++) + materials[i] = Material.PinkBanner; + for (int i = 1733; i <= 1748; i++) + materials[i] = Material.PinkBed; + for (int i = 20209; i <= 20224; i++) + materials[i] = Material.PinkCandle; + for (int i = 20383; i <= 20384; i++) + materials[i] = Material.PinkCandleCake; + materials[10257] = Material.PinkCarpet; + materials[12109] = Material.PinkConcrete; + materials[12125] = Material.PinkConcretePowder; + for (int i = 12063; i <= 12066; i++) + materials[i] = Material.PinkGlazedTerracotta; + for (int i = 11979; i <= 11984; i++) + materials[i] = Material.PinkShulkerBox; + materials[5786] = Material.PinkStainedGlass; + for (int i = 9168; i <= 9199; i++) + materials[i] = Material.PinkStainedGlassPane; + materials[8966] = Material.PinkTerracotta; + materials[2032] = Material.PinkTulip; + for (int i = 10562; i <= 10565; i++) + materials[i] = Material.PinkWallBanner; + materials[2002] = Material.PinkWool; + for (int i = 1960; i <= 1971; i++) + materials[i] = Material.Piston; + for (int i = 1972; i <= 1995; i++) + materials[i] = Material.PistonHead; + for (int i = 8631; i <= 8646; i++) + materials[i] = Material.PlayerHead; + for (int i = 8647; i <= 8650; i++) + materials[i] = Material.PlayerWallHead; + for (int i = 12; i <= 13; i++) + materials[i] = Material.Podzol; + for (int i = 21422; i <= 21441; i++) + materials[i] = Material.PointedDripstone; + materials[7] = Material.PolishedAndesite; + for (int i = 13520; i <= 13525; i++) + materials[i] = Material.PolishedAndesiteSlab; + for (int i = 13294; i <= 13373; i++) + materials[i] = Material.PolishedAndesiteStairs; + for (int i = 5690; i <= 5692; i++) + materials[i] = Material.PolishedBasalt; + materials[19243] = Material.PolishedBlackstone; + for (int i = 19247; i <= 19252; i++) + materials[i] = Material.PolishedBlackstoneBrickSlab; + for (int i = 19253; i <= 19332; i++) + materials[i] = Material.PolishedBlackstoneBrickStairs; + for (int i = 19333; i <= 19656; i++) + materials[i] = Material.PolishedBlackstoneBrickWall; + materials[19244] = Material.PolishedBlackstoneBricks; + for (int i = 19746; i <= 19769; i++) + materials[i] = Material.PolishedBlackstoneButton; + for (int i = 19744; i <= 19745; i++) + materials[i] = Material.PolishedBlackstonePressurePlate; + for (int i = 19738; i <= 19743; i++) + materials[i] = Material.PolishedBlackstoneSlab; + for (int i = 19658; i <= 19737; i++) + materials[i] = Material.PolishedBlackstoneStairs; + for (int i = 19770; i <= 20093; i++) + materials[i] = Material.PolishedBlackstoneWall; + materials[21976] = Material.PolishedDeepslate; + for (int i = 22057; i <= 22062; i++) + materials[i] = Material.PolishedDeepslateSlab; + for (int i = 21977; i <= 22056; i++) + materials[i] = Material.PolishedDeepslateStairs; + for (int i = 22063; i <= 22386; i++) + materials[i] = Material.PolishedDeepslateWall; + materials[5] = Material.PolishedDiorite; + for (int i = 13472; i <= 13477; i++) + materials[i] = Material.PolishedDioriteSlab; + for (int i = 12574; i <= 12653; i++) + materials[i] = Material.PolishedDioriteStairs; + materials[3] = Material.PolishedGranite; + for (int i = 13454; i <= 13459; i++) + materials[i] = Material.PolishedGraniteSlab; + for (int i = 12334; i <= 12413; i++) + materials[i] = Material.PolishedGraniteStairs; + materials[2025] = Material.Poppy; + for (int i = 8371; i <= 8378; i++) + materials[i] = Material.Potatoes; + materials[8342] = Material.PottedAcaciaSapling; + materials[8349] = Material.PottedAllium; + materials[23219] = Material.PottedAzaleaBush; + materials[8350] = Material.PottedAzureBluet; + materials[12329] = Material.PottedBamboo; + materials[8340] = Material.PottedBirchSapling; + materials[8348] = Material.PottedBlueOrchid; + materials[8360] = Material.PottedBrownMushroom; + materials[8362] = Material.PottedCactus; + materials[8356] = Material.PottedCornflower; + materials[18827] = Material.PottedCrimsonFungus; + materials[18829] = Material.PottedCrimsonRoots; + materials[8346] = Material.PottedDandelion; + materials[8343] = Material.PottedDarkOakSapling; + materials[8361] = Material.PottedDeadBush; + materials[8345] = Material.PottedFern; + materials[23220] = Material.PottedFloweringAzaleaBush; + materials[8341] = Material.PottedJungleSapling; + materials[8357] = Material.PottedLilyOfTheValley; + materials[8344] = Material.PottedMangrovePropagule; + materials[8338] = Material.PottedOakSapling; + materials[8352] = Material.PottedOrangeTulip; + materials[8355] = Material.PottedOxeyeDaisy; + materials[8354] = Material.PottedPinkTulip; + materials[8347] = Material.PottedPoppy; + materials[8359] = Material.PottedRedMushroom; + materials[8351] = Material.PottedRedTulip; + materials[8339] = Material.PottedSpruceSapling; + materials[18828] = Material.PottedWarpedFungus; + materials[18830] = Material.PottedWarpedRoots; + materials[8353] = Material.PottedWhiteTulip; + materials[8358] = Material.PottedWitherRose; + materials[20456] = Material.PowderSnow; + for (int i = 7173; i <= 7175; i++) + materials[i] = Material.PowderSnowCauldron; + for (int i = 1893; i <= 1916; i++) + materials[i] = Material.PoweredRail; + materials[9986] = Material.Prismarine; + for (int i = 10235; i <= 10240; i++) + materials[i] = Material.PrismarineBrickSlab; + for (int i = 10069; i <= 10148; i++) + materials[i] = Material.PrismarineBrickStairs; + materials[9987] = Material.PrismarineBricks; + for (int i = 10229; i <= 10234; i++) + materials[i] = Material.PrismarineSlab; + for (int i = 9989; i <= 10068; i++) + materials[i] = Material.PrismarineStairs; + for (int i = 13856; i <= 14179; i++) + materials[i] = Material.PrismarineWall; + materials[5683] = Material.Pumpkin; + for (int i = 6591; i <= 6598; i++) + materials[i] = Material.PumpkinStem; + for (int i = 10442; i <= 10457; i++) + materials[i] = Material.PurpleBanner; + for (int i = 1797; i <= 1812; i++) + materials[i] = Material.PurpleBed; + for (int i = 20273; i <= 20288; i++) + materials[i] = Material.PurpleCandle; + for (int i = 20391; i <= 20392; i++) + materials[i] = Material.PurpleCandleCake; + materials[10261] = Material.PurpleCarpet; + materials[12113] = Material.PurpleConcrete; + materials[12129] = Material.PurpleConcretePowder; + for (int i = 12079; i <= 12082; i++) + materials[i] = Material.PurpleGlazedTerracotta; + for (int i = 12003; i <= 12008; i++) + materials[i] = Material.PurpleShulkerBox; + materials[5790] = Material.PurpleStainedGlass; + for (int i = 9296; i <= 9327; i++) + materials[i] = Material.PurpleStainedGlassPane; + materials[8970] = Material.PurpleTerracotta; + for (int i = 10578; i <= 10581; i++) + materials[i] = Material.PurpleWallBanner; + materials[2006] = Material.PurpleWool; + materials[11799] = Material.PurpurBlock; + for (int i = 11800; i <= 11802; i++) + materials[i] = Material.PurpurPillar; + for (int i = 10817; i <= 10822; i++) + materials[i] = Material.PurpurSlab; + for (int i = 11803; i <= 11882; i++) + materials[i] = Material.PurpurStairs; + materials[8839] = Material.QuartzBlock; + materials[20096] = Material.QuartzBricks; + for (int i = 8841; i <= 8843; i++) + materials[i] = Material.QuartzPillar; + for (int i = 10799; i <= 10804; i++) + materials[i] = Material.QuartzSlab; + for (int i = 8844; i <= 8923; i++) + materials[i] = Material.QuartzStairs; + for (int i = 4578; i <= 4597; i++) + materials[i] = Material.Rail; + materials[23217] = Material.RawCopperBlock; + materials[23218] = Material.RawGoldBlock; + materials[23216] = Material.RawIronBlock; + for (int i = 10506; i <= 10521; i++) + materials[i] = Material.RedBanner; + for (int i = 1861; i <= 1876; i++) + materials[i] = Material.RedBed; + for (int i = 20337; i <= 20352; i++) + materials[i] = Material.RedCandle; + for (int i = 20399; i <= 20400; i++) + materials[i] = Material.RedCandleCake; + materials[10265] = Material.RedCarpet; + materials[12117] = Material.RedConcrete; + materials[12133] = Material.RedConcretePowder; + for (int i = 12095; i <= 12098; i++) + materials[i] = Material.RedGlazedTerracotta; + materials[2038] = Material.RedMushroom; + for (int i = 6384; i <= 6447; i++) + materials[i] = Material.RedMushroomBlock; + for (int i = 13514; i <= 13519; i++) + materials[i] = Material.RedNetherBrickSlab; + for (int i = 13214; i <= 13293; i++) + materials[i] = Material.RedNetherBrickStairs; + for (int i = 16448; i <= 16771; i++) + materials[i] = Material.RedNetherBrickWall; + materials[11920] = Material.RedNetherBricks; + materials[110] = Material.RedSand; + materials[10602] = Material.RedSandstone; + for (int i = 10805; i <= 10810; i++) + materials[i] = Material.RedSandstoneSlab; + for (int i = 10605; i <= 10684; i++) + materials[i] = Material.RedSandstoneStairs; + for (int i = 14180; i <= 14503; i++) + materials[i] = Material.RedSandstoneWall; + for (int i = 12027; i <= 12032; i++) + materials[i] = Material.RedShulkerBox; + materials[5794] = Material.RedStainedGlass; + for (int i = 9424; i <= 9455; i++) + materials[i] = Material.RedStainedGlassPane; + materials[8974] = Material.RedTerracotta; + materials[2029] = Material.RedTulip; + for (int i = 10594; i <= 10597; i++) + materials[i] = Material.RedWallBanner; + materials[2010] = Material.RedWool; + materials[8827] = Material.RedstoneBlock; + for (int i = 7187; i <= 7188; i++) + materials[i] = Material.RedstoneLamp; + for (int i = 5568; i <= 5569; i++) + materials[i] = Material.RedstoneOre; + for (int i = 5572; i <= 5573; i++) + materials[i] = Material.RedstoneTorch; + for (int i = 5574; i <= 5581; i++) + materials[i] = Material.RedstoneWallTorch; + for (int i = 2926; i <= 4221; i++) + materials[i] = Material.RedstoneWire; + materials[23231] = Material.ReinforcedDeepslate; + for (int i = 5716; i <= 5779; i++) + materials[i] = Material.Repeater; + for (int i = 11890; i <= 11901; i++) + materials[i] = Material.RepeatingCommandBlock; + for (int i = 18822; i <= 18826; i++) + materials[i] = Material.RespawnAnchor; + materials[21560] = Material.RootedDirt; + for (int i = 10274; i <= 10275; i++) + materials[i] = Material.RoseBush; + materials[109] = Material.Sand; + materials[484] = Material.Sandstone; + for (int i = 10751; i <= 10756; i++) + materials[i] = Material.SandstoneSlab; + for (int i = 7201; i <= 7280; i++) + materials[i] = Material.SandstoneStairs; + for (int i = 16772; i <= 17095; i++) + materials[i] = Material.SandstoneWall; + for (int i = 17744; i <= 17775; i++) + materials[i] = Material.Scaffolding; + materials[20553] = Material.Sculk; + for (int i = 20682; i <= 20683; i++) + materials[i] = Material.SculkCatalyst; + for (int i = 20457; i <= 20552; i++) + materials[i] = Material.SculkSensor; + for (int i = 20684; i <= 20691; i++) + materials[i] = Material.SculkShrieker; + for (int i = 20554; i <= 20681; i++) + materials[i] = Material.SculkVein; + materials[10247] = Material.SeaLantern; + for (int i = 12305; i <= 12312; i++) + materials[i] = Material.SeaPickle; + materials[1957] = Material.Seagrass; + materials[17982] = Material.Shroomlight; + for (int i = 11937; i <= 11942; i++) + materials[i] = Material.ShulkerBox; + for (int i = 8571; i <= 8586; i++) + materials[i] = Material.SkeletonSkull; + for (int i = 8587; i <= 8590; i++) + materials[i] = Material.SkeletonWallSkull; + materials[9888] = Material.SlimeBlock; + for (int i = 20441; i <= 20452; i++) + materials[i] = Material.SmallAmethystBud; + for (int i = 21542; i <= 21557; i++) + materials[i] = Material.SmallDripleaf; + materials[17838] = Material.SmithingTable; + for (int i = 17792; i <= 17799; i++) + materials[i] = Material.Smoker; + materials[23215] = Material.SmoothBasalt; + materials[10825] = Material.SmoothQuartz; + for (int i = 13496; i <= 13501; i++) + materials[i] = Material.SmoothQuartzSlab; + for (int i = 12974; i <= 13053; i++) + materials[i] = Material.SmoothQuartzStairs; + materials[10826] = Material.SmoothRedSandstone; + for (int i = 13460; i <= 13465; i++) + materials[i] = Material.SmoothRedSandstoneSlab; + for (int i = 12414; i <= 12493; i++) + materials[i] = Material.SmoothRedSandstoneStairs; + materials[10824] = Material.SmoothSandstone; + for (int i = 13490; i <= 13495; i++) + materials[i] = Material.SmoothSandstoneSlab; + for (int i = 12894; i <= 12973; i++) + materials[i] = Material.SmoothSandstoneStairs; + materials[10823] = Material.SmoothStone; + for (int i = 10745; i <= 10750; i++) + materials[i] = Material.SmoothStoneSlab; + for (int i = 5606; i <= 5613; i++) + materials[i] = Material.Snow; + materials[5615] = Material.SnowBlock; + for (int i = 17915; i <= 17946; i++) + materials[i] = Material.SoulCampfire; + materials[2820] = Material.SoulFire; + for (int i = 17879; i <= 17882; i++) + materials[i] = Material.SoulLantern; + materials[5685] = Material.SoulSand; + materials[5686] = Material.SoulSoil; + materials[5693] = Material.SoulTorch; + for (int i = 5694; i <= 5697; i++) + materials[i] = Material.SoulWallTorch; + materials[2821] = Material.Spawner; + materials[466] = Material.Sponge; + materials[21497] = Material.SporeBlossom; + for (int i = 8403; i <= 8426; i++) + materials[i] = Material.SpruceButton; + for (int i = 11275; i <= 11338; i++) + materials[i] = Material.SpruceDoor; + for (int i = 11051; i <= 11082; i++) + materials[i] = Material.SpruceFence; + for (int i = 10827; i <= 10858; i++) + materials[i] = Material.SpruceFenceGate; + for (int i = 4806; i <= 4869; i++) + materials[i] = Material.SpruceHangingSign; + for (int i = 242; i <= 269; i++) + materials[i] = Material.SpruceLeaves; + for (int i = 122; i <= 124; i++) + materials[i] = Material.SpruceLog; + materials[16] = Material.SprucePlanks; + for (int i = 5554; i <= 5555; i++) + materials[i] = Material.SprucePressurePlate; + for (int i = 26; i <= 27; i++) + materials[i] = Material.SpruceSapling; + for (int i = 4282; i <= 4313; i++) + materials[i] = Material.SpruceSign; + for (int i = 10691; i <= 10696; i++) + materials[i] = Material.SpruceSlab; + for (int i = 7436; i <= 7515; i++) + materials[i] = Material.SpruceStairs; + for (int i = 5860; i <= 5923; i++) + materials[i] = Material.SpruceTrapdoor; + for (int i = 5390; i <= 5397; i++) + materials[i] = Material.SpruceWallHangingSign; + for (int i = 4686; i <= 4693; i++) + materials[i] = Material.SpruceWallSign; + for (int i = 175; i <= 177; i++) + materials[i] = Material.SpruceWood; + for (int i = 1941; i <= 1952; i++) + materials[i] = Material.StickyPiston; + materials[1] = Material.Stone; + for (int i = 10781; i <= 10786; i++) + materials[i] = Material.StoneBrickSlab; + for (int i = 6879; i <= 6958; i++) + materials[i] = Material.StoneBrickStairs; + for (int i = 15152; i <= 15475; i++) + materials[i] = Material.StoneBrickWall; + materials[6308] = Material.StoneBricks; + for (int i = 5582; i <= 5605; i++) + materials[i] = Material.StoneButton; + for (int i = 5486; i <= 5487; i++) + materials[i] = Material.StonePressurePlate; + for (int i = 10739; i <= 10744; i++) + materials[i] = Material.StoneSlab; + for (int i = 12814; i <= 12893; i++) + materials[i] = Material.StoneStairs; + for (int i = 17839; i <= 17842; i++) + materials[i] = Material.Stonecutter; + for (int i = 157; i <= 159; i++) + materials[i] = Material.StrippedAcaciaLog; + for (int i = 205; i <= 207; i++) + materials[i] = Material.StrippedAcaciaWood; + for (int i = 169; i <= 171; i++) + materials[i] = Material.StrippedBambooBlock; + for (int i = 151; i <= 153; i++) + materials[i] = Material.StrippedBirchLog; + for (int i = 199; i <= 201; i++) + materials[i] = Material.StrippedBirchWood; + for (int i = 17977; i <= 17979; i++) + materials[i] = Material.StrippedCrimsonHyphae; + for (int i = 17971; i <= 17973; i++) + materials[i] = Material.StrippedCrimsonStem; + for (int i = 160; i <= 162; i++) + materials[i] = Material.StrippedDarkOakLog; + for (int i = 208; i <= 210; i++) + materials[i] = Material.StrippedDarkOakWood; + for (int i = 154; i <= 156; i++) + materials[i] = Material.StrippedJungleLog; + for (int i = 202; i <= 204; i++) + materials[i] = Material.StrippedJungleWood; + for (int i = 166; i <= 168; i++) + materials[i] = Material.StrippedMangroveLog; + for (int i = 211; i <= 213; i++) + materials[i] = Material.StrippedMangroveWood; + for (int i = 163; i <= 165; i++) + materials[i] = Material.StrippedOakLog; + for (int i = 193; i <= 195; i++) + materials[i] = Material.StrippedOakWood; + for (int i = 148; i <= 150; i++) + materials[i] = Material.StrippedSpruceLog; + for (int i = 196; i <= 198; i++) + materials[i] = Material.StrippedSpruceWood; + for (int i = 17960; i <= 17962; i++) + materials[i] = Material.StrippedWarpedHyphae; + for (int i = 17954; i <= 17956; i++) + materials[i] = Material.StrippedWarpedStem; + for (int i = 18728; i <= 18731; i++) + materials[i] = Material.StructureBlock; + materials[11924] = Material.StructureVoid; + for (int i = 5633; i <= 5648; i++) + materials[i] = Material.SugarCane; + for (int i = 10270; i <= 10271; i++) + materials[i] = Material.Sunflower; + for (int i = 17947; i <= 17950; i++) + materials[i] = Material.SweetBerryBush; + for (int i = 10278; i <= 10279; i++) + materials[i] = Material.TallGrass; + for (int i = 1958; i <= 1959; i++) + materials[i] = Material.TallSeagrass; + for (int i = 18753; i <= 18768; i++) + materials[i] = Material.Target; + materials[10267] = Material.Terracotta; + materials[20455] = Material.TintedGlass; + for (int i = 2042; i <= 2043; i++) + materials[i] = Material.Tnt; + materials[2303] = Material.Torch; + for (int i = 8723; i <= 8746; i++) + materials[i] = Material.TrappedChest; + for (int i = 7307; i <= 7434; i++) + materials[i] = Material.Tripwire; + for (int i = 7291; i <= 7306; i++) + materials[i] = Material.TripwireHook; + for (int i = 12195; i <= 12196; i++) + materials[i] = Material.TubeCoral; + materials[12180] = Material.TubeCoralBlock; + for (int i = 12215; i <= 12216; i++) + materials[i] = Material.TubeCoralFan; + for (int i = 12265; i <= 12272; i++) + materials[i] = Material.TubeCoralWallFan; + materials[20453] = Material.Tuff; + for (int i = 12163; i <= 12174; i++) + materials[i] = Material.TurtleEgg; + for (int i = 18010; i <= 18035; i++) + materials[i] = Material.TwistingVines; + materials[18036] = Material.TwistingVinesPlant; + for (int i = 23224; i <= 23226; i++) + materials[i] = Material.VerdantFroglight; + for (int i = 6607; i <= 6638; i++) + materials[i] = Material.Vine; + materials[12330] = Material.VoidAir; + for (int i = 2304; i <= 2307; i++) + materials[i] = Material.WallTorch; + for (int i = 18496; i <= 18519; i++) + materials[i] = Material.WarpedButton; + for (int i = 18584; i <= 18647; i++) + materials[i] = Material.WarpedDoor; + for (int i = 18088; i <= 18119; i++) + materials[i] = Material.WarpedFence; + for (int i = 18280; i <= 18311; i++) + materials[i] = Material.WarpedFenceGate; + materials[17964] = Material.WarpedFungus; + for (int i = 5190; i <= 5253; i++) + materials[i] = Material.WarpedHangingSign; + for (int i = 17957; i <= 17959; i++) + materials[i] = Material.WarpedHyphae; + materials[17963] = Material.WarpedNylium; + materials[18039] = Material.WarpedPlanks; + for (int i = 18054; i <= 18055; i++) + materials[i] = Material.WarpedPressurePlate; + materials[17966] = Material.WarpedRoots; + for (int i = 18680; i <= 18711; i++) + materials[i] = Material.WarpedSign; + for (int i = 18046; i <= 18051; i++) + materials[i] = Material.WarpedSlab; + for (int i = 18392; i <= 18471; i++) + materials[i] = Material.WarpedStairs; + for (int i = 17951; i <= 17953; i++) + materials[i] = Material.WarpedStem; + for (int i = 18184; i <= 18247; i++) + materials[i] = Material.WarpedTrapdoor; + for (int i = 5446; i <= 5453; i++) + materials[i] = Material.WarpedWallHangingSign; + for (int i = 18720; i <= 18727; i++) + materials[i] = Material.WarpedWallSign; + materials[17965] = Material.WarpedWartBlock; + for (int i = 77; i <= 92; i++) + materials[i] = Material.Water; + for (int i = 7169; i <= 7171; i++) + materials[i] = Material.WaterCauldron; + materials[21046] = Material.WaxedCopperBlock; + materials[21053] = Material.WaxedCutCopper; + for (int i = 21392; i <= 21397; i++) + materials[i] = Material.WaxedCutCopperSlab; + for (int i = 21294; i <= 21373; i++) + materials[i] = Material.WaxedCutCopperStairs; + materials[21048] = Material.WaxedExposedCopper; + materials[21052] = Material.WaxedExposedCutCopper; + for (int i = 21386; i <= 21391; i++) + materials[i] = Material.WaxedExposedCutCopperSlab; + for (int i = 21214; i <= 21293; i++) + materials[i] = Material.WaxedExposedCutCopperStairs; + materials[21049] = Material.WaxedOxidizedCopper; + materials[21050] = Material.WaxedOxidizedCutCopper; + for (int i = 21374; i <= 21379; i++) + materials[i] = Material.WaxedOxidizedCutCopperSlab; + for (int i = 21054; i <= 21133; i++) + materials[i] = Material.WaxedOxidizedCutCopperStairs; + materials[21047] = Material.WaxedWeatheredCopper; + materials[21051] = Material.WaxedWeatheredCutCopper; + for (int i = 21380; i <= 21385; i++) + materials[i] = Material.WaxedWeatheredCutCopperSlab; + for (int i = 21134; i <= 21213; i++) + materials[i] = Material.WaxedWeatheredCutCopperStairs; + materials[20693] = Material.WeatheredCopper; + materials[20699] = Material.WeatheredCutCopper; + for (int i = 21028; i <= 21033; i++) + materials[i] = Material.WeatheredCutCopperSlab; + for (int i = 20782; i <= 20861; i++) + materials[i] = Material.WeatheredCutCopperStairs; + for (int i = 17983; i <= 18008; i++) + materials[i] = Material.WeepingVines; + materials[18009] = Material.WeepingVinesPlant; + materials[467] = Material.WetSponge; + for (int i = 4226; i <= 4233; i++) + materials[i] = Material.Wheat; + for (int i = 10282; i <= 10297; i++) + materials[i] = Material.WhiteBanner; + for (int i = 1637; i <= 1652; i++) + materials[i] = Material.WhiteBed; + for (int i = 20113; i <= 20128; i++) + materials[i] = Material.WhiteCandle; + for (int i = 20371; i <= 20372; i++) + materials[i] = Material.WhiteCandleCake; + materials[10251] = Material.WhiteCarpet; + materials[12103] = Material.WhiteConcrete; + materials[12119] = Material.WhiteConcretePowder; + for (int i = 12039; i <= 12042; i++) + materials[i] = Material.WhiteGlazedTerracotta; + for (int i = 11943; i <= 11948; i++) + materials[i] = Material.WhiteShulkerBox; + materials[5780] = Material.WhiteStainedGlass; + for (int i = 8976; i <= 9007; i++) + materials[i] = Material.WhiteStainedGlassPane; + materials[8960] = Material.WhiteTerracotta; + materials[2031] = Material.WhiteTulip; + for (int i = 10538; i <= 10541; i++) + materials[i] = Material.WhiteWallBanner; + materials[1996] = Material.WhiteWool; + materials[2035] = Material.WitherRose; + for (int i = 8591; i <= 8606; i++) + materials[i] = Material.WitherSkeletonSkull; + for (int i = 8607; i <= 8610; i++) + materials[i] = Material.WitherSkeletonWallSkull; + for (int i = 10346; i <= 10361; i++) + materials[i] = Material.YellowBanner; + for (int i = 1701; i <= 1716; i++) + materials[i] = Material.YellowBed; + for (int i = 20177; i <= 20192; i++) + materials[i] = Material.YellowCandle; + for (int i = 20379; i <= 20380; i++) + materials[i] = Material.YellowCandleCake; + materials[10255] = Material.YellowCarpet; + materials[12107] = Material.YellowConcrete; + materials[12123] = Material.YellowConcretePowder; + for (int i = 12055; i <= 12058; i++) + materials[i] = Material.YellowGlazedTerracotta; + for (int i = 11967; i <= 11972; i++) + materials[i] = Material.YellowShulkerBox; + materials[5784] = Material.YellowStainedGlass; + for (int i = 9104; i <= 9135; i++) + materials[i] = Material.YellowStainedGlassPane; + materials[8964] = Material.YellowTerracotta; + for (int i = 10554; i <= 10557; i++) + materials[i] = Material.YellowWallBanner; + materials[2000] = Material.YellowWool; + for (int i = 8611; i <= 8626; i++) + materials[i] = Material.ZombieHead; + for (int i = 8627; i <= 8630; i++) + materials[i] = Material.ZombieWallHead; + } + + protected override Dictionary GetDict() + { + return materials; + } + } +} diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette1193.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1193.cs new file mode 100644 index 00000000..d02e09a7 --- /dev/null +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1193.cs @@ -0,0 +1,137 @@ +using System.Collections.Generic; + +namespace MinecraftClient.Mapping.EntityPalettes +{ + public class EntityPalette1193 : EntityPalette + { + private static readonly Dictionary mappings = new(); + + static EntityPalette1193() + { + 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.Boat; + mappings[11] = EntityType.Camel; + mappings[10] = EntityType.Cat; + mappings[12] = EntityType.CaveSpider; + mappings[9] = EntityType.ChestBoat; + mappings[55] = EntityType.ChestMinecart; + mappings[13] = EntityType.Chicken; + mappings[14] = EntityType.Cod; + mappings[56] = EntityType.CommandBlockMinecart; + mappings[15] = EntityType.Cow; + mappings[16] = EntityType.Creeper; + mappings[17] = EntityType.Dolphin; + mappings[18] = EntityType.Donkey; + mappings[19] = EntityType.DragonFireball; + mappings[20] = EntityType.Drowned; + mappings[94] = EntityType.Egg; + mappings[21] = EntityType.ElderGuardian; + mappings[22] = EntityType.EndCrystal; + mappings[23] = EntityType.EnderDragon; + mappings[95] = EntityType.EnderPearl; + mappings[24] = EntityType.Enderman; + mappings[25] = EntityType.Endermite; + mappings[26] = EntityType.Evoker; + mappings[27] = EntityType.EvokerFangs; + mappings[96] = EntityType.ExperienceBottle; + mappings[28] = EntityType.ExperienceOrb; + mappings[29] = EntityType.EyeOfEnder; + mappings[30] = EntityType.FallingBlock; + mappings[47] = EntityType.Fireball; + mappings[31] = EntityType.FireworkRocket; + mappings[118] = EntityType.FishingBobber; + mappings[32] = EntityType.Fox; + mappings[33] = EntityType.Frog; + mappings[57] = EntityType.FurnaceMinecart; + mappings[34] = EntityType.Ghast; + mappings[35] = EntityType.Giant; + mappings[36] = EntityType.GlowItemFrame; + mappings[37] = EntityType.GlowSquid; + mappings[38] = EntityType.Goat; + mappings[39] = EntityType.Guardian; + mappings[40] = EntityType.Hoglin; + mappings[58] = EntityType.HopperMinecart; + mappings[41] = EntityType.Horse; + mappings[42] = EntityType.Husk; + mappings[43] = EntityType.Illusioner; + mappings[44] = EntityType.IronGolem; + mappings[45] = EntityType.Item; + mappings[46] = EntityType.ItemFrame; + mappings[48] = EntityType.LeashKnot; + mappings[49] = EntityType.LightningBolt; + mappings[50] = EntityType.Llama; + mappings[51] = EntityType.LlamaSpit; + mappings[52] = EntityType.MagmaCube; + mappings[53] = EntityType.Marker; + mappings[54] = EntityType.Minecart; + mappings[62] = EntityType.Mooshroom; + mappings[61] = EntityType.Mule; + mappings[63] = EntityType.Ocelot; + mappings[64] = EntityType.Painting; + mappings[65] = EntityType.Panda; + mappings[66] = EntityType.Parrot; + mappings[67] = EntityType.Phantom; + mappings[68] = EntityType.Pig; + mappings[69] = EntityType.Piglin; + mappings[70] = EntityType.PiglinBrute; + mappings[71] = EntityType.Pillager; + mappings[117] = EntityType.Player; + mappings[72] = EntityType.PolarBear; + mappings[97] = EntityType.Potion; + mappings[74] = EntityType.Pufferfish; + mappings[75] = EntityType.Rabbit; + mappings[76] = EntityType.Ravager; + mappings[77] = EntityType.Salmon; + mappings[78] = EntityType.Sheep; + mappings[79] = EntityType.Shulker; + mappings[80] = EntityType.ShulkerBullet; + mappings[81] = EntityType.Silverfish; + mappings[82] = EntityType.Skeleton; + mappings[83] = EntityType.SkeletonHorse; + mappings[84] = EntityType.Slime; + mappings[85] = EntityType.SmallFireball; + mappings[86] = EntityType.SnowGolem; + mappings[87] = EntityType.Snowball; + mappings[59] = EntityType.SpawnerMinecart; + mappings[88] = EntityType.SpectralArrow; + mappings[89] = EntityType.Spider; + mappings[90] = EntityType.Squid; + mappings[91] = EntityType.Stray; + mappings[92] = EntityType.Strider; + mappings[93] = EntityType.Tadpole; + mappings[73] = EntityType.Tnt; + mappings[60] = EntityType.TntMinecart; + mappings[99] = EntityType.TraderLlama; + mappings[98] = EntityType.Trident; + mappings[100] = EntityType.TropicalFish; + mappings[101] = EntityType.Turtle; + mappings[102] = EntityType.Vex; + mappings[103] = EntityType.Villager; + mappings[104] = EntityType.Vindicator; + mappings[105] = EntityType.WanderingTrader; + mappings[106] = EntityType.Warden; + mappings[107] = EntityType.Witch; + mappings[108] = EntityType.Wither; + mappings[109] = EntityType.WitherSkeleton; + mappings[110] = EntityType.WitherSkull; + mappings[111] = EntityType.Wolf; + mappings[112] = EntityType.Zoglin; + mappings[113] = EntityType.Zombie; + mappings[114] = EntityType.ZombieHorse; + mappings[115] = EntityType.ZombieVillager; + mappings[116] = EntityType.ZombifiedPiglin; + } + + protected override Dictionary GetDict() + { + return mappings; + } + } +} diff --git a/MinecraftClient/Mapping/EntityType.cs b/MinecraftClient/Mapping/EntityType.cs index ddb8a6b2..4351de3c 100644 --- a/MinecraftClient/Mapping/EntityType.cs +++ b/MinecraftClient/Mapping/EntityType.cs @@ -23,6 +23,7 @@ Bee, Blaze, Boat, + Camel, Cat, CaveSpider, ChestBoat, diff --git a/MinecraftClient/Mapping/Material.cs b/MinecraftClient/Mapping/Material.cs index 507dcc56..f0023009 100644 --- a/MinecraftClient/Mapping/Material.cs +++ b/MinecraftClient/Mapping/Material.cs @@ -18,6 +18,7 @@ AcaciaDoor, AcaciaFence, AcaciaFenceGate, + AcaciaHangingSign, AcaciaLeaves, AcaciaLog, AcaciaPlanks, @@ -27,6 +28,7 @@ AcaciaSlab, AcaciaStairs, AcaciaTrapdoor, + AcaciaWallHangingSign, AcaciaWallSign, AcaciaWood, ActivatorRail, @@ -46,7 +48,24 @@ AzaleaLeaves, AzureBluet, Bamboo, + BambooBlock, + BambooButton, + BambooDoor, + BambooFence, + BambooFenceGate, + BambooHangingSign, + BambooMosaic, + BambooMosaicSlab, + BambooMosaicStairs, + BambooPlanks, + BambooPressurePlate, BambooSapling, + BambooSign, + BambooSlab, + BambooStairs, + BambooTrapdoor, + BambooWallHangingSign, + BambooWallSign, Barrel, Barrier, Basalt, @@ -62,6 +81,7 @@ BirchDoor, BirchFence, BirchFenceGate, + BirchHangingSign, BirchLeaves, BirchLog, BirchPlanks, @@ -71,6 +91,7 @@ BirchSlab, BirchStairs, BirchTrapdoor, + BirchWallHangingSign, BirchWallSign, BirchWood, BlackBanner, @@ -158,6 +179,7 @@ ChainCommandBlock, Chest, ChippedAnvil, + ChiseledBookshelf, ChiseledDeepslate, ChiseledNetherBricks, ChiseledPolishedBlackstone, @@ -201,6 +223,7 @@ CrimsonFence, CrimsonFenceGate, CrimsonFungus, + CrimsonHangingSign, CrimsonHyphae, CrimsonNylium, CrimsonPlanks, @@ -211,6 +234,7 @@ CrimsonStairs, CrimsonStem, CrimsonTrapdoor, + CrimsonWallHangingSign, CrimsonWallSign, CryingObsidian, CutCopper, @@ -240,6 +264,7 @@ DarkOakDoor, DarkOakFence, DarkOakFenceGate, + DarkOakHangingSign, DarkOakLeaves, DarkOakLog, DarkOakPlanks, @@ -249,6 +274,7 @@ DarkOakSlab, DarkOakStairs, DarkOakTrapdoor, + DarkOakWallHangingSign, DarkOakWallSign, DarkOakWood, DarkPrismarine, @@ -413,6 +439,7 @@ JungleDoor, JungleFence, JungleFenceGate, + JungleHangingSign, JungleLeaves, JungleLog, JunglePlanks, @@ -422,6 +449,7 @@ JungleSlab, JungleStairs, JungleTrapdoor, + JungleWallHangingSign, JungleWallSign, JungleWood, Kelp, @@ -505,6 +533,7 @@ MangroveDoor, MangroveFence, MangroveFenceGate, + MangroveHangingSign, MangroveLeaves, MangroveLog, MangrovePlanks, @@ -515,6 +544,7 @@ MangroveSlab, MangroveStairs, MangroveTrapdoor, + MangroveWallHangingSign, MangroveWallSign, MangroveWood, MediumAmethystBud, @@ -557,6 +587,7 @@ OakDoor, OakFence, OakFenceGate, + OakHangingSign, OakLeaves, OakLog, OakPlanks, @@ -566,6 +597,7 @@ OakSlab, OakStairs, OakTrapdoor, + OakWallHangingSign, OakWallSign, OakWood, Observer, @@ -596,6 +628,8 @@ PearlescentFroglight, Peony, PetrifiedOakSlab, + PiglinHead, + PiglinWallHead, PinkBanner, PinkBed, PinkCandle, @@ -803,6 +837,7 @@ SpruceDoor, SpruceFence, SpruceFenceGate, + SpruceHangingSign, SpruceLeaves, SpruceLog, SprucePlanks, @@ -812,6 +847,7 @@ SpruceSlab, SpruceStairs, SpruceTrapdoor, + SpruceWallHangingSign, SpruceWallSign, SpruceWood, StickyPiston, @@ -827,6 +863,7 @@ Stonecutter, StrippedAcaciaLog, StrippedAcaciaWood, + StrippedBambooBlock, StrippedBirchLog, StrippedBirchWood, StrippedCrimsonHyphae, @@ -875,6 +912,7 @@ WarpedFence, WarpedFenceGate, WarpedFungus, + WarpedHangingSign, WarpedHyphae, WarpedNylium, WarpedPlanks, @@ -885,6 +923,7 @@ WarpedStairs, WarpedStem, WarpedTrapdoor, + WarpedWallHangingSign, WarpedWallSign, WarpedWartBlock, Water, diff --git a/MinecraftClient/Protocol/Handlers/DataTypes.cs b/MinecraftClient/Protocol/Handlers/DataTypes.cs index 71671c7c..e804a7d0 100644 --- a/MinecraftClient/Protocol/Handlers/DataTypes.cs +++ b/MinecraftClient/Protocol/Handlers/DataTypes.cs @@ -591,6 +591,9 @@ namespace MinecraftClient.Protocol.Handlers { int type = ReadNextVarInt(cache); + // Value's data type is depended on Type + object? value = null; + // starting from 1.13, Optional Chat is inserted as number 5 in 1.13 and IDs after 5 got shifted. // Increase type ID by 1 if // - below 1.13 @@ -598,20 +601,29 @@ namespace MinecraftClient.Protocol.Handlers if (protocolversion < Protocol18Handler.MC_1_13_Version) { if (type > 4) + ++type; + } + else if (protocolversion >= Protocol18Handler.MC_1_19_3_Version) + { + if (type == 2) { - type += 1; + value = ReadNextVarLong(cache); + type = -1; + } + else if (type >= 3) + { + --type; } } - // Value's data type is depended on Type - object? value = null; - // This is backward compatible since new type is appended to the end // Version upgrade note // - Check type ID got shifted or not // - Add new type if any switch (type) { + case -1: // already readed + break; case 0: // byte value = ReadNextByte(cache); break; diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs index 1fed292e..dfde4386 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -107,28 +107,30 @@ namespace MinecraftClient.Protocol.Handlers randomGen = RandomNumberGenerator.Create(); lastSeenMessagesCollector = protocolVersion >= MC_1_19_3_Version ? new(20) : new(5); - if (handler.GetTerrainEnabled() && protocolVersion > MC_1_19_2_Version) + if (handler.GetTerrainEnabled() && protocolVersion > MC_1_19_3_Version) { log.Error("§c" + Translations.extra_terrainandmovement_disabled); handler.SetTerrainEnabled(false); } - if (handler.GetInventoryEnabled() && (protocolVersion < MC_1_10_Version || protocolVersion > MC_1_19_2_Version)) + if (handler.GetInventoryEnabled() && (protocolVersion < MC_1_10_Version || protocolVersion > MC_1_19_3_Version)) { log.Error("§c" + Translations.extra_inventory_disabled); handler.SetInventoryEnabled(false); } - if (handler.GetEntityHandlingEnabled() && (protocolVersion < MC_1_10_Version || protocolVersion > MC_1_19_2_Version)) + if (handler.GetEntityHandlingEnabled() && (protocolVersion < MC_1_10_Version || protocolVersion > MC_1_19_3_Version)) { log.Error("§c" + Translations.extra_entity_disabled); handler.SetEntityHandlingEnabled(false); } // Block palette - if (protocolVersion > MC_1_19_2_Version && handler.GetTerrainEnabled()) + if (protocolVersion > MC_1_19_3_Version && handler.GetTerrainEnabled()) throw new NotImplementedException(Translations.exception_palette_block); - if (protocolVersion >= MC_1_19_Version) + if (protocolVersion >= MC_1_19_3_Version) + Block.Palette = new Palette1193(); + else if (protocolVersion >= MC_1_19_Version) Block.Palette = new Palette119(); else if (protocolVersion >= MC_1_17_Version) Block.Palette = new Palette117(); @@ -144,10 +146,12 @@ namespace MinecraftClient.Protocol.Handlers Block.Palette = new Palette112(); // Entity palette - if (protocolVersion > MC_1_19_2_Version && handler.GetEntityHandlingEnabled()) + if (protocolVersion > MC_1_19_3_Version && handler.GetEntityHandlingEnabled()) throw new NotImplementedException(Translations.exception_palette_entity); - if (protocolVersion >= MC_1_19_Version) + if (protocolVersion >= MC_1_19_3_Version) + entityPalette = new EntityPalette1193(); + else if (protocolVersion >= MC_1_19_Version) entityPalette = new EntityPalette119(); else if (protocolVersion >= MC_1_17_Version) entityPalette = new EntityPalette117(); @@ -165,10 +169,12 @@ namespace MinecraftClient.Protocol.Handlers entityPalette = new EntityPalette112(); // Item palette - if (protocolVersion > MC_1_19_2_Version && handler.GetInventoryEnabled()) + if (protocolVersion > MC_1_19_3_Version && handler.GetInventoryEnabled()) throw new NotImplementedException(Translations.exception_palette_item); - if (protocolVersion >= MC_1_19_Version) + if (protocolVersion >= MC_1_19_3_Version) + itemPalette = new ItemPalette1193(); + else if (protocolVersion >= MC_1_19_Version) itemPalette = new ItemPalette119(); else if (protocolVersion >= MC_1_18_1_Version) itemPalette = new ItemPalette118(); @@ -1851,7 +1857,7 @@ namespace MinecraftClient.Protocol.Handlers Dictionary metadata = dataTypes.ReadNextMetadata(packetData, itemPalette); int healthField; // See https://wiki.vg/Entity_metadata#Living_Entity - if (protocolVersion > MC_1_19_2_Version) + if (protocolVersion > MC_1_19_3_Version) throw new NotImplementedException(Translations.exception_palette_healthfield); else if (protocolVersion >= MC_1_17_Version) // 1.17 and above healthField = 9;