From 67ad5fcf97b2e3649b9df7adeb0f832a0211bbec Mon Sep 17 00:00:00 2001 From: BruceChen Date: Sat, 21 Mar 2026 14:04:56 +0800 Subject: [PATCH] feat: add palettes for MC 1.21.9/1.21.10 (protocol 773) - Palette1219.cs: 1053 blocks with new copper chests, copper golem statues, copper torches, shelves, oxidized lightning rods, iron chain - EntityPalette1219.cs: 153 entities (+copper_golem at 27, mannequin at 82) - ItemPalette1219.cs: 1464 items (generated via gen_item_palette.py) - EntityMetadataPalette1219.cs: 37 serializers (COMPOUND_TAG removed, +CopperGolemState, WeatheringCopperState, ResolvableProfile) - PacketPalette1219.cs: updated clientbound IDs for 4 new debug packets and GameTestHighlightPos, plus config CodeOfConduct/AcceptCodeOfConduct Also update gen_entity_metadata_palette.py FIELD_TO_ENUM with the three new serializer type mappings. Made-with: Cursor --- .../Inventory/ItemPalettes/ItemPalette1219.cs | 1482 +++++++++++++ .../Mapping/BlockPalettes/Palette1219.cs | 1961 +++++++++++++++++ .../EntityMetadataPalette1219.cs | 52 + .../EntityPalettes/EntityPalette1219.cs | 171 ++ .../PacketPalettes/PacketPalette1219.cs | 262 +++ tools/gen_entity_metadata_palette.py | 3 + 6 files changed, 3931 insertions(+) create mode 100644 MinecraftClient/Inventory/ItemPalettes/ItemPalette1219.cs create mode 100644 MinecraftClient/Mapping/BlockPalettes/Palette1219.cs create mode 100644 MinecraftClient/Mapping/EntityMetadataPalettes/EntityMetadataPalette1219.cs create mode 100644 MinecraftClient/Mapping/EntityPalettes/EntityPalette1219.cs create mode 100644 MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1219.cs diff --git a/MinecraftClient/Inventory/ItemPalettes/ItemPalette1219.cs b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1219.cs new file mode 100644 index 00000000..dc85be12 --- /dev/null +++ b/MinecraftClient/Inventory/ItemPalettes/ItemPalette1219.cs @@ -0,0 +1,1482 @@ +using System.Collections.Generic; + +namespace MinecraftClient.Inventory.ItemPalettes +{ + public class ItemPalette1219 : ItemPalette + { + private static readonly Dictionary mappings = new(); + + static ItemPalette1219() + { + mappings[0] = ItemType.Air; + mappings[1] = ItemType.Stone; + mappings[2] = ItemType.Granite; + mappings[3] = ItemType.PolishedGranite; + mappings[4] = ItemType.Diorite; + mappings[5] = ItemType.PolishedDiorite; + mappings[6] = ItemType.Andesite; + mappings[7] = ItemType.PolishedAndesite; + mappings[8] = ItemType.Deepslate; + mappings[9] = ItemType.CobbledDeepslate; + mappings[10] = ItemType.PolishedDeepslate; + mappings[11] = ItemType.Calcite; + mappings[12] = ItemType.Tuff; + mappings[13] = ItemType.TuffSlab; + mappings[14] = ItemType.TuffStairs; + mappings[15] = ItemType.TuffWall; + mappings[16] = ItemType.ChiseledTuff; + mappings[17] = ItemType.PolishedTuff; + mappings[18] = ItemType.PolishedTuffSlab; + mappings[19] = ItemType.PolishedTuffStairs; + mappings[20] = ItemType.PolishedTuffWall; + mappings[21] = ItemType.TuffBricks; + mappings[22] = ItemType.TuffBrickSlab; + mappings[23] = ItemType.TuffBrickStairs; + mappings[24] = ItemType.TuffBrickWall; + mappings[25] = ItemType.ChiseledTuffBricks; + mappings[26] = ItemType.DripstoneBlock; + mappings[27] = ItemType.GrassBlock; + mappings[28] = ItemType.Dirt; + mappings[29] = ItemType.CoarseDirt; + mappings[30] = ItemType.Podzol; + mappings[31] = ItemType.RootedDirt; + mappings[32] = ItemType.Mud; + mappings[33] = ItemType.CrimsonNylium; + mappings[34] = ItemType.WarpedNylium; + mappings[35] = ItemType.Cobblestone; + mappings[36] = ItemType.OakPlanks; + mappings[37] = ItemType.SprucePlanks; + mappings[38] = ItemType.BirchPlanks; + mappings[39] = ItemType.JunglePlanks; + mappings[40] = ItemType.AcaciaPlanks; + mappings[41] = ItemType.CherryPlanks; + mappings[42] = ItemType.DarkOakPlanks; + mappings[43] = ItemType.PaleOakPlanks; + mappings[44] = ItemType.MangrovePlanks; + mappings[45] = ItemType.BambooPlanks; + mappings[46] = ItemType.CrimsonPlanks; + mappings[47] = ItemType.WarpedPlanks; + mappings[48] = ItemType.BambooMosaic; + mappings[49] = ItemType.OakSapling; + mappings[50] = ItemType.SpruceSapling; + mappings[51] = ItemType.BirchSapling; + mappings[52] = ItemType.JungleSapling; + mappings[53] = ItemType.AcaciaSapling; + mappings[54] = ItemType.CherrySapling; + mappings[55] = ItemType.DarkOakSapling; + mappings[56] = ItemType.PaleOakSapling; + mappings[57] = ItemType.MangrovePropagule; + mappings[58] = ItemType.Bedrock; + mappings[59] = ItemType.Sand; + mappings[60] = ItemType.SuspiciousSand; + mappings[61] = ItemType.SuspiciousGravel; + mappings[62] = ItemType.RedSand; + mappings[63] = ItemType.Gravel; + mappings[64] = ItemType.CoalOre; + mappings[65] = ItemType.DeepslateCoalOre; + mappings[66] = ItemType.IronOre; + mappings[67] = ItemType.DeepslateIronOre; + mappings[68] = ItemType.CopperOre; + mappings[69] = ItemType.DeepslateCopperOre; + mappings[70] = ItemType.GoldOre; + mappings[71] = ItemType.DeepslateGoldOre; + mappings[72] = ItemType.RedstoneOre; + mappings[73] = ItemType.DeepslateRedstoneOre; + mappings[74] = ItemType.EmeraldOre; + mappings[75] = ItemType.DeepslateEmeraldOre; + mappings[76] = ItemType.LapisOre; + mappings[77] = ItemType.DeepslateLapisOre; + mappings[78] = ItemType.DiamondOre; + mappings[79] = ItemType.DeepslateDiamondOre; + mappings[80] = ItemType.NetherGoldOre; + mappings[81] = ItemType.NetherQuartzOre; + mappings[82] = ItemType.AncientDebris; + mappings[83] = ItemType.CoalBlock; + mappings[84] = ItemType.RawIronBlock; + mappings[85] = ItemType.RawCopperBlock; + mappings[86] = ItemType.RawGoldBlock; + mappings[87] = ItemType.HeavyCore; + mappings[88] = ItemType.AmethystBlock; + mappings[89] = ItemType.BuddingAmethyst; + mappings[90] = ItemType.IronBlock; + mappings[91] = ItemType.CopperBlock; + mappings[92] = ItemType.GoldBlock; + mappings[93] = ItemType.DiamondBlock; + mappings[94] = ItemType.NetheriteBlock; + mappings[95] = ItemType.ExposedCopper; + mappings[96] = ItemType.WeatheredCopper; + mappings[97] = ItemType.OxidizedCopper; + mappings[98] = ItemType.ChiseledCopper; + mappings[99] = ItemType.ExposedChiseledCopper; + mappings[100] = ItemType.WeatheredChiseledCopper; + mappings[101] = ItemType.OxidizedChiseledCopper; + mappings[102] = ItemType.CutCopper; + mappings[103] = ItemType.ExposedCutCopper; + mappings[104] = ItemType.WeatheredCutCopper; + mappings[105] = ItemType.OxidizedCutCopper; + mappings[106] = ItemType.CutCopperStairs; + mappings[107] = ItemType.ExposedCutCopperStairs; + mappings[108] = ItemType.WeatheredCutCopperStairs; + mappings[109] = ItemType.OxidizedCutCopperStairs; + mappings[110] = ItemType.CutCopperSlab; + mappings[111] = ItemType.ExposedCutCopperSlab; + mappings[112] = ItemType.WeatheredCutCopperSlab; + mappings[113] = ItemType.OxidizedCutCopperSlab; + mappings[114] = ItemType.WaxedCopperBlock; + mappings[115] = ItemType.WaxedExposedCopper; + mappings[116] = ItemType.WaxedWeatheredCopper; + mappings[117] = ItemType.WaxedOxidizedCopper; + mappings[118] = ItemType.WaxedChiseledCopper; + mappings[119] = ItemType.WaxedExposedChiseledCopper; + mappings[120] = ItemType.WaxedWeatheredChiseledCopper; + mappings[121] = ItemType.WaxedOxidizedChiseledCopper; + mappings[122] = ItemType.WaxedCutCopper; + mappings[123] = ItemType.WaxedExposedCutCopper; + mappings[124] = ItemType.WaxedWeatheredCutCopper; + mappings[125] = ItemType.WaxedOxidizedCutCopper; + mappings[126] = ItemType.WaxedCutCopperStairs; + mappings[127] = ItemType.WaxedExposedCutCopperStairs; + mappings[128] = ItemType.WaxedWeatheredCutCopperStairs; + mappings[129] = ItemType.WaxedOxidizedCutCopperStairs; + mappings[130] = ItemType.WaxedCutCopperSlab; + mappings[131] = ItemType.WaxedExposedCutCopperSlab; + mappings[132] = ItemType.WaxedWeatheredCutCopperSlab; + mappings[133] = ItemType.WaxedOxidizedCutCopperSlab; + mappings[134] = ItemType.OakLog; + mappings[135] = ItemType.SpruceLog; + mappings[136] = ItemType.BirchLog; + mappings[137] = ItemType.JungleLog; + mappings[138] = ItemType.AcaciaLog; + mappings[139] = ItemType.CherryLog; + mappings[140] = ItemType.PaleOakLog; + mappings[141] = ItemType.DarkOakLog; + mappings[142] = ItemType.MangroveLog; + mappings[143] = ItemType.MangroveRoots; + mappings[144] = ItemType.MuddyMangroveRoots; + mappings[145] = ItemType.CrimsonStem; + mappings[146] = ItemType.WarpedStem; + mappings[147] = ItemType.BambooBlock; + mappings[148] = ItemType.StrippedOakLog; + mappings[149] = ItemType.StrippedSpruceLog; + mappings[150] = ItemType.StrippedBirchLog; + mappings[151] = ItemType.StrippedJungleLog; + mappings[152] = ItemType.StrippedAcaciaLog; + mappings[153] = ItemType.StrippedCherryLog; + mappings[154] = ItemType.StrippedDarkOakLog; + mappings[155] = ItemType.StrippedPaleOakLog; + mappings[156] = ItemType.StrippedMangroveLog; + mappings[157] = ItemType.StrippedCrimsonStem; + mappings[158] = ItemType.StrippedWarpedStem; + mappings[159] = ItemType.StrippedOakWood; + mappings[160] = ItemType.StrippedSpruceWood; + mappings[161] = ItemType.StrippedBirchWood; + mappings[162] = ItemType.StrippedJungleWood; + mappings[163] = ItemType.StrippedAcaciaWood; + mappings[164] = ItemType.StrippedCherryWood; + mappings[165] = ItemType.StrippedDarkOakWood; + mappings[166] = ItemType.StrippedPaleOakWood; + mappings[167] = ItemType.StrippedMangroveWood; + mappings[168] = ItemType.StrippedCrimsonHyphae; + mappings[169] = ItemType.StrippedWarpedHyphae; + mappings[170] = ItemType.StrippedBambooBlock; + mappings[171] = ItemType.OakWood; + mappings[172] = ItemType.SpruceWood; + mappings[173] = ItemType.BirchWood; + mappings[174] = ItemType.JungleWood; + mappings[175] = ItemType.AcaciaWood; + mappings[176] = ItemType.CherryWood; + mappings[177] = ItemType.PaleOakWood; + mappings[178] = ItemType.DarkOakWood; + mappings[179] = ItemType.MangroveWood; + mappings[180] = ItemType.CrimsonHyphae; + mappings[181] = ItemType.WarpedHyphae; + mappings[182] = ItemType.OakLeaves; + mappings[183] = ItemType.SpruceLeaves; + mappings[184] = ItemType.BirchLeaves; + mappings[185] = ItemType.JungleLeaves; + mappings[186] = ItemType.AcaciaLeaves; + mappings[187] = ItemType.CherryLeaves; + mappings[188] = ItemType.DarkOakLeaves; + mappings[189] = ItemType.PaleOakLeaves; + mappings[190] = ItemType.MangroveLeaves; + mappings[191] = ItemType.AzaleaLeaves; + mappings[192] = ItemType.FloweringAzaleaLeaves; + mappings[193] = ItemType.Sponge; + mappings[194] = ItemType.WetSponge; + mappings[195] = ItemType.Glass; + mappings[196] = ItemType.TintedGlass; + mappings[197] = ItemType.LapisBlock; + mappings[198] = ItemType.Sandstone; + mappings[199] = ItemType.ChiseledSandstone; + mappings[200] = ItemType.CutSandstone; + mappings[201] = ItemType.Cobweb; + mappings[202] = ItemType.ShortGrass; + mappings[203] = ItemType.Fern; + mappings[204] = ItemType.Bush; + mappings[205] = ItemType.Azalea; + mappings[206] = ItemType.FloweringAzalea; + mappings[207] = ItemType.DeadBush; + mappings[208] = ItemType.FireflyBush; + mappings[209] = ItemType.DryShortGrass; + mappings[210] = ItemType.DryTallGrass; + mappings[211] = ItemType.Seagrass; + mappings[212] = ItemType.SeaPickle; + mappings[213] = ItemType.WhiteWool; + mappings[214] = ItemType.OrangeWool; + mappings[215] = ItemType.MagentaWool; + mappings[216] = ItemType.LightBlueWool; + mappings[217] = ItemType.YellowWool; + mappings[218] = ItemType.LimeWool; + mappings[219] = ItemType.PinkWool; + mappings[220] = ItemType.GrayWool; + mappings[221] = ItemType.LightGrayWool; + mappings[222] = ItemType.CyanWool; + mappings[223] = ItemType.PurpleWool; + mappings[224] = ItemType.BlueWool; + mappings[225] = ItemType.BrownWool; + mappings[226] = ItemType.GreenWool; + mappings[227] = ItemType.RedWool; + mappings[228] = ItemType.BlackWool; + mappings[229] = ItemType.Dandelion; + mappings[230] = ItemType.OpenEyeblossom; + mappings[231] = ItemType.ClosedEyeblossom; + mappings[232] = ItemType.Poppy; + mappings[233] = ItemType.BlueOrchid; + mappings[234] = ItemType.Allium; + mappings[235] = ItemType.AzureBluet; + mappings[236] = ItemType.RedTulip; + mappings[237] = ItemType.OrangeTulip; + mappings[238] = ItemType.WhiteTulip; + mappings[239] = ItemType.PinkTulip; + mappings[240] = ItemType.OxeyeDaisy; + mappings[241] = ItemType.Cornflower; + mappings[242] = ItemType.LilyOfTheValley; + mappings[243] = ItemType.WitherRose; + mappings[244] = ItemType.Torchflower; + mappings[245] = ItemType.PitcherPlant; + mappings[246] = ItemType.SporeBlossom; + mappings[247] = ItemType.BrownMushroom; + mappings[248] = ItemType.RedMushroom; + mappings[249] = ItemType.CrimsonFungus; + mappings[250] = ItemType.WarpedFungus; + mappings[251] = ItemType.CrimsonRoots; + mappings[252] = ItemType.WarpedRoots; + mappings[253] = ItemType.NetherSprouts; + mappings[254] = ItemType.WeepingVines; + mappings[255] = ItemType.TwistingVines; + mappings[256] = ItemType.SugarCane; + mappings[257] = ItemType.Kelp; + mappings[258] = ItemType.PinkPetals; + mappings[259] = ItemType.Wildflowers; + mappings[260] = ItemType.LeafLitter; + mappings[261] = ItemType.MossCarpet; + mappings[262] = ItemType.MossBlock; + mappings[263] = ItemType.PaleMossCarpet; + mappings[264] = ItemType.PaleHangingMoss; + mappings[265] = ItemType.PaleMossBlock; + mappings[266] = ItemType.HangingRoots; + mappings[267] = ItemType.BigDripleaf; + mappings[268] = ItemType.SmallDripleaf; + mappings[269] = ItemType.Bamboo; + mappings[270] = ItemType.OakSlab; + mappings[271] = ItemType.SpruceSlab; + mappings[272] = ItemType.BirchSlab; + mappings[273] = ItemType.JungleSlab; + mappings[274] = ItemType.AcaciaSlab; + mappings[275] = ItemType.CherrySlab; + mappings[276] = ItemType.DarkOakSlab; + mappings[277] = ItemType.PaleOakSlab; + mappings[278] = ItemType.MangroveSlab; + mappings[279] = ItemType.BambooSlab; + mappings[280] = ItemType.BambooMosaicSlab; + mappings[281] = ItemType.CrimsonSlab; + mappings[282] = ItemType.WarpedSlab; + mappings[283] = ItemType.StoneSlab; + mappings[284] = ItemType.SmoothStoneSlab; + mappings[285] = ItemType.SandstoneSlab; + mappings[286] = ItemType.CutSandstoneSlab; + mappings[287] = ItemType.PetrifiedOakSlab; + mappings[288] = ItemType.CobblestoneSlab; + mappings[289] = ItemType.BrickSlab; + mappings[290] = ItemType.StoneBrickSlab; + mappings[291] = ItemType.MudBrickSlab; + mappings[292] = ItemType.NetherBrickSlab; + mappings[293] = ItemType.QuartzSlab; + mappings[294] = ItemType.RedSandstoneSlab; + mappings[295] = ItemType.CutRedSandstoneSlab; + mappings[296] = ItemType.PurpurSlab; + mappings[297] = ItemType.PrismarineSlab; + mappings[298] = ItemType.PrismarineBrickSlab; + mappings[299] = ItemType.DarkPrismarineSlab; + mappings[300] = ItemType.SmoothQuartz; + mappings[301] = ItemType.SmoothRedSandstone; + mappings[302] = ItemType.SmoothSandstone; + mappings[303] = ItemType.SmoothStone; + mappings[304] = ItemType.Bricks; + mappings[305] = ItemType.AcaciaShelf; + mappings[306] = ItemType.BambooShelf; + mappings[307] = ItemType.BirchShelf; + mappings[308] = ItemType.CherryShelf; + mappings[309] = ItemType.CrimsonShelf; + mappings[310] = ItemType.DarkOakShelf; + mappings[311] = ItemType.JungleShelf; + mappings[312] = ItemType.MangroveShelf; + mappings[313] = ItemType.OakShelf; + mappings[314] = ItemType.PaleOakShelf; + mappings[315] = ItemType.SpruceShelf; + mappings[316] = ItemType.WarpedShelf; + mappings[317] = ItemType.Bookshelf; + mappings[318] = ItemType.ChiseledBookshelf; + mappings[319] = ItemType.DecoratedPot; + mappings[320] = ItemType.MossyCobblestone; + mappings[321] = ItemType.Obsidian; + mappings[322] = ItemType.Torch; + mappings[323] = ItemType.EndRod; + mappings[324] = ItemType.ChorusPlant; + mappings[325] = ItemType.ChorusFlower; + mappings[326] = ItemType.PurpurBlock; + mappings[327] = ItemType.PurpurPillar; + mappings[328] = ItemType.PurpurStairs; + mappings[329] = ItemType.Spawner; + mappings[330] = ItemType.CreakingHeart; + mappings[331] = ItemType.Chest; + mappings[332] = ItemType.CraftingTable; + mappings[333] = ItemType.Farmland; + mappings[334] = ItemType.Furnace; + mappings[335] = ItemType.Ladder; + mappings[336] = ItemType.CobblestoneStairs; + mappings[337] = ItemType.Snow; + mappings[338] = ItemType.Ice; + mappings[339] = ItemType.SnowBlock; + mappings[340] = ItemType.Cactus; + mappings[341] = ItemType.CactusFlower; + mappings[342] = ItemType.Clay; + mappings[343] = ItemType.Jukebox; + mappings[344] = ItemType.OakFence; + mappings[345] = ItemType.SpruceFence; + mappings[346] = ItemType.BirchFence; + mappings[347] = ItemType.JungleFence; + mappings[348] = ItemType.AcaciaFence; + mappings[349] = ItemType.CherryFence; + mappings[350] = ItemType.DarkOakFence; + mappings[351] = ItemType.PaleOakFence; + mappings[352] = ItemType.MangroveFence; + mappings[353] = ItemType.BambooFence; + mappings[354] = ItemType.CrimsonFence; + mappings[355] = ItemType.WarpedFence; + mappings[356] = ItemType.Pumpkin; + mappings[357] = ItemType.CarvedPumpkin; + mappings[358] = ItemType.JackOLantern; + mappings[359] = ItemType.Netherrack; + mappings[360] = ItemType.SoulSand; + mappings[361] = ItemType.SoulSoil; + mappings[362] = ItemType.Basalt; + mappings[363] = ItemType.PolishedBasalt; + mappings[364] = ItemType.SmoothBasalt; + mappings[365] = ItemType.SoulTorch; + mappings[366] = ItemType.CopperTorch; + mappings[367] = ItemType.Glowstone; + mappings[368] = ItemType.InfestedStone; + mappings[369] = ItemType.InfestedCobblestone; + mappings[370] = ItemType.InfestedStoneBricks; + mappings[371] = ItemType.InfestedMossyStoneBricks; + mappings[372] = ItemType.InfestedCrackedStoneBricks; + mappings[373] = ItemType.InfestedChiseledStoneBricks; + mappings[374] = ItemType.InfestedDeepslate; + mappings[375] = ItemType.StoneBricks; + mappings[376] = ItemType.MossyStoneBricks; + mappings[377] = ItemType.CrackedStoneBricks; + mappings[378] = ItemType.ChiseledStoneBricks; + mappings[379] = ItemType.PackedMud; + mappings[380] = ItemType.MudBricks; + mappings[381] = ItemType.DeepslateBricks; + mappings[382] = ItemType.CrackedDeepslateBricks; + mappings[383] = ItemType.DeepslateTiles; + mappings[384] = ItemType.CrackedDeepslateTiles; + mappings[385] = ItemType.ChiseledDeepslate; + mappings[386] = ItemType.ReinforcedDeepslate; + mappings[387] = ItemType.BrownMushroomBlock; + mappings[388] = ItemType.RedMushroomBlock; + mappings[389] = ItemType.MushroomStem; + mappings[390] = ItemType.IronBars; + mappings[391] = ItemType.IronChain; + mappings[392] = ItemType.GlassPane; + mappings[393] = ItemType.Melon; + mappings[394] = ItemType.Vine; + mappings[395] = ItemType.GlowLichen; + mappings[396] = ItemType.ResinClump; + mappings[397] = ItemType.ResinBlock; + mappings[398] = ItemType.ResinBricks; + mappings[399] = ItemType.ResinBrickStairs; + mappings[400] = ItemType.ResinBrickSlab; + mappings[401] = ItemType.ResinBrickWall; + mappings[402] = ItemType.ChiseledResinBricks; + mappings[403] = ItemType.BrickStairs; + mappings[404] = ItemType.StoneBrickStairs; + mappings[405] = ItemType.MudBrickStairs; + mappings[406] = ItemType.Mycelium; + mappings[407] = ItemType.LilyPad; + mappings[408] = ItemType.NetherBricks; + mappings[409] = ItemType.CrackedNetherBricks; + mappings[410] = ItemType.ChiseledNetherBricks; + mappings[411] = ItemType.NetherBrickFence; + mappings[412] = ItemType.NetherBrickStairs; + mappings[413] = ItemType.Sculk; + mappings[414] = ItemType.SculkVein; + mappings[415] = ItemType.SculkCatalyst; + mappings[416] = ItemType.SculkShrieker; + mappings[417] = ItemType.EnchantingTable; + mappings[418] = ItemType.EndPortalFrame; + mappings[419] = ItemType.EndStone; + mappings[420] = ItemType.EndStoneBricks; + mappings[421] = ItemType.DragonEgg; + mappings[422] = ItemType.SandstoneStairs; + mappings[423] = ItemType.EnderChest; + mappings[424] = ItemType.EmeraldBlock; + mappings[425] = ItemType.OakStairs; + mappings[426] = ItemType.SpruceStairs; + mappings[427] = ItemType.BirchStairs; + mappings[428] = ItemType.JungleStairs; + mappings[429] = ItemType.AcaciaStairs; + mappings[430] = ItemType.CherryStairs; + mappings[431] = ItemType.DarkOakStairs; + mappings[432] = ItemType.PaleOakStairs; + mappings[433] = ItemType.MangroveStairs; + mappings[434] = ItemType.BambooStairs; + mappings[435] = ItemType.BambooMosaicStairs; + mappings[436] = ItemType.CrimsonStairs; + mappings[437] = ItemType.WarpedStairs; + mappings[438] = ItemType.CommandBlock; + mappings[439] = ItemType.Beacon; + mappings[440] = ItemType.CobblestoneWall; + mappings[441] = ItemType.MossyCobblestoneWall; + mappings[442] = ItemType.BrickWall; + mappings[443] = ItemType.PrismarineWall; + mappings[444] = ItemType.RedSandstoneWall; + mappings[445] = ItemType.MossyStoneBrickWall; + mappings[446] = ItemType.GraniteWall; + mappings[447] = ItemType.StoneBrickWall; + mappings[448] = ItemType.MudBrickWall; + mappings[449] = ItemType.NetherBrickWall; + mappings[450] = ItemType.AndesiteWall; + mappings[451] = ItemType.RedNetherBrickWall; + mappings[452] = ItemType.SandstoneWall; + mappings[453] = ItemType.EndStoneBrickWall; + mappings[454] = ItemType.DioriteWall; + mappings[455] = ItemType.BlackstoneWall; + mappings[456] = ItemType.PolishedBlackstoneWall; + mappings[457] = ItemType.PolishedBlackstoneBrickWall; + mappings[458] = ItemType.CobbledDeepslateWall; + mappings[459] = ItemType.PolishedDeepslateWall; + mappings[460] = ItemType.DeepslateBrickWall; + mappings[461] = ItemType.DeepslateTileWall; + mappings[462] = ItemType.Anvil; + mappings[463] = ItemType.ChippedAnvil; + mappings[464] = ItemType.DamagedAnvil; + mappings[465] = ItemType.ChiseledQuartzBlock; + mappings[466] = ItemType.QuartzBlock; + mappings[467] = ItemType.QuartzBricks; + mappings[468] = ItemType.QuartzPillar; + mappings[469] = ItemType.QuartzStairs; + mappings[470] = ItemType.WhiteTerracotta; + mappings[471] = ItemType.OrangeTerracotta; + mappings[472] = ItemType.MagentaTerracotta; + mappings[473] = ItemType.LightBlueTerracotta; + mappings[474] = ItemType.YellowTerracotta; + mappings[475] = ItemType.LimeTerracotta; + mappings[476] = ItemType.PinkTerracotta; + mappings[477] = ItemType.GrayTerracotta; + mappings[478] = ItemType.LightGrayTerracotta; + mappings[479] = ItemType.CyanTerracotta; + mappings[480] = ItemType.PurpleTerracotta; + mappings[481] = ItemType.BlueTerracotta; + mappings[482] = ItemType.BrownTerracotta; + mappings[483] = ItemType.GreenTerracotta; + mappings[484] = ItemType.RedTerracotta; + mappings[485] = ItemType.BlackTerracotta; + mappings[486] = ItemType.Barrier; + mappings[487] = ItemType.Light; + mappings[488] = ItemType.HayBlock; + mappings[489] = ItemType.WhiteCarpet; + mappings[490] = ItemType.OrangeCarpet; + mappings[491] = ItemType.MagentaCarpet; + mappings[492] = ItemType.LightBlueCarpet; + mappings[493] = ItemType.YellowCarpet; + mappings[494] = ItemType.LimeCarpet; + mappings[495] = ItemType.PinkCarpet; + mappings[496] = ItemType.GrayCarpet; + mappings[497] = ItemType.LightGrayCarpet; + mappings[498] = ItemType.CyanCarpet; + mappings[499] = ItemType.PurpleCarpet; + mappings[500] = ItemType.BlueCarpet; + mappings[501] = ItemType.BrownCarpet; + mappings[502] = ItemType.GreenCarpet; + mappings[503] = ItemType.RedCarpet; + mappings[504] = ItemType.BlackCarpet; + mappings[505] = ItemType.Terracotta; + mappings[506] = ItemType.PackedIce; + mappings[507] = ItemType.DirtPath; + mappings[508] = ItemType.Sunflower; + mappings[509] = ItemType.Lilac; + mappings[510] = ItemType.RoseBush; + mappings[511] = ItemType.Peony; + mappings[512] = ItemType.TallGrass; + mappings[513] = ItemType.LargeFern; + mappings[514] = ItemType.WhiteStainedGlass; + mappings[515] = ItemType.OrangeStainedGlass; + mappings[516] = ItemType.MagentaStainedGlass; + mappings[517] = ItemType.LightBlueStainedGlass; + mappings[518] = ItemType.YellowStainedGlass; + mappings[519] = ItemType.LimeStainedGlass; + mappings[520] = ItemType.PinkStainedGlass; + mappings[521] = ItemType.GrayStainedGlass; + mappings[522] = ItemType.LightGrayStainedGlass; + mappings[523] = ItemType.CyanStainedGlass; + mappings[524] = ItemType.PurpleStainedGlass; + mappings[525] = ItemType.BlueStainedGlass; + mappings[526] = ItemType.BrownStainedGlass; + mappings[527] = ItemType.GreenStainedGlass; + mappings[528] = ItemType.RedStainedGlass; + mappings[529] = ItemType.BlackStainedGlass; + mappings[530] = ItemType.WhiteStainedGlassPane; + mappings[531] = ItemType.OrangeStainedGlassPane; + mappings[532] = ItemType.MagentaStainedGlassPane; + mappings[533] = ItemType.LightBlueStainedGlassPane; + mappings[534] = ItemType.YellowStainedGlassPane; + mappings[535] = ItemType.LimeStainedGlassPane; + mappings[536] = ItemType.PinkStainedGlassPane; + mappings[537] = ItemType.GrayStainedGlassPane; + mappings[538] = ItemType.LightGrayStainedGlassPane; + mappings[539] = ItemType.CyanStainedGlassPane; + mappings[540] = ItemType.PurpleStainedGlassPane; + mappings[541] = ItemType.BlueStainedGlassPane; + mappings[542] = ItemType.BrownStainedGlassPane; + mappings[543] = ItemType.GreenStainedGlassPane; + mappings[544] = ItemType.RedStainedGlassPane; + mappings[545] = ItemType.BlackStainedGlassPane; + mappings[546] = ItemType.Prismarine; + mappings[547] = ItemType.PrismarineBricks; + mappings[548] = ItemType.DarkPrismarine; + mappings[549] = ItemType.PrismarineStairs; + mappings[550] = ItemType.PrismarineBrickStairs; + mappings[551] = ItemType.DarkPrismarineStairs; + mappings[552] = ItemType.SeaLantern; + mappings[553] = ItemType.RedSandstone; + mappings[554] = ItemType.ChiseledRedSandstone; + mappings[555] = ItemType.CutRedSandstone; + mappings[556] = ItemType.RedSandstoneStairs; + mappings[557] = ItemType.RepeatingCommandBlock; + mappings[558] = ItemType.ChainCommandBlock; + mappings[559] = ItemType.MagmaBlock; + mappings[560] = ItemType.NetherWartBlock; + mappings[561] = ItemType.WarpedWartBlock; + mappings[562] = ItemType.RedNetherBricks; + mappings[563] = ItemType.BoneBlock; + mappings[564] = ItemType.StructureVoid; + mappings[565] = ItemType.ShulkerBox; + mappings[566] = ItemType.WhiteShulkerBox; + mappings[567] = ItemType.OrangeShulkerBox; + mappings[568] = ItemType.MagentaShulkerBox; + mappings[569] = ItemType.LightBlueShulkerBox; + mappings[570] = ItemType.YellowShulkerBox; + mappings[571] = ItemType.LimeShulkerBox; + mappings[572] = ItemType.PinkShulkerBox; + mappings[573] = ItemType.GrayShulkerBox; + mappings[574] = ItemType.LightGrayShulkerBox; + mappings[575] = ItemType.CyanShulkerBox; + mappings[576] = ItemType.PurpleShulkerBox; + mappings[577] = ItemType.BlueShulkerBox; + mappings[578] = ItemType.BrownShulkerBox; + mappings[579] = ItemType.GreenShulkerBox; + mappings[580] = ItemType.RedShulkerBox; + mappings[581] = ItemType.BlackShulkerBox; + mappings[582] = ItemType.WhiteGlazedTerracotta; + mappings[583] = ItemType.OrangeGlazedTerracotta; + mappings[584] = ItemType.MagentaGlazedTerracotta; + mappings[585] = ItemType.LightBlueGlazedTerracotta; + mappings[586] = ItemType.YellowGlazedTerracotta; + mappings[587] = ItemType.LimeGlazedTerracotta; + mappings[588] = ItemType.PinkGlazedTerracotta; + mappings[589] = ItemType.GrayGlazedTerracotta; + mappings[590] = ItemType.LightGrayGlazedTerracotta; + mappings[591] = ItemType.CyanGlazedTerracotta; + mappings[592] = ItemType.PurpleGlazedTerracotta; + mappings[593] = ItemType.BlueGlazedTerracotta; + mappings[594] = ItemType.BrownGlazedTerracotta; + mappings[595] = ItemType.GreenGlazedTerracotta; + mappings[596] = ItemType.RedGlazedTerracotta; + mappings[597] = ItemType.BlackGlazedTerracotta; + mappings[598] = ItemType.WhiteConcrete; + mappings[599] = ItemType.OrangeConcrete; + mappings[600] = ItemType.MagentaConcrete; + mappings[601] = ItemType.LightBlueConcrete; + mappings[602] = ItemType.YellowConcrete; + mappings[603] = ItemType.LimeConcrete; + mappings[604] = ItemType.PinkConcrete; + mappings[605] = ItemType.GrayConcrete; + mappings[606] = ItemType.LightGrayConcrete; + mappings[607] = ItemType.CyanConcrete; + mappings[608] = ItemType.PurpleConcrete; + mappings[609] = ItemType.BlueConcrete; + mappings[610] = ItemType.BrownConcrete; + mappings[611] = ItemType.GreenConcrete; + mappings[612] = ItemType.RedConcrete; + mappings[613] = ItemType.BlackConcrete; + mappings[614] = ItemType.WhiteConcretePowder; + mappings[615] = ItemType.OrangeConcretePowder; + mappings[616] = ItemType.MagentaConcretePowder; + mappings[617] = ItemType.LightBlueConcretePowder; + mappings[618] = ItemType.YellowConcretePowder; + mappings[619] = ItemType.LimeConcretePowder; + mappings[620] = ItemType.PinkConcretePowder; + mappings[621] = ItemType.GrayConcretePowder; + mappings[622] = ItemType.LightGrayConcretePowder; + mappings[623] = ItemType.CyanConcretePowder; + mappings[624] = ItemType.PurpleConcretePowder; + mappings[625] = ItemType.BlueConcretePowder; + mappings[626] = ItemType.BrownConcretePowder; + mappings[627] = ItemType.GreenConcretePowder; + mappings[628] = ItemType.RedConcretePowder; + mappings[629] = ItemType.BlackConcretePowder; + mappings[630] = ItemType.TurtleEgg; + mappings[631] = ItemType.SnifferEgg; + mappings[632] = ItemType.DriedGhast; + mappings[633] = ItemType.DeadTubeCoralBlock; + mappings[634] = ItemType.DeadBrainCoralBlock; + mappings[635] = ItemType.DeadBubbleCoralBlock; + mappings[636] = ItemType.DeadFireCoralBlock; + mappings[637] = ItemType.DeadHornCoralBlock; + mappings[638] = ItemType.TubeCoralBlock; + mappings[639] = ItemType.BrainCoralBlock; + mappings[640] = ItemType.BubbleCoralBlock; + mappings[641] = ItemType.FireCoralBlock; + mappings[642] = ItemType.HornCoralBlock; + mappings[643] = ItemType.TubeCoral; + mappings[644] = ItemType.BrainCoral; + mappings[645] = ItemType.BubbleCoral; + mappings[646] = ItemType.FireCoral; + mappings[647] = ItemType.HornCoral; + mappings[648] = ItemType.DeadBrainCoral; + mappings[649] = ItemType.DeadBubbleCoral; + mappings[650] = ItemType.DeadFireCoral; + mappings[651] = ItemType.DeadHornCoral; + mappings[652] = ItemType.DeadTubeCoral; + mappings[653] = ItemType.TubeCoralFan; + mappings[654] = ItemType.BrainCoralFan; + mappings[655] = ItemType.BubbleCoralFan; + mappings[656] = ItemType.FireCoralFan; + mappings[657] = ItemType.HornCoralFan; + mappings[658] = ItemType.DeadTubeCoralFan; + mappings[659] = ItemType.DeadBrainCoralFan; + mappings[660] = ItemType.DeadBubbleCoralFan; + mappings[661] = ItemType.DeadFireCoralFan; + mappings[662] = ItemType.DeadHornCoralFan; + mappings[663] = ItemType.BlueIce; + mappings[664] = ItemType.Conduit; + mappings[665] = ItemType.PolishedGraniteStairs; + mappings[666] = ItemType.SmoothRedSandstoneStairs; + mappings[667] = ItemType.MossyStoneBrickStairs; + mappings[668] = ItemType.PolishedDioriteStairs; + mappings[669] = ItemType.MossyCobblestoneStairs; + mappings[670] = ItemType.EndStoneBrickStairs; + mappings[671] = ItemType.StoneStairs; + mappings[672] = ItemType.SmoothSandstoneStairs; + mappings[673] = ItemType.SmoothQuartzStairs; + mappings[674] = ItemType.GraniteStairs; + mappings[675] = ItemType.AndesiteStairs; + mappings[676] = ItemType.RedNetherBrickStairs; + mappings[677] = ItemType.PolishedAndesiteStairs; + mappings[678] = ItemType.DioriteStairs; + mappings[679] = ItemType.CobbledDeepslateStairs; + mappings[680] = ItemType.PolishedDeepslateStairs; + mappings[681] = ItemType.DeepslateBrickStairs; + mappings[682] = ItemType.DeepslateTileStairs; + mappings[683] = ItemType.PolishedGraniteSlab; + mappings[684] = ItemType.SmoothRedSandstoneSlab; + mappings[685] = ItemType.MossyStoneBrickSlab; + mappings[686] = ItemType.PolishedDioriteSlab; + mappings[687] = ItemType.MossyCobblestoneSlab; + mappings[688] = ItemType.EndStoneBrickSlab; + mappings[689] = ItemType.SmoothSandstoneSlab; + mappings[690] = ItemType.SmoothQuartzSlab; + mappings[691] = ItemType.GraniteSlab; + mappings[692] = ItemType.AndesiteSlab; + mappings[693] = ItemType.RedNetherBrickSlab; + mappings[694] = ItemType.PolishedAndesiteSlab; + mappings[695] = ItemType.DioriteSlab; + mappings[696] = ItemType.CobbledDeepslateSlab; + mappings[697] = ItemType.PolishedDeepslateSlab; + mappings[698] = ItemType.DeepslateBrickSlab; + mappings[699] = ItemType.DeepslateTileSlab; + mappings[700] = ItemType.Scaffolding; + mappings[701] = ItemType.Redstone; + mappings[702] = ItemType.RedstoneTorch; + mappings[703] = ItemType.RedstoneBlock; + mappings[704] = ItemType.Repeater; + mappings[705] = ItemType.Comparator; + mappings[706] = ItemType.Piston; + mappings[707] = ItemType.StickyPiston; + mappings[708] = ItemType.SlimeBlock; + mappings[709] = ItemType.HoneyBlock; + mappings[710] = ItemType.Observer; + mappings[711] = ItemType.Hopper; + mappings[712] = ItemType.Dispenser; + mappings[713] = ItemType.Dropper; + mappings[714] = ItemType.Lectern; + mappings[715] = ItemType.Target; + mappings[716] = ItemType.Lever; + mappings[717] = ItemType.LightningRod; + mappings[718] = ItemType.ExposedLightningRod; + mappings[719] = ItemType.WeatheredLightningRod; + mappings[720] = ItemType.OxidizedLightningRod; + mappings[721] = ItemType.WaxedLightningRod; + mappings[722] = ItemType.WaxedExposedLightningRod; + mappings[723] = ItemType.WaxedWeatheredLightningRod; + mappings[724] = ItemType.WaxedOxidizedLightningRod; + mappings[725] = ItemType.DaylightDetector; + mappings[726] = ItemType.SculkSensor; + mappings[727] = ItemType.CalibratedSculkSensor; + mappings[728] = ItemType.TripwireHook; + mappings[729] = ItemType.TrappedChest; + mappings[730] = ItemType.Tnt; + mappings[731] = ItemType.RedstoneLamp; + mappings[732] = ItemType.NoteBlock; + mappings[733] = ItemType.StoneButton; + mappings[734] = ItemType.PolishedBlackstoneButton; + mappings[735] = ItemType.OakButton; + mappings[736] = ItemType.SpruceButton; + mappings[737] = ItemType.BirchButton; + mappings[738] = ItemType.JungleButton; + mappings[739] = ItemType.AcaciaButton; + mappings[740] = ItemType.CherryButton; + mappings[741] = ItemType.DarkOakButton; + mappings[742] = ItemType.PaleOakButton; + mappings[743] = ItemType.MangroveButton; + mappings[744] = ItemType.BambooButton; + mappings[745] = ItemType.CrimsonButton; + mappings[746] = ItemType.WarpedButton; + mappings[747] = ItemType.StonePressurePlate; + mappings[748] = ItemType.PolishedBlackstonePressurePlate; + mappings[749] = ItemType.LightWeightedPressurePlate; + mappings[750] = ItemType.HeavyWeightedPressurePlate; + mappings[751] = ItemType.OakPressurePlate; + mappings[752] = ItemType.SprucePressurePlate; + mappings[753] = ItemType.BirchPressurePlate; + mappings[754] = ItemType.JunglePressurePlate; + mappings[755] = ItemType.AcaciaPressurePlate; + mappings[756] = ItemType.CherryPressurePlate; + mappings[757] = ItemType.DarkOakPressurePlate; + mappings[758] = ItemType.PaleOakPressurePlate; + mappings[759] = ItemType.MangrovePressurePlate; + mappings[760] = ItemType.BambooPressurePlate; + mappings[761] = ItemType.CrimsonPressurePlate; + mappings[762] = ItemType.WarpedPressurePlate; + mappings[763] = ItemType.IronDoor; + mappings[764] = ItemType.OakDoor; + mappings[765] = ItemType.SpruceDoor; + mappings[766] = ItemType.BirchDoor; + mappings[767] = ItemType.JungleDoor; + mappings[768] = ItemType.AcaciaDoor; + mappings[769] = ItemType.CherryDoor; + mappings[770] = ItemType.DarkOakDoor; + mappings[771] = ItemType.PaleOakDoor; + mappings[772] = ItemType.MangroveDoor; + mappings[773] = ItemType.BambooDoor; + mappings[774] = ItemType.CrimsonDoor; + mappings[775] = ItemType.WarpedDoor; + mappings[776] = ItemType.CopperDoor; + mappings[777] = ItemType.ExposedCopperDoor; + mappings[778] = ItemType.WeatheredCopperDoor; + mappings[779] = ItemType.OxidizedCopperDoor; + mappings[780] = ItemType.WaxedCopperDoor; + mappings[781] = ItemType.WaxedExposedCopperDoor; + mappings[782] = ItemType.WaxedWeatheredCopperDoor; + mappings[783] = ItemType.WaxedOxidizedCopperDoor; + mappings[784] = ItemType.IronTrapdoor; + mappings[785] = ItemType.OakTrapdoor; + mappings[786] = ItemType.SpruceTrapdoor; + mappings[787] = ItemType.BirchTrapdoor; + mappings[788] = ItemType.JungleTrapdoor; + mappings[789] = ItemType.AcaciaTrapdoor; + mappings[790] = ItemType.CherryTrapdoor; + mappings[791] = ItemType.DarkOakTrapdoor; + mappings[792] = ItemType.PaleOakTrapdoor; + mappings[793] = ItemType.MangroveTrapdoor; + mappings[794] = ItemType.BambooTrapdoor; + mappings[795] = ItemType.CrimsonTrapdoor; + mappings[796] = ItemType.WarpedTrapdoor; + mappings[797] = ItemType.CopperTrapdoor; + mappings[798] = ItemType.ExposedCopperTrapdoor; + mappings[799] = ItemType.WeatheredCopperTrapdoor; + mappings[800] = ItemType.OxidizedCopperTrapdoor; + mappings[801] = ItemType.WaxedCopperTrapdoor; + mappings[802] = ItemType.WaxedExposedCopperTrapdoor; + mappings[803] = ItemType.WaxedWeatheredCopperTrapdoor; + mappings[804] = ItemType.WaxedOxidizedCopperTrapdoor; + mappings[805] = ItemType.OakFenceGate; + mappings[806] = ItemType.SpruceFenceGate; + mappings[807] = ItemType.BirchFenceGate; + mappings[808] = ItemType.JungleFenceGate; + mappings[809] = ItemType.AcaciaFenceGate; + mappings[810] = ItemType.CherryFenceGate; + mappings[811] = ItemType.DarkOakFenceGate; + mappings[812] = ItemType.PaleOakFenceGate; + mappings[813] = ItemType.MangroveFenceGate; + mappings[814] = ItemType.BambooFenceGate; + mappings[815] = ItemType.CrimsonFenceGate; + mappings[816] = ItemType.WarpedFenceGate; + mappings[817] = ItemType.PoweredRail; + mappings[818] = ItemType.DetectorRail; + mappings[819] = ItemType.Rail; + mappings[820] = ItemType.ActivatorRail; + mappings[821] = ItemType.Saddle; + mappings[822] = ItemType.WhiteHarness; + mappings[823] = ItemType.OrangeHarness; + mappings[824] = ItemType.MagentaHarness; + mappings[825] = ItemType.LightBlueHarness; + mappings[826] = ItemType.YellowHarness; + mappings[827] = ItemType.LimeHarness; + mappings[828] = ItemType.PinkHarness; + mappings[829] = ItemType.GrayHarness; + mappings[830] = ItemType.LightGrayHarness; + mappings[831] = ItemType.CyanHarness; + mappings[832] = ItemType.PurpleHarness; + mappings[833] = ItemType.BlueHarness; + mappings[834] = ItemType.BrownHarness; + mappings[835] = ItemType.GreenHarness; + mappings[836] = ItemType.RedHarness; + mappings[837] = ItemType.BlackHarness; + mappings[838] = ItemType.Minecart; + mappings[839] = ItemType.ChestMinecart; + mappings[840] = ItemType.FurnaceMinecart; + mappings[841] = ItemType.TntMinecart; + mappings[842] = ItemType.HopperMinecart; + mappings[843] = ItemType.CarrotOnAStick; + mappings[844] = ItemType.WarpedFungusOnAStick; + mappings[845] = ItemType.PhantomMembrane; + mappings[846] = ItemType.Elytra; + mappings[847] = ItemType.OakBoat; + mappings[848] = ItemType.OakChestBoat; + mappings[849] = ItemType.SpruceBoat; + mappings[850] = ItemType.SpruceChestBoat; + mappings[851] = ItemType.BirchBoat; + mappings[852] = ItemType.BirchChestBoat; + mappings[853] = ItemType.JungleBoat; + mappings[854] = ItemType.JungleChestBoat; + mappings[855] = ItemType.AcaciaBoat; + mappings[856] = ItemType.AcaciaChestBoat; + mappings[857] = ItemType.CherryBoat; + mappings[858] = ItemType.CherryChestBoat; + mappings[859] = ItemType.DarkOakBoat; + mappings[860] = ItemType.DarkOakChestBoat; + mappings[861] = ItemType.PaleOakBoat; + mappings[862] = ItemType.PaleOakChestBoat; + mappings[863] = ItemType.MangroveBoat; + mappings[864] = ItemType.MangroveChestBoat; + mappings[865] = ItemType.BambooRaft; + mappings[866] = ItemType.BambooChestRaft; + mappings[867] = ItemType.StructureBlock; + mappings[868] = ItemType.Jigsaw; + mappings[869] = ItemType.TestBlock; + mappings[870] = ItemType.TestInstanceBlock; + mappings[871] = ItemType.TurtleHelmet; + mappings[872] = ItemType.TurtleScute; + mappings[873] = ItemType.ArmadilloScute; + mappings[874] = ItemType.WolfArmor; + mappings[875] = ItemType.FlintAndSteel; + mappings[876] = ItemType.Bowl; + mappings[877] = ItemType.Apple; + mappings[878] = ItemType.Bow; + mappings[879] = ItemType.Arrow; + mappings[880] = ItemType.Coal; + mappings[881] = ItemType.Charcoal; + mappings[882] = ItemType.Diamond; + mappings[883] = ItemType.Emerald; + mappings[884] = ItemType.LapisLazuli; + mappings[885] = ItemType.Quartz; + mappings[886] = ItemType.AmethystShard; + mappings[887] = ItemType.RawIron; + mappings[888] = ItemType.IronIngot; + mappings[889] = ItemType.RawCopper; + mappings[890] = ItemType.CopperIngot; + mappings[891] = ItemType.RawGold; + mappings[892] = ItemType.GoldIngot; + mappings[893] = ItemType.NetheriteIngot; + mappings[894] = ItemType.NetheriteScrap; + mappings[895] = ItemType.WoodenSword; + mappings[896] = ItemType.WoodenShovel; + mappings[897] = ItemType.WoodenPickaxe; + mappings[898] = ItemType.WoodenAxe; + mappings[899] = ItemType.WoodenHoe; + mappings[900] = ItemType.CopperSword; + mappings[901] = ItemType.CopperShovel; + mappings[902] = ItemType.CopperPickaxe; + mappings[903] = ItemType.CopperAxe; + mappings[904] = ItemType.CopperHoe; + mappings[905] = ItemType.StoneSword; + mappings[906] = ItemType.StoneShovel; + mappings[907] = ItemType.StonePickaxe; + mappings[908] = ItemType.StoneAxe; + mappings[909] = ItemType.StoneHoe; + mappings[910] = ItemType.GoldenSword; + mappings[911] = ItemType.GoldenShovel; + mappings[912] = ItemType.GoldenPickaxe; + mappings[913] = ItemType.GoldenAxe; + mappings[914] = ItemType.GoldenHoe; + mappings[915] = ItemType.IronSword; + mappings[916] = ItemType.IronShovel; + mappings[917] = ItemType.IronPickaxe; + mappings[918] = ItemType.IronAxe; + mappings[919] = ItemType.IronHoe; + mappings[920] = ItemType.DiamondSword; + mappings[921] = ItemType.DiamondShovel; + mappings[922] = ItemType.DiamondPickaxe; + mappings[923] = ItemType.DiamondAxe; + mappings[924] = ItemType.DiamondHoe; + mappings[925] = ItemType.NetheriteSword; + mappings[926] = ItemType.NetheriteShovel; + mappings[927] = ItemType.NetheritePickaxe; + mappings[928] = ItemType.NetheriteAxe; + mappings[929] = ItemType.NetheriteHoe; + mappings[930] = ItemType.Stick; + mappings[931] = ItemType.MushroomStew; + mappings[932] = ItemType.String; + mappings[933] = ItemType.Feather; + mappings[934] = ItemType.Gunpowder; + mappings[935] = ItemType.WheatSeeds; + mappings[936] = ItemType.Wheat; + mappings[937] = ItemType.Bread; + mappings[938] = ItemType.LeatherHelmet; + mappings[939] = ItemType.LeatherChestplate; + mappings[940] = ItemType.LeatherLeggings; + mappings[941] = ItemType.LeatherBoots; + mappings[942] = ItemType.CopperHelmet; + mappings[943] = ItemType.CopperChestplate; + mappings[944] = ItemType.CopperLeggings; + mappings[945] = ItemType.CopperBoots; + mappings[946] = ItemType.ChainmailHelmet; + mappings[947] = ItemType.ChainmailChestplate; + mappings[948] = ItemType.ChainmailLeggings; + mappings[949] = ItemType.ChainmailBoots; + mappings[950] = ItemType.IronHelmet; + mappings[951] = ItemType.IronChestplate; + mappings[952] = ItemType.IronLeggings; + mappings[953] = ItemType.IronBoots; + mappings[954] = ItemType.DiamondHelmet; + mappings[955] = ItemType.DiamondChestplate; + mappings[956] = ItemType.DiamondLeggings; + mappings[957] = ItemType.DiamondBoots; + mappings[958] = ItemType.GoldenHelmet; + mappings[959] = ItemType.GoldenChestplate; + mappings[960] = ItemType.GoldenLeggings; + mappings[961] = ItemType.GoldenBoots; + mappings[962] = ItemType.NetheriteHelmet; + mappings[963] = ItemType.NetheriteChestplate; + mappings[964] = ItemType.NetheriteLeggings; + mappings[965] = ItemType.NetheriteBoots; + mappings[966] = ItemType.Flint; + mappings[967] = ItemType.Porkchop; + mappings[968] = ItemType.CookedPorkchop; + mappings[969] = ItemType.Painting; + mappings[970] = ItemType.GoldenApple; + mappings[971] = ItemType.EnchantedGoldenApple; + mappings[972] = ItemType.OakSign; + mappings[973] = ItemType.SpruceSign; + mappings[974] = ItemType.BirchSign; + mappings[975] = ItemType.JungleSign; + mappings[976] = ItemType.AcaciaSign; + mappings[977] = ItemType.CherrySign; + mappings[978] = ItemType.DarkOakSign; + mappings[979] = ItemType.PaleOakSign; + mappings[980] = ItemType.MangroveSign; + mappings[981] = ItemType.BambooSign; + mappings[982] = ItemType.CrimsonSign; + mappings[983] = ItemType.WarpedSign; + mappings[984] = ItemType.OakHangingSign; + mappings[985] = ItemType.SpruceHangingSign; + mappings[986] = ItemType.BirchHangingSign; + mappings[987] = ItemType.JungleHangingSign; + mappings[988] = ItemType.AcaciaHangingSign; + mappings[989] = ItemType.CherryHangingSign; + mappings[990] = ItemType.DarkOakHangingSign; + mappings[991] = ItemType.PaleOakHangingSign; + mappings[992] = ItemType.MangroveHangingSign; + mappings[993] = ItemType.BambooHangingSign; + mappings[994] = ItemType.CrimsonHangingSign; + mappings[995] = ItemType.WarpedHangingSign; + mappings[996] = ItemType.Bucket; + mappings[997] = ItemType.WaterBucket; + mappings[998] = ItemType.LavaBucket; + mappings[999] = ItemType.PowderSnowBucket; + mappings[1000] = ItemType.Snowball; + mappings[1001] = ItemType.Leather; + mappings[1002] = ItemType.MilkBucket; + mappings[1003] = ItemType.PufferfishBucket; + mappings[1004] = ItemType.SalmonBucket; + mappings[1005] = ItemType.CodBucket; + mappings[1006] = ItemType.TropicalFishBucket; + mappings[1007] = ItemType.AxolotlBucket; + mappings[1008] = ItemType.TadpoleBucket; + mappings[1009] = ItemType.Brick; + mappings[1010] = ItemType.ClayBall; + mappings[1011] = ItemType.DriedKelpBlock; + mappings[1012] = ItemType.Paper; + mappings[1013] = ItemType.Book; + mappings[1014] = ItemType.SlimeBall; + mappings[1015] = ItemType.Egg; + mappings[1016] = ItemType.BlueEgg; + mappings[1017] = ItemType.BrownEgg; + mappings[1018] = ItemType.Compass; + mappings[1019] = ItemType.RecoveryCompass; + mappings[1020] = ItemType.Bundle; + mappings[1021] = ItemType.WhiteBundle; + mappings[1022] = ItemType.OrangeBundle; + mappings[1023] = ItemType.MagentaBundle; + mappings[1024] = ItemType.LightBlueBundle; + mappings[1025] = ItemType.YellowBundle; + mappings[1026] = ItemType.LimeBundle; + mappings[1027] = ItemType.PinkBundle; + mappings[1028] = ItemType.GrayBundle; + mappings[1029] = ItemType.LightGrayBundle; + mappings[1030] = ItemType.CyanBundle; + mappings[1031] = ItemType.PurpleBundle; + mappings[1032] = ItemType.BlueBundle; + mappings[1033] = ItemType.BrownBundle; + mappings[1034] = ItemType.GreenBundle; + mappings[1035] = ItemType.RedBundle; + mappings[1036] = ItemType.BlackBundle; + mappings[1037] = ItemType.FishingRod; + mappings[1038] = ItemType.Clock; + mappings[1039] = ItemType.Spyglass; + mappings[1040] = ItemType.GlowstoneDust; + mappings[1041] = ItemType.Cod; + mappings[1042] = ItemType.Salmon; + mappings[1043] = ItemType.TropicalFish; + mappings[1044] = ItemType.Pufferfish; + mappings[1045] = ItemType.CookedCod; + mappings[1046] = ItemType.CookedSalmon; + mappings[1047] = ItemType.InkSac; + mappings[1048] = ItemType.GlowInkSac; + mappings[1049] = ItemType.CocoaBeans; + mappings[1050] = ItemType.WhiteDye; + mappings[1051] = ItemType.OrangeDye; + mappings[1052] = ItemType.MagentaDye; + mappings[1053] = ItemType.LightBlueDye; + mappings[1054] = ItemType.YellowDye; + mappings[1055] = ItemType.LimeDye; + mappings[1056] = ItemType.PinkDye; + mappings[1057] = ItemType.GrayDye; + mappings[1058] = ItemType.LightGrayDye; + mappings[1059] = ItemType.CyanDye; + mappings[1060] = ItemType.PurpleDye; + mappings[1061] = ItemType.BlueDye; + mappings[1062] = ItemType.BrownDye; + mappings[1063] = ItemType.GreenDye; + mappings[1064] = ItemType.RedDye; + mappings[1065] = ItemType.BlackDye; + mappings[1066] = ItemType.BoneMeal; + mappings[1067] = ItemType.Bone; + mappings[1068] = ItemType.Sugar; + mappings[1069] = ItemType.Cake; + mappings[1070] = ItemType.WhiteBed; + mappings[1071] = ItemType.OrangeBed; + mappings[1072] = ItemType.MagentaBed; + mappings[1073] = ItemType.LightBlueBed; + mappings[1074] = ItemType.YellowBed; + mappings[1075] = ItemType.LimeBed; + mappings[1076] = ItemType.PinkBed; + mappings[1077] = ItemType.GrayBed; + mappings[1078] = ItemType.LightGrayBed; + mappings[1079] = ItemType.CyanBed; + mappings[1080] = ItemType.PurpleBed; + mappings[1081] = ItemType.BlueBed; + mappings[1082] = ItemType.BrownBed; + mappings[1083] = ItemType.GreenBed; + mappings[1084] = ItemType.RedBed; + mappings[1085] = ItemType.BlackBed; + mappings[1086] = ItemType.Cookie; + mappings[1087] = ItemType.Crafter; + mappings[1088] = ItemType.FilledMap; + mappings[1089] = ItemType.Shears; + mappings[1090] = ItemType.MelonSlice; + mappings[1091] = ItemType.DriedKelp; + mappings[1092] = ItemType.PumpkinSeeds; + mappings[1093] = ItemType.MelonSeeds; + mappings[1094] = ItemType.Beef; + mappings[1095] = ItemType.CookedBeef; + mappings[1096] = ItemType.Chicken; + mappings[1097] = ItemType.CookedChicken; + mappings[1098] = ItemType.RottenFlesh; + mappings[1099] = ItemType.EnderPearl; + mappings[1100] = ItemType.BlazeRod; + mappings[1101] = ItemType.GhastTear; + mappings[1102] = ItemType.GoldNugget; + mappings[1103] = ItemType.NetherWart; + mappings[1104] = ItemType.GlassBottle; + mappings[1105] = ItemType.Potion; + mappings[1106] = ItemType.SpiderEye; + mappings[1107] = ItemType.FermentedSpiderEye; + mappings[1108] = ItemType.BlazePowder; + mappings[1109] = ItemType.MagmaCream; + mappings[1110] = ItemType.BrewingStand; + mappings[1111] = ItemType.Cauldron; + mappings[1112] = ItemType.EnderEye; + mappings[1113] = ItemType.GlisteringMelonSlice; + mappings[1114] = ItemType.ArmadilloSpawnEgg; + mappings[1115] = ItemType.AllaySpawnEgg; + mappings[1116] = ItemType.AxolotlSpawnEgg; + mappings[1117] = ItemType.BatSpawnEgg; + mappings[1118] = ItemType.BeeSpawnEgg; + mappings[1119] = ItemType.BlazeSpawnEgg; + mappings[1120] = ItemType.BoggedSpawnEgg; + mappings[1121] = ItemType.BreezeSpawnEgg; + mappings[1122] = ItemType.CatSpawnEgg; + mappings[1123] = ItemType.CamelSpawnEgg; + mappings[1124] = ItemType.CaveSpiderSpawnEgg; + mappings[1125] = ItemType.ChickenSpawnEgg; + mappings[1126] = ItemType.CodSpawnEgg; + mappings[1127] = ItemType.CopperGolemSpawnEgg; + mappings[1128] = ItemType.CowSpawnEgg; + mappings[1129] = ItemType.CreeperSpawnEgg; + mappings[1130] = ItemType.DolphinSpawnEgg; + mappings[1131] = ItemType.DonkeySpawnEgg; + mappings[1132] = ItemType.DrownedSpawnEgg; + mappings[1133] = ItemType.ElderGuardianSpawnEgg; + mappings[1134] = ItemType.EnderDragonSpawnEgg; + mappings[1135] = ItemType.EndermanSpawnEgg; + mappings[1136] = ItemType.EndermiteSpawnEgg; + mappings[1137] = ItemType.EvokerSpawnEgg; + mappings[1138] = ItemType.FoxSpawnEgg; + mappings[1139] = ItemType.FrogSpawnEgg; + mappings[1140] = ItemType.GhastSpawnEgg; + mappings[1141] = ItemType.HappyGhastSpawnEgg; + mappings[1142] = ItemType.GlowSquidSpawnEgg; + mappings[1143] = ItemType.GoatSpawnEgg; + mappings[1144] = ItemType.GuardianSpawnEgg; + mappings[1145] = ItemType.HoglinSpawnEgg; + mappings[1146] = ItemType.HorseSpawnEgg; + mappings[1147] = ItemType.HuskSpawnEgg; + mappings[1148] = ItemType.IronGolemSpawnEgg; + mappings[1149] = ItemType.LlamaSpawnEgg; + mappings[1150] = ItemType.MagmaCubeSpawnEgg; + mappings[1151] = ItemType.MooshroomSpawnEgg; + mappings[1152] = ItemType.MuleSpawnEgg; + mappings[1153] = ItemType.OcelotSpawnEgg; + mappings[1154] = ItemType.PandaSpawnEgg; + mappings[1155] = ItemType.ParrotSpawnEgg; + mappings[1156] = ItemType.PhantomSpawnEgg; + mappings[1157] = ItemType.PigSpawnEgg; + mappings[1158] = ItemType.PiglinSpawnEgg; + mappings[1159] = ItemType.PiglinBruteSpawnEgg; + mappings[1160] = ItemType.PillagerSpawnEgg; + mappings[1161] = ItemType.PolarBearSpawnEgg; + mappings[1162] = ItemType.PufferfishSpawnEgg; + mappings[1163] = ItemType.RabbitSpawnEgg; + mappings[1164] = ItemType.RavagerSpawnEgg; + mappings[1165] = ItemType.SalmonSpawnEgg; + mappings[1166] = ItemType.SheepSpawnEgg; + mappings[1167] = ItemType.ShulkerSpawnEgg; + mappings[1168] = ItemType.SilverfishSpawnEgg; + mappings[1169] = ItemType.SkeletonSpawnEgg; + mappings[1170] = ItemType.SkeletonHorseSpawnEgg; + mappings[1171] = ItemType.SlimeSpawnEgg; + mappings[1172] = ItemType.SnifferSpawnEgg; + mappings[1173] = ItemType.SnowGolemSpawnEgg; + mappings[1174] = ItemType.SpiderSpawnEgg; + mappings[1175] = ItemType.SquidSpawnEgg; + mappings[1176] = ItemType.StraySpawnEgg; + mappings[1177] = ItemType.StriderSpawnEgg; + mappings[1178] = ItemType.TadpoleSpawnEgg; + mappings[1179] = ItemType.TraderLlamaSpawnEgg; + mappings[1180] = ItemType.TropicalFishSpawnEgg; + mappings[1181] = ItemType.TurtleSpawnEgg; + mappings[1182] = ItemType.VexSpawnEgg; + mappings[1183] = ItemType.VillagerSpawnEgg; + mappings[1184] = ItemType.VindicatorSpawnEgg; + mappings[1185] = ItemType.WanderingTraderSpawnEgg; + mappings[1186] = ItemType.WardenSpawnEgg; + mappings[1187] = ItemType.WitchSpawnEgg; + mappings[1188] = ItemType.WitherSpawnEgg; + mappings[1189] = ItemType.WitherSkeletonSpawnEgg; + mappings[1190] = ItemType.WolfSpawnEgg; + mappings[1191] = ItemType.ZoglinSpawnEgg; + mappings[1192] = ItemType.CreakingSpawnEgg; + mappings[1193] = ItemType.ZombieSpawnEgg; + mappings[1194] = ItemType.ZombieHorseSpawnEgg; + mappings[1195] = ItemType.ZombieVillagerSpawnEgg; + mappings[1196] = ItemType.ZombifiedPiglinSpawnEgg; + mappings[1197] = ItemType.ExperienceBottle; + mappings[1198] = ItemType.FireCharge; + mappings[1199] = ItemType.WindCharge; + mappings[1200] = ItemType.WritableBook; + mappings[1201] = ItemType.WrittenBook; + mappings[1202] = ItemType.BreezeRod; + mappings[1203] = ItemType.Mace; + mappings[1204] = ItemType.ItemFrame; + mappings[1205] = ItemType.GlowItemFrame; + mappings[1206] = ItemType.FlowerPot; + mappings[1207] = ItemType.Carrot; + mappings[1208] = ItemType.Potato; + mappings[1209] = ItemType.BakedPotato; + mappings[1210] = ItemType.PoisonousPotato; + mappings[1211] = ItemType.Map; + mappings[1212] = ItemType.GoldenCarrot; + mappings[1213] = ItemType.SkeletonSkull; + mappings[1214] = ItemType.WitherSkeletonSkull; + mappings[1215] = ItemType.PlayerHead; + mappings[1216] = ItemType.ZombieHead; + mappings[1217] = ItemType.CreeperHead; + mappings[1218] = ItemType.DragonHead; + mappings[1219] = ItemType.PiglinHead; + mappings[1220] = ItemType.NetherStar; + mappings[1221] = ItemType.PumpkinPie; + mappings[1222] = ItemType.FireworkRocket; + mappings[1223] = ItemType.FireworkStar; + mappings[1224] = ItemType.EnchantedBook; + mappings[1225] = ItemType.NetherBrick; + mappings[1226] = ItemType.ResinBrick; + mappings[1227] = ItemType.PrismarineShard; + mappings[1228] = ItemType.PrismarineCrystals; + mappings[1229] = ItemType.Rabbit; + mappings[1230] = ItemType.CookedRabbit; + mappings[1231] = ItemType.RabbitStew; + mappings[1232] = ItemType.RabbitFoot; + mappings[1233] = ItemType.RabbitHide; + mappings[1234] = ItemType.ArmorStand; + mappings[1235] = ItemType.CopperHorseArmor; + mappings[1236] = ItemType.IronHorseArmor; + mappings[1237] = ItemType.GoldenHorseArmor; + mappings[1238] = ItemType.DiamondHorseArmor; + mappings[1239] = ItemType.LeatherHorseArmor; + mappings[1240] = ItemType.Lead; + mappings[1241] = ItemType.NameTag; + mappings[1242] = ItemType.CommandBlockMinecart; + mappings[1243] = ItemType.Mutton; + mappings[1244] = ItemType.CookedMutton; + mappings[1245] = ItemType.WhiteBanner; + mappings[1246] = ItemType.OrangeBanner; + mappings[1247] = ItemType.MagentaBanner; + mappings[1248] = ItemType.LightBlueBanner; + mappings[1249] = ItemType.YellowBanner; + mappings[1250] = ItemType.LimeBanner; + mappings[1251] = ItemType.PinkBanner; + mappings[1252] = ItemType.GrayBanner; + mappings[1253] = ItemType.LightGrayBanner; + mappings[1254] = ItemType.CyanBanner; + mappings[1255] = ItemType.PurpleBanner; + mappings[1256] = ItemType.BlueBanner; + mappings[1257] = ItemType.BrownBanner; + mappings[1258] = ItemType.GreenBanner; + mappings[1259] = ItemType.RedBanner; + mappings[1260] = ItemType.BlackBanner; + mappings[1261] = ItemType.EndCrystal; + mappings[1262] = ItemType.ChorusFruit; + mappings[1263] = ItemType.PoppedChorusFruit; + mappings[1264] = ItemType.TorchflowerSeeds; + mappings[1265] = ItemType.PitcherPod; + mappings[1266] = ItemType.Beetroot; + mappings[1267] = ItemType.BeetrootSeeds; + mappings[1268] = ItemType.BeetrootSoup; + mappings[1269] = ItemType.DragonBreath; + mappings[1270] = ItemType.SplashPotion; + mappings[1271] = ItemType.SpectralArrow; + mappings[1272] = ItemType.TippedArrow; + mappings[1273] = ItemType.LingeringPotion; + mappings[1274] = ItemType.Shield; + mappings[1275] = ItemType.TotemOfUndying; + mappings[1276] = ItemType.ShulkerShell; + mappings[1277] = ItemType.IronNugget; + mappings[1278] = ItemType.CopperNugget; + mappings[1279] = ItemType.KnowledgeBook; + mappings[1280] = ItemType.DebugStick; + mappings[1281] = ItemType.MusicDisc13; + mappings[1282] = ItemType.MusicDiscCat; + mappings[1283] = ItemType.MusicDiscBlocks; + mappings[1284] = ItemType.MusicDiscChirp; + mappings[1285] = ItemType.MusicDiscCreator; + mappings[1286] = ItemType.MusicDiscCreatorMusicBox; + mappings[1287] = ItemType.MusicDiscFar; + mappings[1288] = ItemType.MusicDiscLavaChicken; + mappings[1289] = ItemType.MusicDiscMall; + mappings[1290] = ItemType.MusicDiscMellohi; + mappings[1291] = ItemType.MusicDiscStal; + mappings[1292] = ItemType.MusicDiscStrad; + mappings[1293] = ItemType.MusicDiscWard; + mappings[1294] = ItemType.MusicDisc11; + mappings[1295] = ItemType.MusicDiscWait; + mappings[1296] = ItemType.MusicDiscOtherside; + mappings[1297] = ItemType.MusicDiscRelic; + mappings[1298] = ItemType.MusicDisc5; + mappings[1299] = ItemType.MusicDiscPigstep; + mappings[1300] = ItemType.MusicDiscPrecipice; + mappings[1301] = ItemType.MusicDiscTears; + mappings[1302] = ItemType.DiscFragment5; + mappings[1303] = ItemType.Trident; + mappings[1304] = ItemType.NautilusShell; + mappings[1305] = ItemType.HeartOfTheSea; + mappings[1306] = ItemType.Crossbow; + mappings[1307] = ItemType.SuspiciousStew; + mappings[1308] = ItemType.Loom; + mappings[1309] = ItemType.FlowerBannerPattern; + mappings[1310] = ItemType.CreeperBannerPattern; + mappings[1311] = ItemType.SkullBannerPattern; + mappings[1312] = ItemType.MojangBannerPattern; + mappings[1313] = ItemType.GlobeBannerPattern; + mappings[1314] = ItemType.PiglinBannerPattern; + mappings[1315] = ItemType.FlowBannerPattern; + mappings[1316] = ItemType.GusterBannerPattern; + mappings[1317] = ItemType.FieldMasonedBannerPattern; + mappings[1318] = ItemType.BordureIndentedBannerPattern; + mappings[1319] = ItemType.GoatHorn; + mappings[1320] = ItemType.Composter; + mappings[1321] = ItemType.Barrel; + mappings[1322] = ItemType.Smoker; + mappings[1323] = ItemType.BlastFurnace; + mappings[1324] = ItemType.CartographyTable; + mappings[1325] = ItemType.FletchingTable; + mappings[1326] = ItemType.Grindstone; + mappings[1327] = ItemType.SmithingTable; + mappings[1328] = ItemType.Stonecutter; + mappings[1329] = ItemType.Bell; + mappings[1330] = ItemType.Lantern; + mappings[1331] = ItemType.SoulLantern; + mappings[1332] = ItemType.SweetBerries; + mappings[1333] = ItemType.GlowBerries; + mappings[1334] = ItemType.Campfire; + mappings[1335] = ItemType.SoulCampfire; + mappings[1336] = ItemType.Shroomlight; + mappings[1337] = ItemType.Honeycomb; + mappings[1338] = ItemType.BeeNest; + mappings[1339] = ItemType.Beehive; + mappings[1340] = ItemType.HoneyBottle; + mappings[1341] = ItemType.HoneycombBlock; + mappings[1342] = ItemType.Lodestone; + mappings[1343] = ItemType.CryingObsidian; + mappings[1344] = ItemType.Blackstone; + mappings[1345] = ItemType.BlackstoneSlab; + mappings[1346] = ItemType.BlackstoneStairs; + mappings[1347] = ItemType.GildedBlackstone; + mappings[1348] = ItemType.PolishedBlackstone; + mappings[1349] = ItemType.PolishedBlackstoneSlab; + mappings[1350] = ItemType.PolishedBlackstoneStairs; + mappings[1351] = ItemType.ChiseledPolishedBlackstone; + mappings[1352] = ItemType.PolishedBlackstoneBricks; + mappings[1353] = ItemType.PolishedBlackstoneBrickSlab; + mappings[1354] = ItemType.PolishedBlackstoneBrickStairs; + mappings[1355] = ItemType.CrackedPolishedBlackstoneBricks; + mappings[1356] = ItemType.RespawnAnchor; + mappings[1357] = ItemType.Candle; + mappings[1358] = ItemType.WhiteCandle; + mappings[1359] = ItemType.OrangeCandle; + mappings[1360] = ItemType.MagentaCandle; + mappings[1361] = ItemType.LightBlueCandle; + mappings[1362] = ItemType.YellowCandle; + mappings[1363] = ItemType.LimeCandle; + mappings[1364] = ItemType.PinkCandle; + mappings[1365] = ItemType.GrayCandle; + mappings[1366] = ItemType.LightGrayCandle; + mappings[1367] = ItemType.CyanCandle; + mappings[1368] = ItemType.PurpleCandle; + mappings[1369] = ItemType.BlueCandle; + mappings[1370] = ItemType.BrownCandle; + mappings[1371] = ItemType.GreenCandle; + mappings[1372] = ItemType.RedCandle; + mappings[1373] = ItemType.BlackCandle; + mappings[1374] = ItemType.SmallAmethystBud; + mappings[1375] = ItemType.MediumAmethystBud; + mappings[1376] = ItemType.LargeAmethystBud; + mappings[1377] = ItemType.AmethystCluster; + mappings[1378] = ItemType.PointedDripstone; + mappings[1379] = ItemType.OchreFroglight; + mappings[1380] = ItemType.VerdantFroglight; + mappings[1381] = ItemType.PearlescentFroglight; + mappings[1382] = ItemType.Frogspawn; + mappings[1383] = ItemType.EchoShard; + mappings[1384] = ItemType.Brush; + mappings[1385] = ItemType.NetheriteUpgradeSmithingTemplate; + mappings[1386] = ItemType.SentryArmorTrimSmithingTemplate; + mappings[1387] = ItemType.DuneArmorTrimSmithingTemplate; + mappings[1388] = ItemType.CoastArmorTrimSmithingTemplate; + mappings[1389] = ItemType.WildArmorTrimSmithingTemplate; + mappings[1390] = ItemType.WardArmorTrimSmithingTemplate; + mappings[1391] = ItemType.EyeArmorTrimSmithingTemplate; + mappings[1392] = ItemType.VexArmorTrimSmithingTemplate; + mappings[1393] = ItemType.TideArmorTrimSmithingTemplate; + mappings[1394] = ItemType.SnoutArmorTrimSmithingTemplate; + mappings[1395] = ItemType.RibArmorTrimSmithingTemplate; + mappings[1396] = ItemType.SpireArmorTrimSmithingTemplate; + mappings[1397] = ItemType.WayfinderArmorTrimSmithingTemplate; + mappings[1398] = ItemType.ShaperArmorTrimSmithingTemplate; + mappings[1399] = ItemType.SilenceArmorTrimSmithingTemplate; + mappings[1400] = ItemType.RaiserArmorTrimSmithingTemplate; + mappings[1401] = ItemType.HostArmorTrimSmithingTemplate; + mappings[1402] = ItemType.FlowArmorTrimSmithingTemplate; + mappings[1403] = ItemType.BoltArmorTrimSmithingTemplate; + mappings[1404] = ItemType.AnglerPotterySherd; + mappings[1405] = ItemType.ArcherPotterySherd; + mappings[1406] = ItemType.ArmsUpPotterySherd; + mappings[1407] = ItemType.BladePotterySherd; + mappings[1408] = ItemType.BrewerPotterySherd; + mappings[1409] = ItemType.BurnPotterySherd; + mappings[1410] = ItemType.DangerPotterySherd; + mappings[1411] = ItemType.ExplorerPotterySherd; + mappings[1412] = ItemType.FlowPotterySherd; + mappings[1413] = ItemType.FriendPotterySherd; + mappings[1414] = ItemType.GusterPotterySherd; + mappings[1415] = ItemType.HeartPotterySherd; + mappings[1416] = ItemType.HeartbreakPotterySherd; + mappings[1417] = ItemType.HowlPotterySherd; + mappings[1418] = ItemType.MinerPotterySherd; + mappings[1419] = ItemType.MournerPotterySherd; + mappings[1420] = ItemType.PlentyPotterySherd; + mappings[1421] = ItemType.PrizePotterySherd; + mappings[1422] = ItemType.ScrapePotterySherd; + mappings[1423] = ItemType.SheafPotterySherd; + mappings[1424] = ItemType.ShelterPotterySherd; + mappings[1425] = ItemType.SkullPotterySherd; + mappings[1426] = ItemType.SnortPotterySherd; + mappings[1427] = ItemType.CopperGrate; + mappings[1428] = ItemType.ExposedCopperGrate; + mappings[1429] = ItemType.WeatheredCopperGrate; + mappings[1430] = ItemType.OxidizedCopperGrate; + mappings[1431] = ItemType.WaxedCopperGrate; + mappings[1432] = ItemType.WaxedExposedCopperGrate; + mappings[1433] = ItemType.WaxedWeatheredCopperGrate; + mappings[1434] = ItemType.WaxedOxidizedCopperGrate; + mappings[1435] = ItemType.CopperBulb; + mappings[1436] = ItemType.ExposedCopperBulb; + mappings[1437] = ItemType.WeatheredCopperBulb; + mappings[1438] = ItemType.OxidizedCopperBulb; + mappings[1439] = ItemType.WaxedCopperBulb; + mappings[1440] = ItemType.WaxedExposedCopperBulb; + mappings[1441] = ItemType.WaxedWeatheredCopperBulb; + mappings[1442] = ItemType.WaxedOxidizedCopperBulb; + mappings[1443] = ItemType.CopperChest; + mappings[1444] = ItemType.ExposedCopperChest; + mappings[1445] = ItemType.WeatheredCopperChest; + mappings[1446] = ItemType.OxidizedCopperChest; + mappings[1447] = ItemType.WaxedCopperChest; + mappings[1448] = ItemType.WaxedExposedCopperChest; + mappings[1449] = ItemType.WaxedWeatheredCopperChest; + mappings[1450] = ItemType.WaxedOxidizedCopperChest; + mappings[1451] = ItemType.CopperGolemStatue; + mappings[1452] = ItemType.ExposedCopperGolemStatue; + mappings[1453] = ItemType.WeatheredCopperGolemStatue; + mappings[1454] = ItemType.OxidizedCopperGolemStatue; + mappings[1455] = ItemType.WaxedCopperGolemStatue; + mappings[1456] = ItemType.WaxedExposedCopperGolemStatue; + mappings[1457] = ItemType.WaxedWeatheredCopperGolemStatue; + mappings[1458] = ItemType.WaxedOxidizedCopperGolemStatue; + mappings[1459] = ItemType.TrialSpawner; + mappings[1460] = ItemType.TrialKey; + mappings[1461] = ItemType.OminousTrialKey; + mappings[1462] = ItemType.Vault; + mappings[1463] = ItemType.OminousBottle; + } + + protected override Dictionary GetDict() + { + return mappings; + } + } +} diff --git a/MinecraftClient/Mapping/BlockPalettes/Palette1219.cs b/MinecraftClient/Mapping/BlockPalettes/Palette1219.cs new file mode 100644 index 00000000..2d94c921 --- /dev/null +++ b/MinecraftClient/Mapping/BlockPalettes/Palette1219.cs @@ -0,0 +1,1961 @@ +using System.Collections.Generic; + +namespace MinecraftClient.Mapping.BlockPalettes +{ + public class Palette1219 : BlockPalette + { + private static readonly Dictionary materials = new(); + + static Palette1219() + { + for (int i = 10569; i <= 10592; i++) + materials[i] = Material.AcaciaButton; + for (int i = 14050; i <= 14113; i++) + materials[i] = Material.AcaciaDoor; + for (int i = 13666; i <= 13697; i++) + materials[i] = Material.AcaciaFence; + for (int i = 13378; i <= 13409; i++) + materials[i] = Material.AcaciaFenceGate; + for (int i = 5898; i <= 5961; i++) + materials[i] = Material.AcaciaHangingSign; + for (int i = 364; i <= 391; i++) + materials[i] = Material.AcaciaLeaves; + for (int i = 148; i <= 150; i++) + materials[i] = Material.AcaciaLog; + materials[19] = Material.AcaciaPlanks; + for (int i = 6668; i <= 6669; i++) + materials[i] = Material.AcaciaPressurePlate; + for (int i = 37; i <= 38; i++) + materials[i] = Material.AcaciaSapling; + for (int i = 2399; i <= 2462; i++) + materials[i] = Material.AcaciaShelf; + for (int i = 5230; i <= 5261; i++) + materials[i] = Material.AcaciaSign; + for (int i = 13152; i <= 13157; i++) + materials[i] = Material.AcaciaSlab; + for (int i = 11770; i <= 11849; i++) + materials[i] = Material.AcaciaStairs; + for (int i = 7169; i <= 7232; i++) + materials[i] = Material.AcaciaTrapdoor; + for (int i = 6498; i <= 6505; i++) + materials[i] = Material.AcaciaWallHangingSign; + for (int i = 5650; i <= 5657; i++) + materials[i] = Material.AcaciaWallSign; + for (int i = 213; i <= 215; i++) + materials[i] = Material.AcaciaWood; + for (int i = 11206; i <= 11229; i++) + materials[i] = Material.ActivatorRail; + materials[0] = Material.Air; + materials[2125] = Material.Allium; + materials[23200] = Material.AmethystBlock; + for (int i = 23202; i <= 23213; i++) + materials[i] = Material.AmethystCluster; + materials[21617] = Material.AncientDebris; + materials[6] = Material.Andesite; + for (int i = 16268; i <= 16273; i++) + materials[i] = Material.AndesiteSlab; + for (int i = 15894; i <= 15973; i++) + materials[i] = Material.AndesiteStairs; + for (int i = 18884; i <= 19207; i++) + materials[i] = Material.AndesiteWall; + for (int i = 10993; i <= 10996; i++) + materials[i] = Material.Anvil; + for (int i = 8137; i <= 8140; i++) + materials[i] = Material.AttachedMelonStem; + for (int i = 8133; i <= 8136; i++) + materials[i] = Material.AttachedPumpkinStem; + materials[27609] = Material.Azalea; + for (int i = 504; i <= 531; i++) + materials[i] = Material.AzaleaLeaves; + materials[2126] = Material.AzureBluet; + for (int i = 15077; i <= 15088; i++) + materials[i] = Material.Bamboo; + for (int i = 168; i <= 170; i++) + materials[i] = Material.BambooBlock; + for (int i = 10689; i <= 10712; i++) + materials[i] = Material.BambooButton; + for (int i = 14370; i <= 14433; i++) + materials[i] = Material.BambooDoor; + for (int i = 13826; i <= 13857; i++) + materials[i] = Material.BambooFence; + for (int i = 13538; i <= 13569; i++) + materials[i] = Material.BambooFenceGate; + for (int i = 6410; i <= 6473; i++) + materials[i] = Material.BambooHangingSign; + materials[28] = Material.BambooMosaic; + for (int i = 13188; i <= 13193; i++) + materials[i] = Material.BambooMosaicSlab; + for (int i = 12250; i <= 12329; i++) + materials[i] = Material.BambooMosaicStairs; + materials[27] = Material.BambooPlanks; + for (int i = 6678; i <= 6679; i++) + materials[i] = Material.BambooPressurePlate; + materials[15076] = Material.BambooSapling; + for (int i = 2463; i <= 2526; i++) + materials[i] = Material.BambooShelf; + for (int i = 5422; i <= 5453; i++) + materials[i] = Material.BambooSign; + for (int i = 13182; i <= 13187; i++) + materials[i] = Material.BambooSlab; + for (int i = 12170; i <= 12249; i++) + materials[i] = Material.BambooStairs; + for (int i = 7489; i <= 7552; i++) + materials[i] = Material.BambooTrapdoor; + for (int i = 6562; i <= 6569; i++) + materials[i] = Material.BambooWallHangingSign; + for (int i = 5698; i <= 5705; i++) + materials[i] = Material.BambooWallSign; + for (int i = 20540; i <= 20551; i++) + materials[i] = Material.Barrel; + for (int i = 12331; i <= 12332; i++) + materials[i] = Material.Barrier; + for (int i = 6799; i <= 6801; i++) + materials[i] = Material.Basalt; + materials[9779] = Material.Beacon; + materials[85] = Material.Bedrock; + for (int i = 21566; i <= 21589; i++) + materials[i] = Material.BeeNest; + for (int i = 21590; i <= 21613; i++) + materials[i] = Material.Beehive; + for (int i = 14609; i <= 14612; i++) + materials[i] = Material.Beetroots; + for (int i = 20603; i <= 20634; i++) + materials[i] = Material.Bell; + for (int i = 27661; i <= 27692; i++) + materials[i] = Material.BigDripleaf; + for (int i = 27693; i <= 27700; i++) + materials[i] = Material.BigDripleafStem; + for (int i = 10521; i <= 10544; i++) + materials[i] = Material.BirchButton; + for (int i = 13922; i <= 13985; i++) + materials[i] = Material.BirchDoor; + for (int i = 13602; i <= 13633; i++) + materials[i] = Material.BirchFence; + for (int i = 13314; i <= 13345; i++) + materials[i] = Material.BirchFenceGate; + for (int i = 5834; i <= 5897; i++) + materials[i] = Material.BirchHangingSign; + for (int i = 308; i <= 335; i++) + materials[i] = Material.BirchLeaves; + for (int i = 142; i <= 144; i++) + materials[i] = Material.BirchLog; + materials[17] = Material.BirchPlanks; + for (int i = 6664; i <= 6665; i++) + materials[i] = Material.BirchPressurePlate; + for (int i = 33; i <= 34; i++) + materials[i] = Material.BirchSapling; + for (int i = 2527; i <= 2590; i++) + materials[i] = Material.BirchShelf; + for (int i = 5198; i <= 5229; i++) + materials[i] = Material.BirchSign; + for (int i = 13140; i <= 13145; i++) + materials[i] = Material.BirchSlab; + for (int i = 9607; i <= 9686; i++) + materials[i] = Material.BirchStairs; + for (int i = 7041; i <= 7104; i++) + materials[i] = Material.BirchTrapdoor; + for (int i = 6490; i <= 6497; i++) + materials[i] = Material.BirchWallHangingSign; + for (int i = 5642; i <= 5649; i++) + materials[i] = Material.BirchWallSign; + for (int i = 207; i <= 209; i++) + materials[i] = Material.BirchWood; + for (int i = 12965; i <= 12980; i++) + materials[i] = Material.BlackBanner; + for (int i = 1971; i <= 1986; i++) + materials[i] = Material.BlackBed; + for (int i = 23150; i <= 23165; i++) + materials[i] = Material.BlackCandle; + for (int i = 23198; i <= 23199; i++) + materials[i] = Material.BlackCandleCake; + materials[12709] = Material.BlackCarpet; + materials[14843] = Material.BlackConcrete; + materials[14859] = Material.BlackConcretePowder; + for (int i = 14824; i <= 14827; i++) + materials[i] = Material.BlackGlazedTerracotta; + for (int i = 14758; i <= 14763; i++) + materials[i] = Material.BlackShulkerBox; + materials[6912] = Material.BlackStainedGlass; + for (int i = 11738; i <= 11769; i++) + materials[i] = Material.BlackStainedGlassPane; + materials[11257] = Material.BlackTerracotta; + for (int i = 13041; i <= 13044; i++) + materials[i] = Material.BlackWallBanner; + materials[2108] = Material.BlackWool; + materials[21629] = Material.Blackstone; + for (int i = 22034; i <= 22039; i++) + materials[i] = Material.BlackstoneSlab; + for (int i = 21630; i <= 21709; i++) + materials[i] = Material.BlackstoneStairs; + for (int i = 21710; i <= 22033; i++) + materials[i] = Material.BlackstoneWall; + for (int i = 20560; i <= 20567; i++) + materials[i] = Material.BlastFurnace; + for (int i = 12901; i <= 12916; i++) + materials[i] = Material.BlueBanner; + for (int i = 1907; i <= 1922; i++) + materials[i] = Material.BlueBed; + for (int i = 23086; i <= 23101; i++) + materials[i] = Material.BlueCandle; + for (int i = 23190; i <= 23191; i++) + materials[i] = Material.BlueCandleCake; + materials[12705] = Material.BlueCarpet; + materials[14839] = Material.BlueConcrete; + materials[14855] = Material.BlueConcretePowder; + for (int i = 14808; i <= 14811; i++) + materials[i] = Material.BlueGlazedTerracotta; + materials[15073] = Material.BlueIce; + materials[2124] = Material.BlueOrchid; + for (int i = 14734; i <= 14739; i++) + materials[i] = Material.BlueShulkerBox; + materials[6908] = Material.BlueStainedGlass; + for (int i = 11610; i <= 11641; i++) + materials[i] = Material.BlueStainedGlassPane; + materials[11253] = Material.BlueTerracotta; + for (int i = 13025; i <= 13028; i++) + materials[i] = Material.BlueWallBanner; + materials[2104] = Material.BlueWool; + for (int i = 14646; i <= 14648; i++) + materials[i] = Material.BoneBlock; + materials[2142] = Material.Bookshelf; + for (int i = 14957; i <= 14958; i++) + materials[i] = Material.BrainCoral; + materials[14941] = Material.BrainCoralBlock; + for (int i = 14977; i <= 14978; i++) + materials[i] = Material.BrainCoralFan; + for (int i = 15033; i <= 15040; i++) + materials[i] = Material.BrainCoralWallFan; + for (int i = 9251; i <= 9258; i++) + materials[i] = Material.BrewingStand; + for (int i = 13230; i <= 13235; i++) + materials[i] = Material.BrickSlab; + for (int i = 8477; i <= 8556; i++) + materials[i] = Material.BrickStairs; + for (int i = 16292; i <= 16615; i++) + materials[i] = Material.BrickWall; + materials[2139] = Material.Bricks; + for (int i = 12917; i <= 12932; i++) + materials[i] = Material.BrownBanner; + for (int i = 1923; i <= 1938; i++) + materials[i] = Material.BrownBed; + for (int i = 23102; i <= 23117; i++) + materials[i] = Material.BrownCandle; + for (int i = 23192; i <= 23193; i++) + materials[i] = Material.BrownCandleCake; + materials[12706] = Material.BrownCarpet; + materials[14840] = Material.BrownConcrete; + materials[14856] = Material.BrownConcretePowder; + for (int i = 14812; i <= 14815; i++) + materials[i] = Material.BrownGlazedTerracotta; + materials[2135] = Material.BrownMushroom; + for (int i = 7565; i <= 7628; i++) + materials[i] = Material.BrownMushroomBlock; + for (int i = 14740; i <= 14745; i++) + materials[i] = Material.BrownShulkerBox; + materials[6909] = Material.BrownStainedGlass; + for (int i = 11642; i <= 11673; i++) + materials[i] = Material.BrownStainedGlassPane; + materials[11254] = Material.BrownTerracotta; + for (int i = 13029; i <= 13032; i++) + materials[i] = Material.BrownWallBanner; + materials[2105] = Material.BrownWool; + for (int i = 15092; i <= 15093; i++) + materials[i] = Material.BubbleColumn; + for (int i = 14959; i <= 14960; i++) + materials[i] = Material.BubbleCoral; + materials[14942] = Material.BubbleCoralBlock; + for (int i = 14979; i <= 14980; i++) + materials[i] = Material.BubbleCoralFan; + for (int i = 15041; i <= 15048; i++) + materials[i] = Material.BubbleCoralWallFan; + materials[23201] = Material.BuddingAmethyst; + materials[2051] = Material.Bush; + for (int i = 6728; i <= 6743; i++) + materials[i] = Material.Cactus; + materials[6744] = Material.CactusFlower; + for (int i = 6826; i <= 6832; i++) + materials[i] = Material.Cake; + materials[24485] = Material.Calcite; + for (int i = 24584; i <= 24967; i++) + materials[i] = Material.CalibratedSculkSensor; + for (int i = 20675; i <= 20706; i++) + materials[i] = Material.Campfire; + for (int i = 22894; i <= 22909; i++) + materials[i] = Material.Candle; + for (int i = 23166; i <= 23167; i++) + materials[i] = Material.CandleCake; + for (int i = 10457; i <= 10464; i++) + materials[i] = Material.Carrots; + materials[20568] = Material.CartographyTable; + for (int i = 6818; i <= 6821; i++) + materials[i] = Material.CarvedPumpkin; + materials[9259] = Material.Cauldron; + materials[15091] = Material.CaveAir; + for (int i = 27554; i <= 27605; i++) + materials[i] = Material.CaveVines; + for (int i = 27606; i <= 27607; i++) + materials[i] = Material.CaveVinesPlant; + for (int i = 14627; i <= 14638; i++) + materials[i] = Material.ChainCommandBlock; + for (int i = 10593; i <= 10616; i++) + materials[i] = Material.CherryButton; + for (int i = 14114; i <= 14177; i++) + materials[i] = Material.CherryDoor; + for (int i = 13698; i <= 13729; i++) + materials[i] = Material.CherryFence; + for (int i = 13410; i <= 13441; i++) + materials[i] = Material.CherryFenceGate; + for (int i = 5962; i <= 6025; i++) + materials[i] = Material.CherryHangingSign; + for (int i = 392; i <= 419; i++) + materials[i] = Material.CherryLeaves; + for (int i = 151; i <= 153; i++) + materials[i] = Material.CherryLog; + materials[20] = Material.CherryPlanks; + for (int i = 6670; i <= 6671; i++) + materials[i] = Material.CherryPressurePlate; + for (int i = 39; i <= 40; i++) + materials[i] = Material.CherrySapling; + for (int i = 2591; i <= 2654; i++) + materials[i] = Material.CherryShelf; + for (int i = 5262; i <= 5293; i++) + materials[i] = Material.CherrySign; + for (int i = 13158; i <= 13163; i++) + materials[i] = Material.CherrySlab; + for (int i = 11850; i <= 11929; i++) + materials[i] = Material.CherryStairs; + for (int i = 7233; i <= 7296; i++) + materials[i] = Material.CherryTrapdoor; + for (int i = 6506; i <= 6513; i++) + materials[i] = Material.CherryWallHangingSign; + for (int i = 5658; i <= 5665; i++) + materials[i] = Material.CherryWallSign; + for (int i = 216; i <= 218; i++) + materials[i] = Material.CherryWood; + for (int i = 3786; i <= 3809; i++) + materials[i] = Material.Chest; + for (int i = 10997; i <= 11000; i++) + materials[i] = Material.ChippedAnvil; + for (int i = 2143; i <= 2398; i++) + materials[i] = Material.ChiseledBookshelf; + materials[25120] = Material.ChiseledCopper; + materials[29368] = Material.ChiseledDeepslate; + materials[22891] = Material.ChiseledNetherBricks; + materials[22043] = Material.ChiseledPolishedBlackstone; + materials[11122] = Material.ChiseledQuartzBlock; + materials[13046] = Material.ChiseledRedSandstone; + materials[9132] = Material.ChiseledResinBricks; + materials[579] = Material.ChiseledSandstone; + materials[7556] = Material.ChiseledStoneBricks; + materials[24072] = Material.ChiseledTuff; + materials[24484] = Material.ChiseledTuffBricks; + for (int i = 14504; i <= 14509; i++) + materials[i] = Material.ChorusFlower; + for (int i = 14440; i <= 14503; i++) + materials[i] = Material.ChorusPlant; + materials[6745] = Material.Clay; + materials[29667] = Material.ClosedEyeblossom; + materials[12711] = Material.CoalBlock; + materials[133] = Material.CoalOre; + materials[11] = Material.CoarseDirt; + materials[27724] = Material.CobbledDeepslate; + for (int i = 27805; i <= 27810; i++) + materials[i] = Material.CobbledDeepslateSlab; + for (int i = 27725; i <= 27804; i++) + materials[i] = Material.CobbledDeepslateStairs; + for (int i = 27811; i <= 28134; i++) + materials[i] = Material.CobbledDeepslateWall; + materials[14] = Material.Cobblestone; + for (int i = 13224; i <= 13229; i++) + materials[i] = Material.CobblestoneSlab; + for (int i = 5546; i <= 5625; i++) + materials[i] = Material.CobblestoneStairs; + for (int i = 9780; i <= 10103; i++) + materials[i] = Material.CobblestoneWall; + materials[2047] = Material.Cobweb; + for (int i = 9280; i <= 9291; i++) + materials[i] = Material.Cocoa; + for (int i = 9767; i <= 9778; i++) + materials[i] = Material.CommandBlock; + for (int i = 11061; i <= 11076; i++) + materials[i] = Material.Comparator; + for (int i = 21541; i <= 21549; i++) + materials[i] = Material.Composter; + for (int i = 15074; i <= 15075; i++) + materials[i] = Material.Conduit; + for (int i = 7789; i <= 7820; i++) + materials[i] = Material.CopperBars; + materials[25107] = Material.CopperBlock; + for (int i = 26861; i <= 26864; i++) + materials[i] = Material.CopperBulb; + for (int i = 8051; i <= 8056; i++) + materials[i] = Material.CopperChain; + for (int i = 26893; i <= 26916; i++) + materials[i] = Material.CopperChest; + for (int i = 25821; i <= 25884; i++) + materials[i] = Material.CopperDoor; + for (int i = 27085; i <= 27116; i++) + materials[i] = Material.CopperGolemStatue; + for (int i = 26845; i <= 26846; i++) + materials[i] = Material.CopperGrate; + for (int i = 20643; i <= 20646; i++) + materials[i] = Material.CopperLantern; + materials[25111] = Material.CopperOre; + materials[6810] = Material.CopperTorch; + for (int i = 26333; i <= 26396; i++) + materials[i] = Material.CopperTrapdoor; + for (int i = 6811; i <= 6814; i++) + materials[i] = Material.CopperWallTorch; + materials[2132] = Material.Cornflower; + materials[29369] = Material.CrackedDeepslateBricks; + materials[29370] = Material.CrackedDeepslateTiles; + materials[22892] = Material.CrackedNetherBricks; + materials[22042] = Material.CrackedPolishedBlackstoneBricks; + materials[7555] = Material.CrackedStoneBricks; + for (int i = 29407; i <= 29454; i++) + materials[i] = Material.Crafter; + materials[5109] = Material.CraftingTable; + for (int i = 3688; i <= 3705; i++) + materials[i] = Material.CreakingHeart; + for (int i = 10873; i <= 10904; i++) + materials[i] = Material.CreeperHead; + for (int i = 10905; i <= 10912; i++) + materials[i] = Material.CreeperWallHead; + for (int i = 21264; i <= 21287; i++) + materials[i] = Material.CrimsonButton; + for (int i = 21312; i <= 21375; i++) + materials[i] = Material.CrimsonDoor; + for (int i = 20848; i <= 20879; i++) + materials[i] = Material.CrimsonFence; + for (int i = 21040; i <= 21071; i++) + materials[i] = Material.CrimsonFenceGate; + materials[20773] = Material.CrimsonFungus; + for (int i = 6218; i <= 6281; i++) + materials[i] = Material.CrimsonHangingSign; + for (int i = 20766; i <= 20768; i++) + materials[i] = Material.CrimsonHyphae; + materials[20772] = Material.CrimsonNylium; + materials[20830] = Material.CrimsonPlanks; + for (int i = 20844; i <= 20845; i++) + materials[i] = Material.CrimsonPressurePlate; + materials[20829] = Material.CrimsonRoots; + for (int i = 2655; i <= 2718; i++) + materials[i] = Material.CrimsonShelf; + for (int i = 21440; i <= 21471; i++) + materials[i] = Material.CrimsonSign; + for (int i = 20832; i <= 20837; i++) + materials[i] = Material.CrimsonSlab; + for (int i = 21104; i <= 21183; i++) + materials[i] = Material.CrimsonStairs; + for (int i = 20760; i <= 20762; i++) + materials[i] = Material.CrimsonStem; + for (int i = 20912; i <= 20975; i++) + materials[i] = Material.CrimsonTrapdoor; + for (int i = 6546; i <= 6553; i++) + materials[i] = Material.CrimsonWallHangingSign; + for (int i = 21504; i <= 21511; i++) + materials[i] = Material.CrimsonWallSign; + materials[21618] = Material.CryingObsidian; + materials[25116] = Material.CutCopper; + for (int i = 25463; i <= 25468; i++) + materials[i] = Material.CutCopperSlab; + for (int i = 25365; i <= 25444; i++) + materials[i] = Material.CutCopperStairs; + materials[13047] = Material.CutRedSandstone; + for (int i = 13266; i <= 13271; i++) + materials[i] = Material.CutRedSandstoneSlab; + materials[580] = Material.CutSandstone; + for (int i = 13212; i <= 13217; i++) + materials[i] = Material.CutSandstoneSlab; + for (int i = 12869; i <= 12884; i++) + materials[i] = Material.CyanBanner; + for (int i = 1875; i <= 1890; i++) + materials[i] = Material.CyanBed; + for (int i = 23054; i <= 23069; i++) + materials[i] = Material.CyanCandle; + for (int i = 23186; i <= 23187; i++) + materials[i] = Material.CyanCandleCake; + materials[12703] = Material.CyanCarpet; + materials[14837] = Material.CyanConcrete; + materials[14853] = Material.CyanConcretePowder; + for (int i = 14800; i <= 14803; i++) + materials[i] = Material.CyanGlazedTerracotta; + for (int i = 14722; i <= 14727; i++) + materials[i] = Material.CyanShulkerBox; + materials[6906] = Material.CyanStainedGlass; + for (int i = 11546; i <= 11577; i++) + materials[i] = Material.CyanStainedGlassPane; + materials[11251] = Material.CyanTerracotta; + for (int i = 13017; i <= 13020; i++) + materials[i] = Material.CyanWallBanner; + materials[2102] = Material.CyanWool; + for (int i = 11001; i <= 11004; i++) + materials[i] = Material.DamagedAnvil; + materials[2121] = Material.Dandelion; + for (int i = 10617; i <= 10640; i++) + materials[i] = Material.DarkOakButton; + for (int i = 14178; i <= 14241; i++) + materials[i] = Material.DarkOakDoor; + for (int i = 13730; i <= 13761; i++) + materials[i] = Material.DarkOakFence; + for (int i = 13442; i <= 13473; i++) + materials[i] = Material.DarkOakFenceGate; + for (int i = 6090; i <= 6153; i++) + materials[i] = Material.DarkOakHangingSign; + for (int i = 420; i <= 447; i++) + materials[i] = Material.DarkOakLeaves; + for (int i = 154; i <= 156; i++) + materials[i] = Material.DarkOakLog; + materials[21] = Material.DarkOakPlanks; + for (int i = 6672; i <= 6673; i++) + materials[i] = Material.DarkOakPressurePlate; + for (int i = 41; i <= 42; i++) + materials[i] = Material.DarkOakSapling; + for (int i = 2719; i <= 2782; i++) + materials[i] = Material.DarkOakShelf; + for (int i = 5326; i <= 5357; i++) + materials[i] = Material.DarkOakSign; + for (int i = 13164; i <= 13169; i++) + materials[i] = Material.DarkOakSlab; + for (int i = 11930; i <= 12009; i++) + materials[i] = Material.DarkOakStairs; + for (int i = 7297; i <= 7360; i++) + materials[i] = Material.DarkOakTrapdoor; + for (int i = 6522; i <= 6529; i++) + materials[i] = Material.DarkOakWallHangingSign; + for (int i = 5674; i <= 5681; i++) + materials[i] = Material.DarkOakWallSign; + for (int i = 219; i <= 221; i++) + materials[i] = Material.DarkOakWood; + materials[12431] = Material.DarkPrismarine; + for (int i = 12684; i <= 12689; i++) + materials[i] = Material.DarkPrismarineSlab; + for (int i = 12592; i <= 12671; i++) + materials[i] = Material.DarkPrismarineStairs; + for (int i = 11077; i <= 11108; i++) + materials[i] = Material.DaylightDetector; + for (int i = 14947; i <= 14948; i++) + materials[i] = Material.DeadBrainCoral; + materials[14936] = Material.DeadBrainCoralBlock; + for (int i = 14967; i <= 14968; i++) + materials[i] = Material.DeadBrainCoralFan; + for (int i = 14993; i <= 15000; i++) + materials[i] = Material.DeadBrainCoralWallFan; + for (int i = 14949; i <= 14950; i++) + materials[i] = Material.DeadBubbleCoral; + materials[14937] = Material.DeadBubbleCoralBlock; + for (int i = 14969; i <= 14970; i++) + materials[i] = Material.DeadBubbleCoralFan; + for (int i = 15001; i <= 15008; i++) + materials[i] = Material.DeadBubbleCoralWallFan; + materials[2050] = Material.DeadBush; + for (int i = 14951; i <= 14952; i++) + materials[i] = Material.DeadFireCoral; + materials[14938] = Material.DeadFireCoralBlock; + for (int i = 14971; i <= 14972; i++) + materials[i] = Material.DeadFireCoralFan; + for (int i = 15009; i <= 15016; i++) + materials[i] = Material.DeadFireCoralWallFan; + for (int i = 14953; i <= 14954; i++) + materials[i] = Material.DeadHornCoral; + materials[14939] = Material.DeadHornCoralBlock; + for (int i = 14973; i <= 14974; i++) + materials[i] = Material.DeadHornCoralFan; + for (int i = 15017; i <= 15024; i++) + materials[i] = Material.DeadHornCoralWallFan; + for (int i = 14945; i <= 14946; i++) + materials[i] = Material.DeadTubeCoral; + materials[14935] = Material.DeadTubeCoralBlock; + for (int i = 14965; i <= 14966; i++) + materials[i] = Material.DeadTubeCoralFan; + for (int i = 14985; i <= 14992; i++) + materials[i] = Material.DeadTubeCoralWallFan; + for (int i = 29391; i <= 29406; i++) + materials[i] = Material.DecoratedPot; + for (int i = 27721; i <= 27723; i++) + materials[i] = Material.Deepslate; + for (int i = 29038; i <= 29043; i++) + materials[i] = Material.DeepslateBrickSlab; + for (int i = 28958; i <= 29037; i++) + materials[i] = Material.DeepslateBrickStairs; + for (int i = 29044; i <= 29367; i++) + materials[i] = Material.DeepslateBrickWall; + materials[28957] = Material.DeepslateBricks; + materials[134] = Material.DeepslateCoalOre; + materials[25112] = Material.DeepslateCopperOre; + materials[5107] = Material.DeepslateDiamondOre; + materials[9373] = Material.DeepslateEmeraldOre; + materials[130] = Material.DeepslateGoldOre; + materials[132] = Material.DeepslateIronOre; + materials[564] = Material.DeepslateLapisOre; + for (int i = 6682; i <= 6683; i++) + materials[i] = Material.DeepslateRedstoneOre; + for (int i = 28627; i <= 28632; i++) + materials[i] = Material.DeepslateTileSlab; + for (int i = 28547; i <= 28626; i++) + materials[i] = Material.DeepslateTileStairs; + for (int i = 28633; i <= 28956; i++) + materials[i] = Material.DeepslateTileWall; + materials[28546] = Material.DeepslateTiles; + for (int i = 2011; i <= 2034; i++) + materials[i] = Material.DetectorRail; + materials[5108] = Material.DiamondBlock; + materials[5106] = Material.DiamondOre; + materials[4] = Material.Diorite; + for (int i = 16286; i <= 16291; i++) + materials[i] = Material.DioriteSlab; + for (int i = 16134; i <= 16213; i++) + materials[i] = Material.DioriteStairs; + for (int i = 20180; i <= 20503; i++) + materials[i] = Material.DioriteWall; + materials[10] = Material.Dirt; + materials[14613] = Material.DirtPath; + for (int i = 566; i <= 577; i++) + materials[i] = Material.Dispenser; + materials[9277] = Material.DragonEgg; + for (int i = 10913; i <= 10944; i++) + materials[i] = Material.DragonHead; + for (int i = 10945; i <= 10952; i++) + materials[i] = Material.DragonWallHead; + for (int i = 14903; i <= 14934; i++) + materials[i] = Material.DriedGhast; + materials[14887] = Material.DriedKelpBlock; + materials[27553] = Material.DripstoneBlock; + for (int i = 11230; i <= 11241; i++) + materials[i] = Material.Dropper; + materials[9526] = Material.EmeraldBlock; + materials[9372] = Material.EmeraldOre; + materials[9250] = Material.EnchantingTable; + materials[14614] = Material.EndGateway; + materials[9267] = Material.EndPortal; + for (int i = 9268; i <= 9275; i++) + materials[i] = Material.EndPortalFrame; + for (int i = 14434; i <= 14439; i++) + materials[i] = Material.EndRod; + materials[9276] = Material.EndStone; + for (int i = 16244; i <= 16249; i++) + materials[i] = Material.EndStoneBrickSlab; + for (int i = 15494; i <= 15573; i++) + materials[i] = Material.EndStoneBrickStairs; + for (int i = 19856; i <= 20179; i++) + materials[i] = Material.EndStoneBrickWall; + materials[14594] = Material.EndStoneBricks; + for (int i = 9374; i <= 9381; i++) + materials[i] = Material.EnderChest; + materials[25119] = Material.ExposedChiseledCopper; + materials[25108] = Material.ExposedCopper; + for (int i = 7821; i <= 7852; i++) + materials[i] = Material.ExposedCopperBars; + for (int i = 26865; i <= 26868; i++) + materials[i] = Material.ExposedCopperBulb; + for (int i = 8057; i <= 8062; i++) + materials[i] = Material.ExposedCopperChain; + for (int i = 26917; i <= 26940; i++) + materials[i] = Material.ExposedCopperChest; + for (int i = 25885; i <= 25948; i++) + materials[i] = Material.ExposedCopperDoor; + for (int i = 27117; i <= 27148; i++) + materials[i] = Material.ExposedCopperGolemStatue; + for (int i = 26847; i <= 26848; i++) + materials[i] = Material.ExposedCopperGrate; + for (int i = 20647; i <= 20650; i++) + materials[i] = Material.ExposedCopperLantern; + for (int i = 26397; i <= 26460; i++) + materials[i] = Material.ExposedCopperTrapdoor; + materials[25115] = Material.ExposedCutCopper; + for (int i = 25457; i <= 25462; i++) + materials[i] = Material.ExposedCutCopperSlab; + for (int i = 25285; i <= 25364; i++) + materials[i] = Material.ExposedCutCopperStairs; + for (int i = 27365; i <= 27388; i++) + materials[i] = Material.ExposedLightningRod; + for (int i = 5118; i <= 5125; i++) + materials[i] = Material.Farmland; + materials[2049] = Material.Fern; + for (int i = 3174; i <= 3685; i++) + materials[i] = Material.Fire; + for (int i = 14961; i <= 14962; i++) + materials[i] = Material.FireCoral; + materials[14943] = Material.FireCoralBlock; + for (int i = 14981; i <= 14982; i++) + materials[i] = Material.FireCoralFan; + for (int i = 15049; i <= 15056; i++) + materials[i] = Material.FireCoralWallFan; + materials[29670] = Material.FireflyBush; + materials[20569] = Material.FletchingTable; + materials[10428] = Material.FlowerPot; + materials[27610] = Material.FloweringAzalea; + for (int i = 532; i <= 559; i++) + materials[i] = Material.FloweringAzaleaLeaves; + materials[29389] = Material.Frogspawn; + for (int i = 14639; i <= 14642; i++) + materials[i] = Material.FrostedIce; + for (int i = 5126; i <= 5133; i++) + materials[i] = Material.Furnace; + materials[22454] = Material.GildedBlackstone; + materials[562] = Material.Glass; + for (int i = 8099; i <= 8130; i++) + materials[i] = Material.GlassPane; + for (int i = 8189; i <= 8316; i++) + materials[i] = Material.GlowLichen; + materials[6815] = Material.Glowstone; + materials[2137] = Material.GoldBlock; + materials[129] = Material.GoldOre; + materials[2] = Material.Granite; + for (int i = 16262; i <= 16267; i++) + materials[i] = Material.GraniteSlab; + for (int i = 15814; i <= 15893; i++) + materials[i] = Material.GraniteStairs; + for (int i = 17588; i <= 17911; i++) + materials[i] = Material.GraniteWall; + for (int i = 8; i <= 9; i++) + materials[i] = Material.GrassBlock; + materials[124] = Material.Gravel; + for (int i = 12837; i <= 12852; i++) + materials[i] = Material.GrayBanner; + for (int i = 1843; i <= 1858; i++) + materials[i] = Material.GrayBed; + for (int i = 23022; i <= 23037; i++) + materials[i] = Material.GrayCandle; + for (int i = 23182; i <= 23183; i++) + materials[i] = Material.GrayCandleCake; + materials[12701] = Material.GrayCarpet; + materials[14835] = Material.GrayConcrete; + materials[14851] = Material.GrayConcretePowder; + for (int i = 14792; i <= 14795; i++) + materials[i] = Material.GrayGlazedTerracotta; + for (int i = 14710; i <= 14715; i++) + materials[i] = Material.GrayShulkerBox; + materials[6904] = Material.GrayStainedGlass; + for (int i = 11482; i <= 11513; i++) + materials[i] = Material.GrayStainedGlassPane; + materials[11249] = Material.GrayTerracotta; + for (int i = 13009; i <= 13012; i++) + materials[i] = Material.GrayWallBanner; + materials[2100] = Material.GrayWool; + for (int i = 12933; i <= 12948; i++) + materials[i] = Material.GreenBanner; + for (int i = 1939; i <= 1954; i++) + materials[i] = Material.GreenBed; + for (int i = 23118; i <= 23133; i++) + materials[i] = Material.GreenCandle; + for (int i = 23194; i <= 23195; i++) + materials[i] = Material.GreenCandleCake; + materials[12707] = Material.GreenCarpet; + materials[14841] = Material.GreenConcrete; + materials[14857] = Material.GreenConcretePowder; + for (int i = 14816; i <= 14819; i++) + materials[i] = Material.GreenGlazedTerracotta; + for (int i = 14746; i <= 14751; i++) + materials[i] = Material.GreenShulkerBox; + materials[6910] = Material.GreenStainedGlass; + for (int i = 11674; i <= 11705; i++) + materials[i] = Material.GreenStainedGlassPane; + materials[11255] = Material.GreenTerracotta; + for (int i = 13033; i <= 13036; i++) + materials[i] = Material.GreenWallBanner; + materials[2106] = Material.GreenWool; + for (int i = 20570; i <= 20581; i++) + materials[i] = Material.Grindstone; + for (int i = 27717; i <= 27718; i++) + materials[i] = Material.HangingRoots; + for (int i = 12691; i <= 12693; i++) + materials[i] = Material.HayBlock; + for (int i = 29499; i <= 29500; i++) + materials[i] = Material.HeavyCore; + for (int i = 11045; i <= 11060; i++) + materials[i] = Material.HeavyWeightedPressurePlate; + materials[21614] = Material.HoneyBlock; + materials[21615] = Material.HoneycombBlock; + for (int i = 11111; i <= 11120; i++) + materials[i] = Material.Hopper; + for (int i = 14963; i <= 14964; i++) + materials[i] = Material.HornCoral; + materials[14944] = Material.HornCoralBlock; + for (int i = 14983; i <= 14984; i++) + materials[i] = Material.HornCoralFan; + for (int i = 15057; i <= 15064; i++) + materials[i] = Material.HornCoralWallFan; + materials[6726] = Material.Ice; + materials[7564] = Material.InfestedChiseledStoneBricks; + materials[7560] = Material.InfestedCobblestone; + materials[7563] = Material.InfestedCrackedStoneBricks; + for (int i = 29371; i <= 29373; i++) + materials[i] = Material.InfestedDeepslate; + materials[7562] = Material.InfestedMossyStoneBricks; + materials[7559] = Material.InfestedStone; + materials[7561] = Material.InfestedStoneBricks; + for (int i = 7757; i <= 7788; i++) + materials[i] = Material.IronBars; + materials[2138] = Material.IronBlock; + for (int i = 8045; i <= 8050; i++) + materials[i] = Material.IronChain; + for (int i = 6596; i <= 6659; i++) + materials[i] = Material.IronDoor; + materials[131] = Material.IronOre; + for (int i = 12365; i <= 12428; i++) + materials[i] = Material.IronTrapdoor; + for (int i = 6822; i <= 6825; i++) + materials[i] = Material.JackOLantern; + for (int i = 21524; i <= 21535; i++) + materials[i] = Material.Jigsaw; + for (int i = 6762; i <= 6763; i++) + materials[i] = Material.Jukebox; + for (int i = 10545; i <= 10568; i++) + materials[i] = Material.JungleButton; + for (int i = 13986; i <= 14049; i++) + materials[i] = Material.JungleDoor; + for (int i = 13634; i <= 13665; i++) + materials[i] = Material.JungleFence; + for (int i = 13346; i <= 13377; i++) + materials[i] = Material.JungleFenceGate; + for (int i = 6026; i <= 6089; i++) + materials[i] = Material.JungleHangingSign; + for (int i = 336; i <= 363; i++) + materials[i] = Material.JungleLeaves; + for (int i = 145; i <= 147; i++) + materials[i] = Material.JungleLog; + materials[18] = Material.JunglePlanks; + for (int i = 6666; i <= 6667; i++) + materials[i] = Material.JunglePressurePlate; + for (int i = 35; i <= 36; i++) + materials[i] = Material.JungleSapling; + for (int i = 2783; i <= 2846; i++) + materials[i] = Material.JungleShelf; + for (int i = 5294; i <= 5325; i++) + materials[i] = Material.JungleSign; + for (int i = 13146; i <= 13151; i++) + materials[i] = Material.JungleSlab; + for (int i = 9687; i <= 9766; i++) + materials[i] = Material.JungleStairs; + for (int i = 7105; i <= 7168; i++) + materials[i] = Material.JungleTrapdoor; + for (int i = 6514; i <= 6521; i++) + materials[i] = Material.JungleWallHangingSign; + for (int i = 5666; i <= 5673; i++) + materials[i] = Material.JungleWallSign; + for (int i = 210; i <= 212; i++) + materials[i] = Material.JungleWood; + for (int i = 14860; i <= 14885; i++) + materials[i] = Material.Kelp; + materials[14886] = Material.KelpPlant; + for (int i = 5518; i <= 5525; i++) + materials[i] = Material.Ladder; + for (int i = 20635; i <= 20638; i++) + materials[i] = Material.Lantern; + materials[565] = Material.LapisBlock; + materials[563] = Material.LapisOre; + for (int i = 23214; i <= 23225; i++) + materials[i] = Material.LargeAmethystBud; + for (int i = 12723; i <= 12724; i++) + materials[i] = Material.LargeFern; + for (int i = 102; i <= 117; i++) + materials[i] = Material.Lava; + materials[9263] = Material.LavaCauldron; + for (int i = 27644; i <= 27659; i++) + materials[i] = Material.LeafLitter; + for (int i = 20582; i <= 20597; i++) + materials[i] = Material.Lectern; + for (int i = 6570; i <= 6593; i++) + materials[i] = Material.Lever; + for (int i = 12333; i <= 12364; i++) + materials[i] = Material.Light; + for (int i = 12773; i <= 12788; i++) + materials[i] = Material.LightBlueBanner; + for (int i = 1779; i <= 1794; i++) + materials[i] = Material.LightBlueBed; + for (int i = 22958; i <= 22973; i++) + materials[i] = Material.LightBlueCandle; + for (int i = 23174; i <= 23175; i++) + materials[i] = Material.LightBlueCandleCake; + materials[12697] = Material.LightBlueCarpet; + materials[14831] = Material.LightBlueConcrete; + materials[14847] = Material.LightBlueConcretePowder; + for (int i = 14776; i <= 14779; i++) + materials[i] = Material.LightBlueGlazedTerracotta; + for (int i = 14686; i <= 14691; i++) + materials[i] = Material.LightBlueShulkerBox; + materials[6900] = Material.LightBlueStainedGlass; + for (int i = 11354; i <= 11385; i++) + materials[i] = Material.LightBlueStainedGlassPane; + materials[11245] = Material.LightBlueTerracotta; + for (int i = 12993; i <= 12996; i++) + materials[i] = Material.LightBlueWallBanner; + materials[2096] = Material.LightBlueWool; + for (int i = 12853; i <= 12868; i++) + materials[i] = Material.LightGrayBanner; + for (int i = 1859; i <= 1874; i++) + materials[i] = Material.LightGrayBed; + for (int i = 23038; i <= 23053; i++) + materials[i] = Material.LightGrayCandle; + for (int i = 23184; i <= 23185; i++) + materials[i] = Material.LightGrayCandleCake; + materials[12702] = Material.LightGrayCarpet; + materials[14836] = Material.LightGrayConcrete; + materials[14852] = Material.LightGrayConcretePowder; + for (int i = 14796; i <= 14799; i++) + materials[i] = Material.LightGrayGlazedTerracotta; + for (int i = 14716; i <= 14721; i++) + materials[i] = Material.LightGrayShulkerBox; + materials[6905] = Material.LightGrayStainedGlass; + for (int i = 11514; i <= 11545; i++) + materials[i] = Material.LightGrayStainedGlassPane; + materials[11250] = Material.LightGrayTerracotta; + for (int i = 13013; i <= 13016; i++) + materials[i] = Material.LightGrayWallBanner; + materials[2101] = Material.LightGrayWool; + for (int i = 11029; i <= 11044; i++) + materials[i] = Material.LightWeightedPressurePlate; + for (int i = 27341; i <= 27364; i++) + materials[i] = Material.LightningRod; + for (int i = 12715; i <= 12716; i++) + materials[i] = Material.Lilac; + materials[2134] = Material.LilyOfTheValley; + materials[8719] = Material.LilyPad; + for (int i = 12805; i <= 12820; i++) + materials[i] = Material.LimeBanner; + for (int i = 1811; i <= 1826; i++) + materials[i] = Material.LimeBed; + for (int i = 22990; i <= 23005; i++) + materials[i] = Material.LimeCandle; + for (int i = 23178; i <= 23179; i++) + materials[i] = Material.LimeCandleCake; + materials[12699] = Material.LimeCarpet; + materials[14833] = Material.LimeConcrete; + materials[14849] = Material.LimeConcretePowder; + for (int i = 14784; i <= 14787; i++) + materials[i] = Material.LimeGlazedTerracotta; + for (int i = 14698; i <= 14703; i++) + materials[i] = Material.LimeShulkerBox; + materials[6902] = Material.LimeStainedGlass; + for (int i = 11418; i <= 11449; i++) + materials[i] = Material.LimeStainedGlassPane; + materials[11247] = Material.LimeTerracotta; + for (int i = 13001; i <= 13004; i++) + materials[i] = Material.LimeWallBanner; + materials[2098] = Material.LimeWool; + materials[21628] = Material.Lodestone; + for (int i = 20536; i <= 20539; i++) + materials[i] = Material.Loom; + for (int i = 12757; i <= 12772; i++) + materials[i] = Material.MagentaBanner; + for (int i = 1763; i <= 1778; i++) + materials[i] = Material.MagentaBed; + for (int i = 22942; i <= 22957; i++) + materials[i] = Material.MagentaCandle; + for (int i = 23172; i <= 23173; i++) + materials[i] = Material.MagentaCandleCake; + materials[12696] = Material.MagentaCarpet; + materials[14830] = Material.MagentaConcrete; + materials[14846] = Material.MagentaConcretePowder; + for (int i = 14772; i <= 14775; i++) + materials[i] = Material.MagentaGlazedTerracotta; + for (int i = 14680; i <= 14685; i++) + materials[i] = Material.MagentaShulkerBox; + materials[6899] = Material.MagentaStainedGlass; + for (int i = 11322; i <= 11353; i++) + materials[i] = Material.MagentaStainedGlassPane; + materials[11244] = Material.MagentaTerracotta; + for (int i = 12989; i <= 12992; i++) + materials[i] = Material.MagentaWallBanner; + materials[2095] = Material.MagentaWool; + materials[14643] = Material.MagmaBlock; + for (int i = 10665; i <= 10688; i++) + materials[i] = Material.MangroveButton; + for (int i = 14306; i <= 14369; i++) + materials[i] = Material.MangroveDoor; + for (int i = 13794; i <= 13825; i++) + materials[i] = Material.MangroveFence; + for (int i = 13506; i <= 13537; i++) + materials[i] = Material.MangroveFenceGate; + for (int i = 6346; i <= 6409; i++) + materials[i] = Material.MangroveHangingSign; + for (int i = 476; i <= 503; i++) + materials[i] = Material.MangroveLeaves; + for (int i = 160; i <= 162; i++) + materials[i] = Material.MangroveLog; + materials[26] = Material.MangrovePlanks; + for (int i = 6676; i <= 6677; i++) + materials[i] = Material.MangrovePressurePlate; + for (int i = 45; i <= 84; i++) + materials[i] = Material.MangrovePropagule; + for (int i = 163; i <= 164; i++) + materials[i] = Material.MangroveRoots; + for (int i = 2847; i <= 2910; i++) + materials[i] = Material.MangroveShelf; + for (int i = 5390; i <= 5421; i++) + materials[i] = Material.MangroveSign; + for (int i = 13176; i <= 13181; i++) + materials[i] = Material.MangroveSlab; + for (int i = 12090; i <= 12169; i++) + materials[i] = Material.MangroveStairs; + for (int i = 7425; i <= 7488; i++) + materials[i] = Material.MangroveTrapdoor; + for (int i = 6538; i <= 6545; i++) + materials[i] = Material.MangroveWallHangingSign; + for (int i = 5690; i <= 5697; i++) + materials[i] = Material.MangroveWallSign; + for (int i = 222; i <= 224; i++) + materials[i] = Material.MangroveWood; + for (int i = 23226; i <= 23237; i++) + materials[i] = Material.MediumAmethystBud; + materials[8132] = Material.Melon; + for (int i = 8149; i <= 8156; i++) + materials[i] = Material.MelonStem; + materials[27660] = Material.MossBlock; + materials[27611] = Material.MossCarpet; + materials[3167] = Material.MossyCobblestone; + for (int i = 16238; i <= 16243; i++) + materials[i] = Material.MossyCobblestoneSlab; + for (int i = 15414; i <= 15493; i++) + materials[i] = Material.MossyCobblestoneStairs; + for (int i = 10104; i <= 10427; i++) + materials[i] = Material.MossyCobblestoneWall; + for (int i = 16226; i <= 16231; i++) + materials[i] = Material.MossyStoneBrickSlab; + for (int i = 15254; i <= 15333; i++) + materials[i] = Material.MossyStoneBrickStairs; + for (int i = 17264; i <= 17587; i++) + materials[i] = Material.MossyStoneBrickWall; + materials[7554] = Material.MossyStoneBricks; + for (int i = 2109; i <= 2120; i++) + materials[i] = Material.MovingPiston; + materials[27720] = Material.Mud; + for (int i = 13242; i <= 13247; i++) + materials[i] = Material.MudBrickSlab; + for (int i = 8637; i <= 8716; i++) + materials[i] = Material.MudBrickStairs; + for (int i = 18236; i <= 18559; i++) + materials[i] = Material.MudBrickWall; + materials[7558] = Material.MudBricks; + for (int i = 165; i <= 167; i++) + materials[i] = Material.MuddyMangroveRoots; + for (int i = 7693; i <= 7756; i++) + materials[i] = Material.MushroomStem; + for (int i = 8717; i <= 8718; i++) + materials[i] = Material.Mycelium; + for (int i = 9134; i <= 9165; i++) + materials[i] = Material.NetherBrickFence; + for (int i = 13248; i <= 13253; i++) + materials[i] = Material.NetherBrickSlab; + for (int i = 9166; i <= 9245; i++) + materials[i] = Material.NetherBrickStairs; + for (int i = 18560; i <= 18883; i++) + materials[i] = Material.NetherBrickWall; + materials[9133] = Material.NetherBricks; + materials[135] = Material.NetherGoldOre; + for (int i = 6816; i <= 6817; i++) + materials[i] = Material.NetherPortal; + materials[11110] = Material.NetherQuartzOre; + materials[20759] = Material.NetherSprouts; + for (int i = 9246; i <= 9249; i++) + materials[i] = Material.NetherWart; + materials[14644] = Material.NetherWartBlock; + materials[21616] = Material.NetheriteBlock; + materials[6796] = Material.Netherrack; + for (int i = 581; i <= 1730; i++) + materials[i] = Material.NoteBlock; + for (int i = 10473; i <= 10496; i++) + materials[i] = Material.OakButton; + for (int i = 5454; i <= 5517; i++) + materials[i] = Material.OakDoor; + for (int i = 6764; i <= 6795; i++) + materials[i] = Material.OakFence; + for (int i = 8445; i <= 8476; i++) + materials[i] = Material.OakFenceGate; + for (int i = 5706; i <= 5769; i++) + materials[i] = Material.OakHangingSign; + for (int i = 252; i <= 279; i++) + materials[i] = Material.OakLeaves; + for (int i = 136; i <= 138; i++) + materials[i] = Material.OakLog; + materials[15] = Material.OakPlanks; + for (int i = 6660; i <= 6661; i++) + materials[i] = Material.OakPressurePlate; + for (int i = 29; i <= 30; i++) + materials[i] = Material.OakSapling; + for (int i = 2911; i <= 2974; i++) + materials[i] = Material.OakShelf; + for (int i = 5134; i <= 5165; i++) + materials[i] = Material.OakSign; + for (int i = 13128; i <= 13133; i++) + materials[i] = Material.OakSlab; + for (int i = 3706; i <= 3785; i++) + materials[i] = Material.OakStairs; + for (int i = 6913; i <= 6976; i++) + materials[i] = Material.OakTrapdoor; + for (int i = 6474; i <= 6481; i++) + materials[i] = Material.OakWallHangingSign; + for (int i = 5626; i <= 5633; i++) + materials[i] = Material.OakWallSign; + for (int i = 201; i <= 203; i++) + materials[i] = Material.OakWood; + for (int i = 14650; i <= 14661; i++) + materials[i] = Material.Observer; + materials[3168] = Material.Obsidian; + for (int i = 29380; i <= 29382; i++) + materials[i] = Material.OchreFroglight; + materials[29666] = Material.OpenEyeblossom; + for (int i = 12741; i <= 12756; i++) + materials[i] = Material.OrangeBanner; + for (int i = 1747; i <= 1762; i++) + materials[i] = Material.OrangeBed; + for (int i = 22926; i <= 22941; i++) + materials[i] = Material.OrangeCandle; + for (int i = 23170; i <= 23171; i++) + materials[i] = Material.OrangeCandleCake; + materials[12695] = Material.OrangeCarpet; + materials[14829] = Material.OrangeConcrete; + materials[14845] = Material.OrangeConcretePowder; + for (int i = 14768; i <= 14771; i++) + materials[i] = Material.OrangeGlazedTerracotta; + for (int i = 14674; i <= 14679; i++) + materials[i] = Material.OrangeShulkerBox; + materials[6898] = Material.OrangeStainedGlass; + for (int i = 11290; i <= 11321; i++) + materials[i] = Material.OrangeStainedGlassPane; + materials[11243] = Material.OrangeTerracotta; + materials[2128] = Material.OrangeTulip; + for (int i = 12985; i <= 12988; i++) + materials[i] = Material.OrangeWallBanner; + materials[2094] = Material.OrangeWool; + materials[2131] = Material.OxeyeDaisy; + materials[25117] = Material.OxidizedChiseledCopper; + materials[25110] = Material.OxidizedCopper; + for (int i = 7885; i <= 7916; i++) + materials[i] = Material.OxidizedCopperBars; + for (int i = 26873; i <= 26876; i++) + materials[i] = Material.OxidizedCopperBulb; + for (int i = 8069; i <= 8074; i++) + materials[i] = Material.OxidizedCopperChain; + for (int i = 26965; i <= 26988; i++) + materials[i] = Material.OxidizedCopperChest; + for (int i = 25949; i <= 26012; i++) + materials[i] = Material.OxidizedCopperDoor; + for (int i = 27181; i <= 27212; i++) + materials[i] = Material.OxidizedCopperGolemStatue; + for (int i = 26851; i <= 26852; i++) + materials[i] = Material.OxidizedCopperGrate; + for (int i = 20655; i <= 20658; i++) + materials[i] = Material.OxidizedCopperLantern; + for (int i = 26461; i <= 26524; i++) + materials[i] = Material.OxidizedCopperTrapdoor; + materials[25113] = Material.OxidizedCutCopper; + for (int i = 25445; i <= 25450; i++) + materials[i] = Material.OxidizedCutCopperSlab; + for (int i = 25125; i <= 25204; i++) + materials[i] = Material.OxidizedCutCopperStairs; + for (int i = 27413; i <= 27436; i++) + materials[i] = Material.OxidizedLightningRod; + materials[12712] = Material.PackedIce; + materials[7557] = Material.PackedMud; + for (int i = 29664; i <= 29665; i++) + materials[i] = Material.PaleHangingMoss; + materials[29501] = Material.PaleMossBlock; + for (int i = 29502; i <= 29663; i++) + materials[i] = Material.PaleMossCarpet; + for (int i = 10641; i <= 10664; i++) + materials[i] = Material.PaleOakButton; + for (int i = 14242; i <= 14305; i++) + materials[i] = Material.PaleOakDoor; + for (int i = 13762; i <= 13793; i++) + materials[i] = Material.PaleOakFence; + for (int i = 13474; i <= 13505; i++) + materials[i] = Material.PaleOakFenceGate; + for (int i = 6154; i <= 6217; i++) + materials[i] = Material.PaleOakHangingSign; + for (int i = 448; i <= 475; i++) + materials[i] = Material.PaleOakLeaves; + for (int i = 157; i <= 159; i++) + materials[i] = Material.PaleOakLog; + materials[25] = Material.PaleOakPlanks; + for (int i = 6674; i <= 6675; i++) + materials[i] = Material.PaleOakPressurePlate; + for (int i = 43; i <= 44; i++) + materials[i] = Material.PaleOakSapling; + for (int i = 2975; i <= 3038; i++) + materials[i] = Material.PaleOakShelf; + for (int i = 5358; i <= 5389; i++) + materials[i] = Material.PaleOakSign; + for (int i = 13170; i <= 13175; i++) + materials[i] = Material.PaleOakSlab; + for (int i = 12010; i <= 12089; i++) + materials[i] = Material.PaleOakStairs; + for (int i = 7361; i <= 7424; i++) + materials[i] = Material.PaleOakTrapdoor; + for (int i = 6530; i <= 6537; i++) + materials[i] = Material.PaleOakWallHangingSign; + for (int i = 5682; i <= 5689; i++) + materials[i] = Material.PaleOakWallSign; + for (int i = 22; i <= 24; i++) + materials[i] = Material.PaleOakWood; + for (int i = 29386; i <= 29388; i++) + materials[i] = Material.PearlescentFroglight; + for (int i = 12719; i <= 12720; i++) + materials[i] = Material.Peony; + for (int i = 13218; i <= 13223; i++) + materials[i] = Material.PetrifiedOakSlab; + for (int i = 10953; i <= 10984; i++) + materials[i] = Material.PiglinHead; + for (int i = 10985; i <= 10992; i++) + materials[i] = Material.PiglinWallHead; + for (int i = 12821; i <= 12836; i++) + materials[i] = Material.PinkBanner; + for (int i = 1827; i <= 1842; i++) + materials[i] = Material.PinkBed; + for (int i = 23006; i <= 23021; i++) + materials[i] = Material.PinkCandle; + for (int i = 23180; i <= 23181; i++) + materials[i] = Material.PinkCandleCake; + materials[12700] = Material.PinkCarpet; + materials[14834] = Material.PinkConcrete; + materials[14850] = Material.PinkConcretePowder; + for (int i = 14788; i <= 14791; i++) + materials[i] = Material.PinkGlazedTerracotta; + for (int i = 27612; i <= 27627; i++) + materials[i] = Material.PinkPetals; + for (int i = 14704; i <= 14709; i++) + materials[i] = Material.PinkShulkerBox; + materials[6903] = Material.PinkStainedGlass; + for (int i = 11450; i <= 11481; i++) + materials[i] = Material.PinkStainedGlassPane; + materials[11248] = Material.PinkTerracotta; + materials[2130] = Material.PinkTulip; + for (int i = 13005; i <= 13008; i++) + materials[i] = Material.PinkWallBanner; + materials[2099] = Material.PinkWool; + for (int i = 2057; i <= 2068; i++) + materials[i] = Material.Piston; + for (int i = 2069; i <= 2092; i++) + materials[i] = Material.PistonHead; + for (int i = 14597; i <= 14606; i++) + materials[i] = Material.PitcherCrop; + for (int i = 14607; i <= 14608; i++) + materials[i] = Material.PitcherPlant; + for (int i = 10833; i <= 10864; i++) + materials[i] = Material.PlayerHead; + for (int i = 10865; i <= 10872; i++) + materials[i] = Material.PlayerWallHead; + for (int i = 12; i <= 13; i++) + materials[i] = Material.Podzol; + for (int i = 27533; i <= 27552; i++) + materials[i] = Material.PointedDripstone; + materials[7] = Material.PolishedAndesite; + for (int i = 16280; i <= 16285; i++) + materials[i] = Material.PolishedAndesiteSlab; + for (int i = 16054; i <= 16133; i++) + materials[i] = Material.PolishedAndesiteStairs; + for (int i = 6802; i <= 6804; i++) + materials[i] = Material.PolishedBasalt; + materials[22040] = Material.PolishedBlackstone; + for (int i = 22044; i <= 22049; i++) + materials[i] = Material.PolishedBlackstoneBrickSlab; + for (int i = 22050; i <= 22129; i++) + materials[i] = Material.PolishedBlackstoneBrickStairs; + for (int i = 22130; i <= 22453; i++) + materials[i] = Material.PolishedBlackstoneBrickWall; + materials[22041] = Material.PolishedBlackstoneBricks; + for (int i = 22543; i <= 22566; i++) + materials[i] = Material.PolishedBlackstoneButton; + for (int i = 22541; i <= 22542; i++) + materials[i] = Material.PolishedBlackstonePressurePlate; + for (int i = 22535; i <= 22540; i++) + materials[i] = Material.PolishedBlackstoneSlab; + for (int i = 22455; i <= 22534; i++) + materials[i] = Material.PolishedBlackstoneStairs; + for (int i = 22567; i <= 22890; i++) + materials[i] = Material.PolishedBlackstoneWall; + materials[28135] = Material.PolishedDeepslate; + for (int i = 28216; i <= 28221; i++) + materials[i] = Material.PolishedDeepslateSlab; + for (int i = 28136; i <= 28215; i++) + materials[i] = Material.PolishedDeepslateStairs; + for (int i = 28222; i <= 28545; i++) + materials[i] = Material.PolishedDeepslateWall; + materials[5] = Material.PolishedDiorite; + for (int i = 16232; i <= 16237; i++) + materials[i] = Material.PolishedDioriteSlab; + for (int i = 15334; i <= 15413; i++) + materials[i] = Material.PolishedDioriteStairs; + materials[3] = Material.PolishedGranite; + for (int i = 16214; i <= 16219; i++) + materials[i] = Material.PolishedGraniteSlab; + for (int i = 15094; i <= 15173; i++) + materials[i] = Material.PolishedGraniteStairs; + materials[23661] = Material.PolishedTuff; + for (int i = 23662; i <= 23667; i++) + materials[i] = Material.PolishedTuffSlab; + for (int i = 23668; i <= 23747; i++) + materials[i] = Material.PolishedTuffStairs; + for (int i = 23748; i <= 24071; i++) + materials[i] = Material.PolishedTuffWall; + materials[2123] = Material.Poppy; + for (int i = 10465; i <= 10472; i++) + materials[i] = Material.Potatoes; + materials[10434] = Material.PottedAcaciaSapling; + materials[10443] = Material.PottedAllium; + materials[29378] = Material.PottedAzaleaBush; + materials[10444] = Material.PottedAzureBluet; + materials[15089] = Material.PottedBamboo; + materials[10432] = Material.PottedBirchSapling; + materials[10442] = Material.PottedBlueOrchid; + materials[10454] = Material.PottedBrownMushroom; + materials[10456] = Material.PottedCactus; + materials[10435] = Material.PottedCherrySapling; + materials[29669] = Material.PottedClosedEyeblossom; + materials[10450] = Material.PottedCornflower; + materials[21624] = Material.PottedCrimsonFungus; + materials[21626] = Material.PottedCrimsonRoots; + materials[10440] = Material.PottedDandelion; + materials[10436] = Material.PottedDarkOakSapling; + materials[10455] = Material.PottedDeadBush; + materials[10439] = Material.PottedFern; + materials[29379] = Material.PottedFloweringAzaleaBush; + materials[10433] = Material.PottedJungleSapling; + materials[10451] = Material.PottedLilyOfTheValley; + materials[10438] = Material.PottedMangrovePropagule; + materials[10430] = Material.PottedOakSapling; + materials[29668] = Material.PottedOpenEyeblossom; + materials[10446] = Material.PottedOrangeTulip; + materials[10449] = Material.PottedOxeyeDaisy; + materials[10437] = Material.PottedPaleOakSapling; + materials[10448] = Material.PottedPinkTulip; + materials[10441] = Material.PottedPoppy; + materials[10453] = Material.PottedRedMushroom; + materials[10445] = Material.PottedRedTulip; + materials[10431] = Material.PottedSpruceSapling; + materials[10429] = Material.PottedTorchflower; + materials[21625] = Material.PottedWarpedFungus; + materials[21627] = Material.PottedWarpedRoots; + materials[10447] = Material.PottedWhiteTulip; + materials[10452] = Material.PottedWitherRose; + materials[24487] = Material.PowderSnow; + for (int i = 9264; i <= 9266; i++) + materials[i] = Material.PowderSnowCauldron; + for (int i = 1987; i <= 2010; i++) + materials[i] = Material.PoweredRail; + materials[12429] = Material.Prismarine; + for (int i = 12678; i <= 12683; i++) + materials[i] = Material.PrismarineBrickSlab; + for (int i = 12512; i <= 12591; i++) + materials[i] = Material.PrismarineBrickStairs; + materials[12430] = Material.PrismarineBricks; + for (int i = 12672; i <= 12677; i++) + materials[i] = Material.PrismarineSlab; + for (int i = 12432; i <= 12511; i++) + materials[i] = Material.PrismarineStairs; + for (int i = 16616; i <= 16939; i++) + materials[i] = Material.PrismarineWall; + materials[8131] = Material.Pumpkin; + for (int i = 8141; i <= 8148; i++) + materials[i] = Material.PumpkinStem; + for (int i = 12885; i <= 12900; i++) + materials[i] = Material.PurpleBanner; + for (int i = 1891; i <= 1906; i++) + materials[i] = Material.PurpleBed; + for (int i = 23070; i <= 23085; i++) + materials[i] = Material.PurpleCandle; + for (int i = 23188; i <= 23189; i++) + materials[i] = Material.PurpleCandleCake; + materials[12704] = Material.PurpleCarpet; + materials[14838] = Material.PurpleConcrete; + materials[14854] = Material.PurpleConcretePowder; + for (int i = 14804; i <= 14807; i++) + materials[i] = Material.PurpleGlazedTerracotta; + for (int i = 14728; i <= 14733; i++) + materials[i] = Material.PurpleShulkerBox; + materials[6907] = Material.PurpleStainedGlass; + for (int i = 11578; i <= 11609; i++) + materials[i] = Material.PurpleStainedGlassPane; + materials[11252] = Material.PurpleTerracotta; + for (int i = 13021; i <= 13024; i++) + materials[i] = Material.PurpleWallBanner; + materials[2103] = Material.PurpleWool; + materials[14510] = Material.PurpurBlock; + for (int i = 14511; i <= 14513; i++) + materials[i] = Material.PurpurPillar; + for (int i = 13272; i <= 13277; i++) + materials[i] = Material.PurpurSlab; + for (int i = 14514; i <= 14593; i++) + materials[i] = Material.PurpurStairs; + materials[11121] = Material.QuartzBlock; + materials[22893] = Material.QuartzBricks; + for (int i = 11123; i <= 11125; i++) + materials[i] = Material.QuartzPillar; + for (int i = 13254; i <= 13259; i++) + materials[i] = Material.QuartzSlab; + for (int i = 11126; i <= 11205; i++) + materials[i] = Material.QuartzStairs; + for (int i = 5526; i <= 5545; i++) + materials[i] = Material.Rail; + materials[29376] = Material.RawCopperBlock; + materials[29377] = Material.RawGoldBlock; + materials[29375] = Material.RawIronBlock; + for (int i = 12949; i <= 12964; i++) + materials[i] = Material.RedBanner; + for (int i = 1955; i <= 1970; i++) + materials[i] = Material.RedBed; + for (int i = 23134; i <= 23149; i++) + materials[i] = Material.RedCandle; + for (int i = 23196; i <= 23197; i++) + materials[i] = Material.RedCandleCake; + materials[12708] = Material.RedCarpet; + materials[14842] = Material.RedConcrete; + materials[14858] = Material.RedConcretePowder; + for (int i = 14820; i <= 14823; i++) + materials[i] = Material.RedGlazedTerracotta; + materials[2136] = Material.RedMushroom; + for (int i = 7629; i <= 7692; i++) + materials[i] = Material.RedMushroomBlock; + for (int i = 16274; i <= 16279; i++) + materials[i] = Material.RedNetherBrickSlab; + for (int i = 15974; i <= 16053; i++) + materials[i] = Material.RedNetherBrickStairs; + for (int i = 19208; i <= 19531; i++) + materials[i] = Material.RedNetherBrickWall; + materials[14645] = Material.RedNetherBricks; + materials[123] = Material.RedSand; + materials[13045] = Material.RedSandstone; + for (int i = 13260; i <= 13265; i++) + materials[i] = Material.RedSandstoneSlab; + for (int i = 13048; i <= 13127; i++) + materials[i] = Material.RedSandstoneStairs; + for (int i = 16940; i <= 17263; i++) + materials[i] = Material.RedSandstoneWall; + for (int i = 14752; i <= 14757; i++) + materials[i] = Material.RedShulkerBox; + materials[6911] = Material.RedStainedGlass; + for (int i = 11706; i <= 11737; i++) + materials[i] = Material.RedStainedGlassPane; + materials[11256] = Material.RedTerracotta; + materials[2127] = Material.RedTulip; + for (int i = 13037; i <= 13040; i++) + materials[i] = Material.RedWallBanner; + materials[2107] = Material.RedWool; + materials[11109] = Material.RedstoneBlock; + for (int i = 9278; i <= 9279; i++) + materials[i] = Material.RedstoneLamp; + for (int i = 6680; i <= 6681; i++) + materials[i] = Material.RedstoneOre; + for (int i = 6684; i <= 6685; i++) + materials[i] = Material.RedstoneTorch; + for (int i = 6686; i <= 6693; i++) + materials[i] = Material.RedstoneWallTorch; + for (int i = 3810; i <= 5105; i++) + materials[i] = Material.RedstoneWire; + materials[29390] = Material.ReinforcedDeepslate; + for (int i = 6833; i <= 6896; i++) + materials[i] = Material.Repeater; + for (int i = 14615; i <= 14626; i++) + materials[i] = Material.RepeatingCommandBlock; + materials[8720] = Material.ResinBlock; + for (int i = 8802; i <= 8807; i++) + materials[i] = Material.ResinBrickSlab; + for (int i = 8722; i <= 8801; i++) + materials[i] = Material.ResinBrickStairs; + for (int i = 8808; i <= 9131; i++) + materials[i] = Material.ResinBrickWall; + materials[8721] = Material.ResinBricks; + for (int i = 8317; i <= 8444; i++) + materials[i] = Material.ResinClump; + for (int i = 21619; i <= 21623; i++) + materials[i] = Material.RespawnAnchor; + materials[27719] = Material.RootedDirt; + for (int i = 12717; i <= 12718; i++) + materials[i] = Material.RoseBush; + materials[118] = Material.Sand; + materials[578] = Material.Sandstone; + for (int i = 13206; i <= 13211; i++) + materials[i] = Material.SandstoneSlab; + for (int i = 9292; i <= 9371; i++) + materials[i] = Material.SandstoneStairs; + for (int i = 19532; i <= 19855; i++) + materials[i] = Material.SandstoneWall; + for (int i = 20504; i <= 20535; i++) + materials[i] = Material.Scaffolding; + materials[24968] = Material.Sculk; + for (int i = 25097; i <= 25098; i++) + materials[i] = Material.SculkCatalyst; + for (int i = 24488; i <= 24583; i++) + materials[i] = Material.SculkSensor; + for (int i = 25099; i <= 25106; i++) + materials[i] = Material.SculkShrieker; + for (int i = 24969; i <= 25096; i++) + materials[i] = Material.SculkVein; + materials[12690] = Material.SeaLantern; + for (int i = 15065; i <= 15072; i++) + materials[i] = Material.SeaPickle; + materials[2054] = Material.Seagrass; + materials[2052] = Material.ShortDryGrass; + materials[2048] = Material.ShortGrass; + materials[20774] = Material.Shroomlight; + for (int i = 14662; i <= 14667; i++) + materials[i] = Material.ShulkerBox; + for (int i = 10713; i <= 10744; i++) + materials[i] = Material.SkeletonSkull; + for (int i = 10745; i <= 10752; i++) + materials[i] = Material.SkeletonWallSkull; + materials[12330] = Material.SlimeBlock; + for (int i = 23238; i <= 23249; i++) + materials[i] = Material.SmallAmethystBud; + for (int i = 27701; i <= 27716; i++) + materials[i] = Material.SmallDripleaf; + materials[20598] = Material.SmithingTable; + for (int i = 20552; i <= 20559; i++) + materials[i] = Material.Smoker; + materials[29374] = Material.SmoothBasalt; + materials[13280] = Material.SmoothQuartz; + for (int i = 16256; i <= 16261; i++) + materials[i] = Material.SmoothQuartzSlab; + for (int i = 15734; i <= 15813; i++) + materials[i] = Material.SmoothQuartzStairs; + materials[13281] = Material.SmoothRedSandstone; + for (int i = 16220; i <= 16225; i++) + materials[i] = Material.SmoothRedSandstoneSlab; + for (int i = 15174; i <= 15253; i++) + materials[i] = Material.SmoothRedSandstoneStairs; + materials[13279] = Material.SmoothSandstone; + for (int i = 16250; i <= 16255; i++) + materials[i] = Material.SmoothSandstoneSlab; + for (int i = 15654; i <= 15733; i++) + materials[i] = Material.SmoothSandstoneStairs; + materials[13278] = Material.SmoothStone; + for (int i = 13200; i <= 13205; i++) + materials[i] = Material.SmoothStoneSlab; + for (int i = 14900; i <= 14902; i++) + materials[i] = Material.SnifferEgg; + for (int i = 6718; i <= 6725; i++) + materials[i] = Material.Snow; + materials[6727] = Material.SnowBlock; + for (int i = 20707; i <= 20738; i++) + materials[i] = Material.SoulCampfire; + materials[3686] = Material.SoulFire; + for (int i = 20639; i <= 20642; i++) + materials[i] = Material.SoulLantern; + materials[6797] = Material.SoulSand; + materials[6798] = Material.SoulSoil; + materials[6805] = Material.SoulTorch; + for (int i = 6806; i <= 6809; i++) + materials[i] = Material.SoulWallTorch; + materials[3687] = Material.Spawner; + materials[560] = Material.Sponge; + materials[27608] = Material.SporeBlossom; + for (int i = 10497; i <= 10520; i++) + materials[i] = Material.SpruceButton; + for (int i = 13858; i <= 13921; i++) + materials[i] = Material.SpruceDoor; + for (int i = 13570; i <= 13601; i++) + materials[i] = Material.SpruceFence; + for (int i = 13282; i <= 13313; i++) + materials[i] = Material.SpruceFenceGate; + for (int i = 5770; i <= 5833; i++) + materials[i] = Material.SpruceHangingSign; + for (int i = 280; i <= 307; i++) + materials[i] = Material.SpruceLeaves; + for (int i = 139; i <= 141; i++) + materials[i] = Material.SpruceLog; + materials[16] = Material.SprucePlanks; + for (int i = 6662; i <= 6663; i++) + materials[i] = Material.SprucePressurePlate; + for (int i = 31; i <= 32; i++) + materials[i] = Material.SpruceSapling; + for (int i = 3039; i <= 3102; i++) + materials[i] = Material.SpruceShelf; + for (int i = 5166; i <= 5197; i++) + materials[i] = Material.SpruceSign; + for (int i = 13134; i <= 13139; i++) + materials[i] = Material.SpruceSlab; + for (int i = 9527; i <= 9606; i++) + materials[i] = Material.SpruceStairs; + for (int i = 6977; i <= 7040; i++) + materials[i] = Material.SpruceTrapdoor; + for (int i = 6482; i <= 6489; i++) + materials[i] = Material.SpruceWallHangingSign; + for (int i = 5634; i <= 5641; i++) + materials[i] = Material.SpruceWallSign; + for (int i = 204; i <= 206; i++) + materials[i] = Material.SpruceWood; + for (int i = 2035; i <= 2046; i++) + materials[i] = Material.StickyPiston; + materials[1] = Material.Stone; + for (int i = 13236; i <= 13241; i++) + materials[i] = Material.StoneBrickSlab; + for (int i = 8557; i <= 8636; i++) + materials[i] = Material.StoneBrickStairs; + for (int i = 17912; i <= 18235; i++) + materials[i] = Material.StoneBrickWall; + materials[7553] = Material.StoneBricks; + for (int i = 6694; i <= 6717; i++) + materials[i] = Material.StoneButton; + for (int i = 6594; i <= 6595; i++) + materials[i] = Material.StonePressurePlate; + for (int i = 13194; i <= 13199; i++) + materials[i] = Material.StoneSlab; + for (int i = 15574; i <= 15653; i++) + materials[i] = Material.StoneStairs; + for (int i = 20599; i <= 20602; i++) + materials[i] = Material.Stonecutter; + for (int i = 180; i <= 182; i++) + materials[i] = Material.StrippedAcaciaLog; + for (int i = 237; i <= 239; i++) + materials[i] = Material.StrippedAcaciaWood; + for (int i = 198; i <= 200; i++) + materials[i] = Material.StrippedBambooBlock; + for (int i = 174; i <= 176; i++) + materials[i] = Material.StrippedBirchLog; + for (int i = 231; i <= 233; i++) + materials[i] = Material.StrippedBirchWood; + for (int i = 183; i <= 185; i++) + materials[i] = Material.StrippedCherryLog; + for (int i = 240; i <= 242; i++) + materials[i] = Material.StrippedCherryWood; + for (int i = 20769; i <= 20771; i++) + materials[i] = Material.StrippedCrimsonHyphae; + for (int i = 20763; i <= 20765; i++) + materials[i] = Material.StrippedCrimsonStem; + for (int i = 186; i <= 188; i++) + materials[i] = Material.StrippedDarkOakLog; + for (int i = 243; i <= 245; i++) + materials[i] = Material.StrippedDarkOakWood; + for (int i = 177; i <= 179; i++) + materials[i] = Material.StrippedJungleLog; + for (int i = 234; i <= 236; i++) + materials[i] = Material.StrippedJungleWood; + for (int i = 195; i <= 197; i++) + materials[i] = Material.StrippedMangroveLog; + for (int i = 249; i <= 251; i++) + materials[i] = Material.StrippedMangroveWood; + for (int i = 192; i <= 194; i++) + materials[i] = Material.StrippedOakLog; + for (int i = 225; i <= 227; i++) + materials[i] = Material.StrippedOakWood; + for (int i = 189; i <= 191; i++) + materials[i] = Material.StrippedPaleOakLog; + for (int i = 246; i <= 248; i++) + materials[i] = Material.StrippedPaleOakWood; + for (int i = 171; i <= 173; i++) + materials[i] = Material.StrippedSpruceLog; + for (int i = 228; i <= 230; i++) + materials[i] = Material.StrippedSpruceWood; + for (int i = 20752; i <= 20754; i++) + materials[i] = Material.StrippedWarpedHyphae; + for (int i = 20746; i <= 20748; i++) + materials[i] = Material.StrippedWarpedStem; + for (int i = 21520; i <= 21523; i++) + materials[i] = Material.StructureBlock; + materials[14649] = Material.StructureVoid; + for (int i = 6746; i <= 6761; i++) + materials[i] = Material.SugarCane; + for (int i = 12713; i <= 12714; i++) + materials[i] = Material.Sunflower; + for (int i = 125; i <= 128; i++) + materials[i] = Material.SuspiciousGravel; + for (int i = 119; i <= 122; i++) + materials[i] = Material.SuspiciousSand; + for (int i = 20739; i <= 20742; i++) + materials[i] = Material.SweetBerryBush; + materials[2053] = Material.TallDryGrass; + for (int i = 12721; i <= 12722; i++) + materials[i] = Material.TallGrass; + for (int i = 2055; i <= 2056; i++) + materials[i] = Material.TallSeagrass; + for (int i = 21550; i <= 21565; i++) + materials[i] = Material.Target; + materials[12710] = Material.Terracotta; + for (int i = 21536; i <= 21539; i++) + materials[i] = Material.TestBlock; + materials[21540] = Material.TestInstanceBlock; + materials[24486] = Material.TintedGlass; + for (int i = 2140; i <= 2141; i++) + materials[i] = Material.Tnt; + materials[3169] = Material.Torch; + materials[2122] = Material.Torchflower; + for (int i = 14595; i <= 14596; i++) + materials[i] = Material.TorchflowerCrop; + for (int i = 11005; i <= 11028; i++) + materials[i] = Material.TrappedChest; + for (int i = 29455; i <= 29466; i++) + materials[i] = Material.TrialSpawner; + for (int i = 9398; i <= 9525; i++) + materials[i] = Material.Tripwire; + for (int i = 9382; i <= 9397; i++) + materials[i] = Material.TripwireHook; + for (int i = 14955; i <= 14956; i++) + materials[i] = Material.TubeCoral; + materials[14940] = Material.TubeCoralBlock; + for (int i = 14975; i <= 14976; i++) + materials[i] = Material.TubeCoralFan; + for (int i = 15025; i <= 15032; i++) + materials[i] = Material.TubeCoralWallFan; + materials[23250] = Material.Tuff; + for (int i = 24074; i <= 24079; i++) + materials[i] = Material.TuffBrickSlab; + for (int i = 24080; i <= 24159; i++) + materials[i] = Material.TuffBrickStairs; + for (int i = 24160; i <= 24483; i++) + materials[i] = Material.TuffBrickWall; + materials[24073] = Material.TuffBricks; + for (int i = 23251; i <= 23256; i++) + materials[i] = Material.TuffSlab; + for (int i = 23257; i <= 23336; i++) + materials[i] = Material.TuffStairs; + for (int i = 23337; i <= 23660; i++) + materials[i] = Material.TuffWall; + for (int i = 14888; i <= 14899; i++) + materials[i] = Material.TurtleEgg; + for (int i = 20802; i <= 20827; i++) + materials[i] = Material.TwistingVines; + materials[20828] = Material.TwistingVinesPlant; + for (int i = 29467; i <= 29498; i++) + materials[i] = Material.Vault; + for (int i = 29383; i <= 29385; i++) + materials[i] = Material.VerdantFroglight; + for (int i = 8157; i <= 8188; i++) + materials[i] = Material.Vine; + materials[15090] = Material.VoidAir; + for (int i = 3170; i <= 3173; i++) + materials[i] = Material.WallTorch; + for (int i = 21288; i <= 21311; i++) + materials[i] = Material.WarpedButton; + for (int i = 21376; i <= 21439; i++) + materials[i] = Material.WarpedDoor; + for (int i = 20880; i <= 20911; i++) + materials[i] = Material.WarpedFence; + for (int i = 21072; i <= 21103; i++) + materials[i] = Material.WarpedFenceGate; + materials[20756] = Material.WarpedFungus; + for (int i = 6282; i <= 6345; i++) + materials[i] = Material.WarpedHangingSign; + for (int i = 20749; i <= 20751; i++) + materials[i] = Material.WarpedHyphae; + materials[20755] = Material.WarpedNylium; + materials[20831] = Material.WarpedPlanks; + for (int i = 20846; i <= 20847; i++) + materials[i] = Material.WarpedPressurePlate; + materials[20758] = Material.WarpedRoots; + for (int i = 3103; i <= 3166; i++) + materials[i] = Material.WarpedShelf; + for (int i = 21472; i <= 21503; i++) + materials[i] = Material.WarpedSign; + for (int i = 20838; i <= 20843; i++) + materials[i] = Material.WarpedSlab; + for (int i = 21184; i <= 21263; i++) + materials[i] = Material.WarpedStairs; + for (int i = 20743; i <= 20745; i++) + materials[i] = Material.WarpedStem; + for (int i = 20976; i <= 21039; i++) + materials[i] = Material.WarpedTrapdoor; + for (int i = 6554; i <= 6561; i++) + materials[i] = Material.WarpedWallHangingSign; + for (int i = 21512; i <= 21519; i++) + materials[i] = Material.WarpedWallSign; + materials[20757] = Material.WarpedWartBlock; + for (int i = 86; i <= 101; i++) + materials[i] = Material.Water; + for (int i = 9260; i <= 9262; i++) + materials[i] = Material.WaterCauldron; + materials[25124] = Material.WaxedChiseledCopper; + for (int i = 7917; i <= 7948; i++) + materials[i] = Material.WaxedCopperBars; + materials[25469] = Material.WaxedCopperBlock; + for (int i = 26877; i <= 26880; i++) + materials[i] = Material.WaxedCopperBulb; + for (int i = 8075; i <= 8080; i++) + materials[i] = Material.WaxedCopperChain; + for (int i = 26989; i <= 27012; i++) + materials[i] = Material.WaxedCopperChest; + for (int i = 26077; i <= 26140; i++) + materials[i] = Material.WaxedCopperDoor; + for (int i = 27213; i <= 27244; i++) + materials[i] = Material.WaxedCopperGolemStatue; + for (int i = 26853; i <= 26854; i++) + materials[i] = Material.WaxedCopperGrate; + for (int i = 20659; i <= 20662; i++) + materials[i] = Material.WaxedCopperLantern; + for (int i = 26589; i <= 26652; i++) + materials[i] = Material.WaxedCopperTrapdoor; + materials[25476] = Material.WaxedCutCopper; + for (int i = 25815; i <= 25820; i++) + materials[i] = Material.WaxedCutCopperSlab; + for (int i = 25717; i <= 25796; i++) + materials[i] = Material.WaxedCutCopperStairs; + materials[25123] = Material.WaxedExposedChiseledCopper; + materials[25471] = Material.WaxedExposedCopper; + for (int i = 7949; i <= 7980; i++) + materials[i] = Material.WaxedExposedCopperBars; + for (int i = 26881; i <= 26884; i++) + materials[i] = Material.WaxedExposedCopperBulb; + for (int i = 8081; i <= 8086; i++) + materials[i] = Material.WaxedExposedCopperChain; + for (int i = 27013; i <= 27036; i++) + materials[i] = Material.WaxedExposedCopperChest; + for (int i = 26141; i <= 26204; i++) + materials[i] = Material.WaxedExposedCopperDoor; + for (int i = 27245; i <= 27276; i++) + materials[i] = Material.WaxedExposedCopperGolemStatue; + for (int i = 26855; i <= 26856; i++) + materials[i] = Material.WaxedExposedCopperGrate; + for (int i = 20663; i <= 20666; i++) + materials[i] = Material.WaxedExposedCopperLantern; + for (int i = 26653; i <= 26716; i++) + materials[i] = Material.WaxedExposedCopperTrapdoor; + materials[25475] = Material.WaxedExposedCutCopper; + for (int i = 25809; i <= 25814; i++) + materials[i] = Material.WaxedExposedCutCopperSlab; + for (int i = 25637; i <= 25716; i++) + materials[i] = Material.WaxedExposedCutCopperStairs; + for (int i = 27461; i <= 27484; i++) + materials[i] = Material.WaxedExposedLightningRod; + for (int i = 27437; i <= 27460; i++) + materials[i] = Material.WaxedLightningRod; + materials[25121] = Material.WaxedOxidizedChiseledCopper; + materials[25472] = Material.WaxedOxidizedCopper; + for (int i = 8013; i <= 8044; i++) + materials[i] = Material.WaxedOxidizedCopperBars; + for (int i = 26889; i <= 26892; i++) + materials[i] = Material.WaxedOxidizedCopperBulb; + for (int i = 8093; i <= 8098; i++) + materials[i] = Material.WaxedOxidizedCopperChain; + for (int i = 27061; i <= 27084; i++) + materials[i] = Material.WaxedOxidizedCopperChest; + for (int i = 26205; i <= 26268; i++) + materials[i] = Material.WaxedOxidizedCopperDoor; + for (int i = 27309; i <= 27340; i++) + materials[i] = Material.WaxedOxidizedCopperGolemStatue; + for (int i = 26859; i <= 26860; i++) + materials[i] = Material.WaxedOxidizedCopperGrate; + for (int i = 20671; i <= 20674; i++) + materials[i] = Material.WaxedOxidizedCopperLantern; + for (int i = 26717; i <= 26780; i++) + materials[i] = Material.WaxedOxidizedCopperTrapdoor; + materials[25473] = Material.WaxedOxidizedCutCopper; + for (int i = 25797; i <= 25802; i++) + materials[i] = Material.WaxedOxidizedCutCopperSlab; + for (int i = 25477; i <= 25556; i++) + materials[i] = Material.WaxedOxidizedCutCopperStairs; + for (int i = 27509; i <= 27532; i++) + materials[i] = Material.WaxedOxidizedLightningRod; + materials[25122] = Material.WaxedWeatheredChiseledCopper; + materials[25470] = Material.WaxedWeatheredCopper; + for (int i = 7981; i <= 8012; i++) + materials[i] = Material.WaxedWeatheredCopperBars; + for (int i = 26885; i <= 26888; i++) + materials[i] = Material.WaxedWeatheredCopperBulb; + for (int i = 8087; i <= 8092; i++) + materials[i] = Material.WaxedWeatheredCopperChain; + for (int i = 27037; i <= 27060; i++) + materials[i] = Material.WaxedWeatheredCopperChest; + for (int i = 26269; i <= 26332; i++) + materials[i] = Material.WaxedWeatheredCopperDoor; + for (int i = 27277; i <= 27308; i++) + materials[i] = Material.WaxedWeatheredCopperGolemStatue; + for (int i = 26857; i <= 26858; i++) + materials[i] = Material.WaxedWeatheredCopperGrate; + for (int i = 20667; i <= 20670; i++) + materials[i] = Material.WaxedWeatheredCopperLantern; + for (int i = 26781; i <= 26844; i++) + materials[i] = Material.WaxedWeatheredCopperTrapdoor; + materials[25474] = Material.WaxedWeatheredCutCopper; + for (int i = 25803; i <= 25808; i++) + materials[i] = Material.WaxedWeatheredCutCopperSlab; + for (int i = 25557; i <= 25636; i++) + materials[i] = Material.WaxedWeatheredCutCopperStairs; + for (int i = 27485; i <= 27508; i++) + materials[i] = Material.WaxedWeatheredLightningRod; + materials[25118] = Material.WeatheredChiseledCopper; + materials[25109] = Material.WeatheredCopper; + for (int i = 7853; i <= 7884; i++) + materials[i] = Material.WeatheredCopperBars; + for (int i = 26869; i <= 26872; i++) + materials[i] = Material.WeatheredCopperBulb; + for (int i = 8063; i <= 8068; i++) + materials[i] = Material.WeatheredCopperChain; + for (int i = 26941; i <= 26964; i++) + materials[i] = Material.WeatheredCopperChest; + for (int i = 26013; i <= 26076; i++) + materials[i] = Material.WeatheredCopperDoor; + for (int i = 27149; i <= 27180; i++) + materials[i] = Material.WeatheredCopperGolemStatue; + for (int i = 26849; i <= 26850; i++) + materials[i] = Material.WeatheredCopperGrate; + for (int i = 20651; i <= 20654; i++) + materials[i] = Material.WeatheredCopperLantern; + for (int i = 26525; i <= 26588; i++) + materials[i] = Material.WeatheredCopperTrapdoor; + materials[25114] = Material.WeatheredCutCopper; + for (int i = 25451; i <= 25456; i++) + materials[i] = Material.WeatheredCutCopperSlab; + for (int i = 25205; i <= 25284; i++) + materials[i] = Material.WeatheredCutCopperStairs; + for (int i = 27389; i <= 27412; i++) + materials[i] = Material.WeatheredLightningRod; + for (int i = 20775; i <= 20800; i++) + materials[i] = Material.WeepingVines; + materials[20801] = Material.WeepingVinesPlant; + materials[561] = Material.WetSponge; + for (int i = 5110; i <= 5117; i++) + materials[i] = Material.Wheat; + for (int i = 12725; i <= 12740; i++) + materials[i] = Material.WhiteBanner; + for (int i = 1731; i <= 1746; i++) + materials[i] = Material.WhiteBed; + for (int i = 22910; i <= 22925; i++) + materials[i] = Material.WhiteCandle; + for (int i = 23168; i <= 23169; i++) + materials[i] = Material.WhiteCandleCake; + materials[12694] = Material.WhiteCarpet; + materials[14828] = Material.WhiteConcrete; + materials[14844] = Material.WhiteConcretePowder; + for (int i = 14764; i <= 14767; i++) + materials[i] = Material.WhiteGlazedTerracotta; + for (int i = 14668; i <= 14673; i++) + materials[i] = Material.WhiteShulkerBox; + materials[6897] = Material.WhiteStainedGlass; + for (int i = 11258; i <= 11289; i++) + materials[i] = Material.WhiteStainedGlassPane; + materials[11242] = Material.WhiteTerracotta; + materials[2129] = Material.WhiteTulip; + for (int i = 12981; i <= 12984; i++) + materials[i] = Material.WhiteWallBanner; + materials[2093] = Material.WhiteWool; + for (int i = 27628; i <= 27643; i++) + materials[i] = Material.Wildflowers; + materials[2133] = Material.WitherRose; + for (int i = 10753; i <= 10784; i++) + materials[i] = Material.WitherSkeletonSkull; + for (int i = 10785; i <= 10792; i++) + materials[i] = Material.WitherSkeletonWallSkull; + for (int i = 12789; i <= 12804; i++) + materials[i] = Material.YellowBanner; + for (int i = 1795; i <= 1810; i++) + materials[i] = Material.YellowBed; + for (int i = 22974; i <= 22989; i++) + materials[i] = Material.YellowCandle; + for (int i = 23176; i <= 23177; i++) + materials[i] = Material.YellowCandleCake; + materials[12698] = Material.YellowCarpet; + materials[14832] = Material.YellowConcrete; + materials[14848] = Material.YellowConcretePowder; + for (int i = 14780; i <= 14783; i++) + materials[i] = Material.YellowGlazedTerracotta; + for (int i = 14692; i <= 14697; i++) + materials[i] = Material.YellowShulkerBox; + materials[6901] = Material.YellowStainedGlass; + for (int i = 11386; i <= 11417; i++) + materials[i] = Material.YellowStainedGlassPane; + materials[11246] = Material.YellowTerracotta; + for (int i = 12997; i <= 13000; i++) + materials[i] = Material.YellowWallBanner; + materials[2097] = Material.YellowWool; + for (int i = 10793; i <= 10824; i++) + materials[i] = Material.ZombieHead; + for (int i = 10825; i <= 10832; i++) + materials[i] = Material.ZombieWallHead; + } + + protected override Dictionary GetDict() + { + return materials; + } + } +} diff --git a/MinecraftClient/Mapping/EntityMetadataPalettes/EntityMetadataPalette1219.cs b/MinecraftClient/Mapping/EntityMetadataPalettes/EntityMetadataPalette1219.cs new file mode 100644 index 00000000..2fa5d35e --- /dev/null +++ b/MinecraftClient/Mapping/EntityMetadataPalettes/EntityMetadataPalette1219.cs @@ -0,0 +1,52 @@ +using System.Collections.Generic; + +namespace MinecraftClient.Mapping.EntityMetadataPalettes; + +public class EntityMetadataPalette1219 : EntityMetadataPalette +{ + private readonly Dictionary entityMetadataMappings = new() + { + { 0, EntityMetaDataType.Byte }, + { 1, EntityMetaDataType.VarInt }, + { 2, EntityMetaDataType.VarLong }, + { 3, EntityMetaDataType.Float }, + { 4, EntityMetaDataType.String }, + { 5, EntityMetaDataType.Chat }, + { 6, EntityMetaDataType.OptionalChat }, + { 7, EntityMetaDataType.Slot }, + { 8, EntityMetaDataType.Boolean }, + { 9, EntityMetaDataType.Rotation }, + { 10, EntityMetaDataType.Position }, + { 11, EntityMetaDataType.OptionalPosition }, + { 12, EntityMetaDataType.Direction }, + { 13, EntityMetaDataType.OptionalLivingEntityReference }, + { 14, EntityMetaDataType.BlockId }, + { 15, EntityMetaDataType.OptionalBlockId }, + { 16, EntityMetaDataType.Particle }, + { 17, EntityMetaDataType.Particles }, + { 18, EntityMetaDataType.VillagerData }, + { 19, EntityMetaDataType.OptionalVarInt }, + { 20, EntityMetaDataType.Pose }, + { 21, EntityMetaDataType.CatVariant }, + { 22, EntityMetaDataType.CowVariant }, + { 23, EntityMetaDataType.WolfVariant }, + { 24, EntityMetaDataType.WolfSoundVariant }, + { 25, EntityMetaDataType.FrogVariant }, + { 26, EntityMetaDataType.PigVariant }, + { 27, EntityMetaDataType.ChickenVariant }, + { 28, EntityMetaDataType.OptionalGlobalPosition }, + { 29, EntityMetaDataType.PaintingVariant }, + { 30, EntityMetaDataType.SnifferState }, + { 31, EntityMetaDataType.ArmadilloState }, + { 32, EntityMetaDataType.CopperGolemState }, + { 33, EntityMetaDataType.WeatheringCopperState }, + { 34, EntityMetaDataType.Vector3 }, + { 35, EntityMetaDataType.Quaternion }, + { 36, EntityMetaDataType.ResolvableProfile }, + }; + + public override Dictionary GetEntityMetadataMappingsList() + { + return entityMetadataMappings; + } +} diff --git a/MinecraftClient/Mapping/EntityPalettes/EntityPalette1219.cs b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1219.cs new file mode 100644 index 00000000..448bdbcc --- /dev/null +++ b/MinecraftClient/Mapping/EntityPalettes/EntityPalette1219.cs @@ -0,0 +1,171 @@ +using System.Collections.Generic; + +namespace MinecraftClient.Mapping.EntityPalettes +{ + public class EntityPalette1219 : EntityPalette + { + private static readonly Dictionary mappings = new(); + + static EntityPalette1219() + { + mappings[0] = EntityType.AcaciaBoat; + mappings[1] = EntityType.AcaciaChestBoat; + mappings[2] = EntityType.Allay; + mappings[3] = EntityType.AreaEffectCloud; + mappings[4] = EntityType.Armadillo; + mappings[5] = EntityType.ArmorStand; + mappings[6] = EntityType.Arrow; + mappings[7] = EntityType.Axolotl; + mappings[8] = EntityType.BambooChestRaft; + mappings[9] = EntityType.BambooRaft; + mappings[10] = EntityType.Bat; + mappings[11] = EntityType.Bee; + mappings[12] = EntityType.BirchBoat; + mappings[13] = EntityType.BirchChestBoat; + mappings[14] = EntityType.Blaze; + mappings[15] = EntityType.BlockDisplay; + mappings[16] = EntityType.Bogged; + mappings[17] = EntityType.Breeze; + mappings[18] = EntityType.BreezeWindCharge; + mappings[19] = EntityType.Camel; + mappings[20] = EntityType.Cat; + mappings[21] = EntityType.CaveSpider; + mappings[22] = EntityType.CherryBoat; + mappings[23] = EntityType.CherryChestBoat; + mappings[24] = EntityType.ChestMinecart; + mappings[25] = EntityType.Chicken; + mappings[26] = EntityType.Cod; + mappings[27] = EntityType.CopperGolem; + mappings[28] = EntityType.CommandBlockMinecart; + mappings[29] = EntityType.Cow; + mappings[30] = EntityType.Creaking; + mappings[31] = EntityType.Creeper; + mappings[32] = EntityType.DarkOakBoat; + mappings[33] = EntityType.DarkOakChestBoat; + mappings[34] = EntityType.Dolphin; + mappings[35] = EntityType.Donkey; + mappings[36] = EntityType.DragonFireball; + mappings[37] = EntityType.Drowned; + mappings[38] = EntityType.Egg; + mappings[39] = EntityType.ElderGuardian; + mappings[40] = EntityType.Enderman; + mappings[41] = EntityType.Endermite; + mappings[42] = EntityType.EnderDragon; + mappings[43] = EntityType.EnderPearl; + mappings[44] = EntityType.EndCrystal; + mappings[45] = EntityType.Evoker; + mappings[46] = EntityType.EvokerFangs; + mappings[47] = EntityType.ExperienceBottle; + mappings[48] = EntityType.ExperienceOrb; + mappings[49] = EntityType.EyeOfEnder; + mappings[50] = EntityType.FallingBlock; + mappings[51] = EntityType.Fireball; + mappings[52] = EntityType.FireworkRocket; + mappings[53] = EntityType.Fox; + mappings[54] = EntityType.Frog; + mappings[55] = EntityType.FurnaceMinecart; + mappings[56] = EntityType.Ghast; + mappings[57] = EntityType.HappyGhast; + mappings[58] = EntityType.Giant; + mappings[59] = EntityType.GlowItemFrame; + mappings[60] = EntityType.GlowSquid; + mappings[61] = EntityType.Goat; + mappings[62] = EntityType.Guardian; + mappings[63] = EntityType.Hoglin; + mappings[64] = EntityType.HopperMinecart; + mappings[65] = EntityType.Horse; + mappings[66] = EntityType.Husk; + mappings[67] = EntityType.Illusioner; + mappings[68] = EntityType.Interaction; + mappings[69] = EntityType.IronGolem; + mappings[70] = EntityType.Item; + mappings[71] = EntityType.ItemDisplay; + mappings[72] = EntityType.ItemFrame; + mappings[73] = EntityType.JungleBoat; + mappings[74] = EntityType.JungleChestBoat; + mappings[75] = EntityType.LeashKnot; + mappings[76] = EntityType.LightningBolt; + mappings[77] = EntityType.Llama; + mappings[78] = EntityType.LlamaSpit; + mappings[79] = EntityType.MagmaCube; + mappings[80] = EntityType.MangroveBoat; + mappings[81] = EntityType.MangroveChestBoat; + mappings[82] = EntityType.Mannequin; + mappings[83] = EntityType.Marker; + mappings[84] = EntityType.Minecart; + mappings[85] = EntityType.Mooshroom; + mappings[86] = EntityType.Mule; + mappings[87] = EntityType.OakBoat; + mappings[88] = EntityType.OakChestBoat; + mappings[89] = EntityType.Ocelot; + mappings[90] = EntityType.OminousItemSpawner; + mappings[91] = EntityType.Painting; + mappings[92] = EntityType.PaleOakBoat; + mappings[93] = EntityType.PaleOakChestBoat; + mappings[94] = EntityType.Panda; + mappings[95] = EntityType.Parrot; + mappings[96] = EntityType.Phantom; + mappings[97] = EntityType.Pig; + mappings[98] = EntityType.Piglin; + mappings[99] = EntityType.PiglinBrute; + mappings[100] = EntityType.Pillager; + mappings[101] = EntityType.PolarBear; + mappings[102] = EntityType.SplashPotion; + mappings[103] = EntityType.LingeringPotion; + mappings[104] = EntityType.Pufferfish; + mappings[105] = EntityType.Rabbit; + mappings[106] = EntityType.Ravager; + mappings[107] = EntityType.Salmon; + mappings[108] = EntityType.Sheep; + mappings[109] = EntityType.Shulker; + mappings[110] = EntityType.ShulkerBullet; + mappings[111] = EntityType.Silverfish; + mappings[112] = EntityType.Skeleton; + mappings[113] = EntityType.SkeletonHorse; + mappings[114] = EntityType.Slime; + mappings[115] = EntityType.SmallFireball; + mappings[116] = EntityType.Sniffer; + mappings[117] = EntityType.Snowball; + mappings[118] = EntityType.SnowGolem; + mappings[119] = EntityType.SpawnerMinecart; + mappings[120] = EntityType.SpectralArrow; + mappings[121] = EntityType.Spider; + mappings[122] = EntityType.SpruceBoat; + mappings[123] = EntityType.SpruceChestBoat; + mappings[124] = EntityType.Squid; + mappings[125] = EntityType.Stray; + mappings[126] = EntityType.Strider; + mappings[127] = EntityType.Tadpole; + mappings[128] = EntityType.TextDisplay; + mappings[129] = EntityType.Tnt; + mappings[130] = EntityType.TntMinecart; + mappings[131] = EntityType.TraderLlama; + mappings[132] = EntityType.Trident; + mappings[133] = EntityType.TropicalFish; + mappings[134] = EntityType.Turtle; + mappings[135] = EntityType.Vex; + mappings[136] = EntityType.Villager; + mappings[137] = EntityType.Vindicator; + mappings[138] = EntityType.WanderingTrader; + mappings[139] = EntityType.Warden; + mappings[140] = EntityType.WindCharge; + mappings[141] = EntityType.Witch; + mappings[142] = EntityType.Wither; + mappings[143] = EntityType.WitherSkeleton; + mappings[144] = EntityType.WitherSkull; + mappings[145] = EntityType.Wolf; + mappings[146] = EntityType.Zoglin; + mappings[147] = EntityType.Zombie; + mappings[148] = EntityType.ZombieHorse; + mappings[149] = EntityType.ZombieVillager; + mappings[150] = EntityType.ZombifiedPiglin; + mappings[151] = EntityType.Player; + mappings[152] = EntityType.FishingBobber; + } + + protected override Dictionary GetDict() + { + return mappings; + } + } +} diff --git a/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1219.cs b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1219.cs new file mode 100644 index 00000000..0f4bfe90 --- /dev/null +++ b/MinecraftClient/Protocol/Handlers/PacketPalettes/PacketPalette1219.cs @@ -0,0 +1,262 @@ +using System.Collections.Generic; + +namespace MinecraftClient.Protocol.Handlers.PacketPalettes; + +public class PacketPalette1219 : PacketTypePalette + { + private readonly Dictionary typeIn = new() + { + { 0x00, PacketTypesIn.Bundle }, // Bundle delimiter + { 0x01, PacketTypesIn.SpawnEntity }, // Add Entity + { 0x02, PacketTypesIn.EntityAnimation }, // Animate + { 0x03, PacketTypesIn.Statistics }, // Award Stats + { 0x04, PacketTypesIn.BlockChangedAck }, // Block Changed Ack + { 0x05, PacketTypesIn.BlockBreakAnimation }, // Block Destruction + { 0x06, PacketTypesIn.BlockEntityData }, // Block Entity Data + { 0x07, PacketTypesIn.BlockAction }, // Block Event + { 0x08, PacketTypesIn.BlockChange }, // Block Update + { 0x09, PacketTypesIn.BossBar }, // Boss Event + { 0x0A, PacketTypesIn.ServerDifficulty }, // Change Difficulty + { 0x0B, PacketTypesIn.ChunkBatchFinished }, // Chunk Batch Finished + { 0x0C, PacketTypesIn.ChunkBatchStarted }, // Chunk Batch Start + { 0x0D, PacketTypesIn.ChunksBiomes }, // Chunks Biomes + { 0x0E, PacketTypesIn.ClearTiles }, // Clear Titles + { 0x0F, PacketTypesIn.TabComplete }, // Command Suggestions + { 0x10, PacketTypesIn.DeclareCommands }, // Commands + { 0x11, PacketTypesIn.CloseWindow }, // Container Close + { 0x12, PacketTypesIn.WindowItems }, // Container Set Content + { 0x13, PacketTypesIn.WindowProperty }, // Container Set Data + { 0x14, PacketTypesIn.SetSlot }, // Container Set Slot + { 0x15, PacketTypesIn.CookieRequest }, // Cookie Request + { 0x16, PacketTypesIn.SetCooldown }, // Cooldown + { 0x17, PacketTypesIn.ChatSuggestions }, // Custom Chat Completions + { 0x18, PacketTypesIn.PluginMessage }, // Custom Payload + { 0x19, PacketTypesIn.DamageEvent }, // Damage Event + { 0x1A, PacketTypesIn.DebugBlockValue }, // Debug Block Value (new in 1.21.9) + { 0x1B, PacketTypesIn.DebugChunkValue }, // Debug Chunk Value (new in 1.21.9) + { 0x1C, PacketTypesIn.DebugEntityValue }, // Debug Entity Value (new in 1.21.9) + { 0x1D, PacketTypesIn.DebugEvent }, // Debug Event (new in 1.21.9) + { 0x1E, PacketTypesIn.DebugSample }, // Debug Sample + { 0x1F, PacketTypesIn.HideMessage }, // Delete Chat + { 0x20, PacketTypesIn.Disconnect }, // Disconnect + { 0x21, PacketTypesIn.ProfilelessChatMessage }, // Disguised Chat + { 0x22, PacketTypesIn.EntityStatus }, // Entity Event + { 0x23, PacketTypesIn.EntityPositionSync }, // Entity Position Sync + { 0x24, PacketTypesIn.Explosion }, // Explode + { 0x25, PacketTypesIn.UnloadChunk }, // Forget Level Chunk + { 0x26, PacketTypesIn.ChangeGameState }, // Game Event + { 0x27, PacketTypesIn.GameTestHighlightPos }, // Game Test Highlight Pos (new in 1.21.9) + { 0x28, PacketTypesIn.OpenHorseWindow }, // Horse Screen Open + { 0x29, PacketTypesIn.HurtAnimation }, // Hurt Animation + { 0x2A, PacketTypesIn.InitializeWorldBorder }, // Initialize Border + { 0x2B, PacketTypesIn.KeepAlive }, // Keep Alive + { 0x2C, PacketTypesIn.ChunkData }, // Level Chunk With Light + { 0x2D, PacketTypesIn.Effect }, // Level Event + { 0x2E, PacketTypesIn.Particle }, // Level Particles + { 0x2F, PacketTypesIn.UpdateLight }, // Light Update + { 0x30, PacketTypesIn.JoinGame }, // Login + { 0x31, PacketTypesIn.MapData }, // Map Item Data + { 0x32, PacketTypesIn.TradeList }, // Merchant Offers + { 0x33, PacketTypesIn.EntityPosition }, // Move Entity Pos + { 0x34, PacketTypesIn.EntityPositionAndRotation }, // Move Entity Pos Rot + { 0x35, PacketTypesIn.MoveMinecartAlongTrack }, // Move Minecart Along Track + { 0x36, PacketTypesIn.EntityRotation }, // Move Entity Rot + { 0x37, PacketTypesIn.VehicleMove }, // Move Vehicle + { 0x38, PacketTypesIn.OpenBook }, // Open Book + { 0x39, PacketTypesIn.OpenWindow }, // Open Screen + { 0x3A, PacketTypesIn.OpenSignEditor }, // Open Sign Editor + { 0x3B, PacketTypesIn.Ping }, // Ping + { 0x3C, PacketTypesIn.PingResponse }, // Pong Response + { 0x3D, PacketTypesIn.CraftRecipeResponse }, // Place Ghost Recipe + { 0x3E, PacketTypesIn.PlayerAbilities }, // Player Abilities + { 0x3F, PacketTypesIn.ChatMessage }, // Player Chat + { 0x40, PacketTypesIn.EndCombatEvent }, // Player Combat End + { 0x41, PacketTypesIn.EnterCombatEvent }, // Player Combat Enter + { 0x42, PacketTypesIn.DeathCombatEvent }, // Player Combat Kill + { 0x43, PacketTypesIn.PlayerRemove }, // Player Info Remove + { 0x44, PacketTypesIn.PlayerInfo }, // Player Info Update + { 0x45, PacketTypesIn.FacePlayer }, // Player Look At + { 0x46, PacketTypesIn.PlayerPositionAndLook }, // Player Position + { 0x47, PacketTypesIn.PlayerRotation }, // Player Rotation + { 0x48, PacketTypesIn.RecipeBookAdd }, // Recipe Book Add + { 0x49, PacketTypesIn.RecipeBookRemove }, // Recipe Book Remove + { 0x4A, PacketTypesIn.RecipeBookSettings }, // Recipe Book Settings + { 0x4B, PacketTypesIn.DestroyEntities }, // Remove Entities + { 0x4C, PacketTypesIn.RemoveEntityEffect }, // Remove Mob Effect + { 0x4D, PacketTypesIn.ResetScore }, // Reset Score + { 0x4E, PacketTypesIn.RemoveResourcePack }, // Resource Pack Pop + { 0x4F, PacketTypesIn.ResourcePackSend }, // Resource Pack Push + { 0x50, PacketTypesIn.Respawn }, // Respawn + { 0x51, PacketTypesIn.EntityHeadLook }, // Rotate Head + { 0x52, PacketTypesIn.MultiBlockChange }, // Section Blocks Update + { 0x53, PacketTypesIn.SelectAdvancementTab }, // Select Advancements Tab + { 0x54, PacketTypesIn.ServerData }, // Server Data + { 0x55, PacketTypesIn.ActionBar }, // Set Action Bar Text + { 0x56, PacketTypesIn.WorldBorderCenter }, // Set Border Center + { 0x57, PacketTypesIn.WorldBorderLerpSize }, // Set Border Lerp Size + { 0x58, PacketTypesIn.WorldBorderSize }, // Set Border Size + { 0x59, PacketTypesIn.WorldBorderWarningDelay }, // Set Border Warning Delay + { 0x5A, PacketTypesIn.WorldBorderWarningReach }, // Set Border Warning Distance + { 0x5B, PacketTypesIn.Camera }, // Set Camera + { 0x5C, PacketTypesIn.UpdateViewPosition }, // Set Chunk Cache Center + { 0x5D, PacketTypesIn.UpdateViewDistance }, // Set Chunk Cache Radius + { 0x5E, PacketTypesIn.SetCursorItem }, // Set Cursor Item + { 0x5F, PacketTypesIn.SpawnPosition }, // Set Default Spawn Position + { 0x60, PacketTypesIn.DisplayScoreboard }, // Set Display Objective + { 0x61, PacketTypesIn.EntityMetadata }, // Set Entity Data + { 0x62, PacketTypesIn.AttachEntity }, // Set Entity Link + { 0x63, PacketTypesIn.EntityVelocity }, // Set Entity Motion + { 0x64, PacketTypesIn.EntityEquipment }, // Set Equipment + { 0x65, PacketTypesIn.SetExperience }, // Set Experience + { 0x66, PacketTypesIn.UpdateHealth }, // Set Health + { 0x67, PacketTypesIn.SetHeldSlot }, // Set Held Slot + { 0x68, PacketTypesIn.ScoreboardObjective }, // Set Objective + { 0x69, PacketTypesIn.SetPassengers }, // Set Passengers + { 0x6A, PacketTypesIn.SetPlayerInventory }, // Set Player Inventory + { 0x6B, PacketTypesIn.Teams }, // Set Player Team + { 0x6C, PacketTypesIn.UpdateScore }, // Set Score + { 0x6D, PacketTypesIn.UpdateSimulationDistance }, // Set Simulation Distance + { 0x6E, PacketTypesIn.SetTitleSubTitle }, // Set Subtitle Text + { 0x6F, PacketTypesIn.TimeUpdate }, // Set Time + { 0x70, PacketTypesIn.SetTitleText }, // Set Title Text + { 0x71, PacketTypesIn.SetTitleTime }, // Set Titles Animation + { 0x72, PacketTypesIn.EntitySoundEffect }, // Sound Entity + { 0x73, PacketTypesIn.SoundEffect }, // Sound + { 0x74, PacketTypesIn.StartConfiguration }, // Start Configuration + { 0x75, PacketTypesIn.StopSound }, // Stop Sound + { 0x76, PacketTypesIn.StoreCookie }, // Store Cookie + { 0x77, PacketTypesIn.SystemChat }, // System Chat + { 0x78, PacketTypesIn.PlayerListHeaderAndFooter }, // Tab List + { 0x79, PacketTypesIn.NBTQueryResponse }, // Tag Query + { 0x7A, PacketTypesIn.CollectItem }, // Take Item Entity + { 0x7B, PacketTypesIn.EntityTeleport }, // Teleport Entity + { 0x7C, PacketTypesIn.TestInstanceBlockStatus }, // Test Instance Block Status + { 0x7D, PacketTypesIn.SetTickingState }, // Ticking State + { 0x7E, PacketTypesIn.StepTick }, // Ticking Step + { 0x7F, PacketTypesIn.Transfer }, // Transfer + { 0x80, PacketTypesIn.Advancements }, // Update Advancements + { 0x81, PacketTypesIn.EntityProperties }, // Update Attributes + { 0x82, PacketTypesIn.EntityEffect }, // Update Mob Effect + { 0x83, PacketTypesIn.DeclareRecipes }, // Update Recipes + { 0x84, PacketTypesIn.Tags }, // Update Tags + { 0x85, PacketTypesIn.ProjectilePower }, // Projectile Power + { 0x86, PacketTypesIn.CustomReportDetails }, // Custom Report Details + { 0x87, PacketTypesIn.ServerLinks }, // Server Links + { 0x88, PacketTypesIn.Waypoint }, // Waypoint + { 0x89, PacketTypesIn.ClearDialog }, // Clear Dialog + { 0x8A, PacketTypesIn.ShowDialog } // Show Dialog + }; + + private readonly Dictionary typeOut = new() + { + { 0x00, PacketTypesOut.TeleportConfirm }, // Accept Teleportation + { 0x01, PacketTypesOut.QueryBlockNBT }, // Block Entity Tag Query + { 0x02, PacketTypesOut.BundleItemSelected }, // Bundle Item Selected + { 0x03, PacketTypesOut.SetDifficulty }, // Change Difficulty + { 0x04, PacketTypesOut.ChangeGameMode }, // Change Game Mode + { 0x05, PacketTypesOut.MessageAcknowledgment }, // Chat Ack + { 0x06, PacketTypesOut.ChatCommand }, // Chat Command + { 0x07, PacketTypesOut.SignedChatCommand }, // Chat Command Signed + { 0x08, PacketTypesOut.ChatMessage }, // Chat + { 0x09, PacketTypesOut.PlayerSession }, // Chat Session Update + { 0x0A, PacketTypesOut.ChunkBatchReceived }, // Chunk Batch Received + { 0x0B, PacketTypesOut.ClientStatus }, // Client Command + { 0x0C, PacketTypesOut.ClientTickEnd }, // Client Tick End + { 0x0D, PacketTypesOut.ClientSettings }, // Client Information + { 0x0E, PacketTypesOut.TabComplete }, // Command Suggestion + { 0x0F, PacketTypesOut.AcknowledgeConfiguration }, // Configuration Acknowledged + { 0x10, PacketTypesOut.ClickWindowButton }, // Container Button Click + { 0x11, PacketTypesOut.ClickWindow }, // Container Click + { 0x12, PacketTypesOut.CloseWindow }, // Container Close + { 0x13, PacketTypesOut.ChangeContainerSlotState }, // Container Slot State Changed + { 0x14, PacketTypesOut.CookieResponse }, // Cookie Response + { 0x15, PacketTypesOut.PluginMessage }, // Custom Payload + { 0x16, PacketTypesOut.DebugSampleSubscription }, // Debug Subscription Request + { 0x17, PacketTypesOut.EditBook }, // Edit Book + { 0x18, PacketTypesOut.EntityNBTRequest }, // Entity Tag Query + { 0x19, PacketTypesOut.InteractEntity }, // Interact + { 0x1A, PacketTypesOut.GenerateStructure }, // Jigsaw Generate + { 0x1B, PacketTypesOut.KeepAlive }, // Keep Alive + { 0x1C, PacketTypesOut.LockDifficulty }, // Lock Difficulty + { 0x1D, PacketTypesOut.PlayerPosition }, // Move Player Pos + { 0x1E, PacketTypesOut.PlayerPositionAndRotation }, // Move Player Pos Rot + { 0x1F, PacketTypesOut.PlayerRotation }, // Move Player Rot + { 0x20, PacketTypesOut.PlayerMovement }, // Move Player Status Only + { 0x21, PacketTypesOut.VehicleMove }, // Move Vehicle + { 0x22, PacketTypesOut.SteerBoat }, // Paddle Boat + { 0x23, PacketTypesOut.PickItem }, // Pick Item From Block + { 0x24, PacketTypesOut.PickItemFromEntity }, // Pick Item From Entity + { 0x25, PacketTypesOut.PingRequest }, // Ping Request + { 0x26, PacketTypesOut.CraftRecipeRequest }, // Place Recipe + { 0x27, PacketTypesOut.PlayerAbilities }, // Player Abilities + { 0x28, PacketTypesOut.PlayerDigging }, // Player Action + { 0x29, PacketTypesOut.EntityAction }, // Player Command + { 0x2A, PacketTypesOut.SteerVehicle }, // Player Input + { 0x2B, PacketTypesOut.PlayerLoaded }, // Player Loaded + { 0x2C, PacketTypesOut.Pong }, // Pong + { 0x2D, PacketTypesOut.SetDisplayedRecipe }, // Recipe Book Change Settings + { 0x2E, PacketTypesOut.SetRecipeBookState }, // Recipe Book Seen Recipe + { 0x2F, PacketTypesOut.NameItem }, // Rename Item + { 0x30, PacketTypesOut.ResourcePackStatus }, // Resource Pack + { 0x31, PacketTypesOut.AdvancementTab }, // Seen Advancements + { 0x32, PacketTypesOut.SelectTrade }, // Select Trade + { 0x33, PacketTypesOut.SetBeaconEffect }, // Set Beacon + { 0x34, PacketTypesOut.HeldItemChange }, // Set Carried Item + { 0x35, PacketTypesOut.UpdateCommandBlock }, // Set Command Block + { 0x36, PacketTypesOut.UpdateCommandBlockMinecart }, // Set Command Minecart + { 0x37, PacketTypesOut.CreativeInventoryAction }, // Set Creative Mode Slot + { 0x38, PacketTypesOut.UpdateJigsawBlock }, // Set Jigsaw Block + { 0x39, PacketTypesOut.UpdateStructureBlock }, // Set Structure Block + { 0x3A, PacketTypesOut.SetTestBlock }, // Set Test Block + { 0x3B, PacketTypesOut.UpdateSign }, // Sign Update + { 0x3C, PacketTypesOut.Animation }, // Swing + { 0x3D, PacketTypesOut.Spectate }, // Teleport To Entity + { 0x3E, PacketTypesOut.TestInstanceBlockAction }, // Test Instance Block Action + { 0x3F, PacketTypesOut.PlayerBlockPlacement }, // Use Item On + { 0x40, PacketTypesOut.UseItem }, // Use Item + { 0x41, PacketTypesOut.CustomClickAction } // Custom Click Action + }; + + private readonly Dictionary configurationTypesIn = new() + { + { 0x00, ConfigurationPacketTypesIn.CookieRequest }, + { 0x01, ConfigurationPacketTypesIn.PluginMessage }, + { 0x02, ConfigurationPacketTypesIn.Disconnect }, + { 0x03, ConfigurationPacketTypesIn.FinishConfiguration }, + { 0x04, ConfigurationPacketTypesIn.KeepAlive }, + { 0x05, ConfigurationPacketTypesIn.Ping }, + { 0x06, ConfigurationPacketTypesIn.ResetChat }, + { 0x07, ConfigurationPacketTypesIn.RegistryData }, + { 0x08, ConfigurationPacketTypesIn.RemoveResourcePack }, + { 0x09, ConfigurationPacketTypesIn.ResourcePack }, + { 0x0A, ConfigurationPacketTypesIn.StoreCookie }, + { 0x0B, ConfigurationPacketTypesIn.Transfer }, + { 0x0C, ConfigurationPacketTypesIn.FeatureFlags }, + { 0x0D, ConfigurationPacketTypesIn.UpdateTags }, + { 0x0E, ConfigurationPacketTypesIn.KnownDataPacks }, + { 0x0F, ConfigurationPacketTypesIn.CustomReportDetails }, + { 0x10, ConfigurationPacketTypesIn.ServerLinks }, + { 0x11, ConfigurationPacketTypesIn.ClearDialog }, + { 0x12, ConfigurationPacketTypesIn.ShowDialog }, + { 0x13, ConfigurationPacketTypesIn.CodeOfConduct } // New in 1.21.9 + }; + + private readonly Dictionary configurationTypesOut = new() + { + { 0x00, ConfigurationPacketTypesOut.ClientInformation }, + { 0x01, ConfigurationPacketTypesOut.CookieResponse }, + { 0x02, ConfigurationPacketTypesOut.PluginMessage }, + { 0x03, ConfigurationPacketTypesOut.FinishConfiguration }, + { 0x04, ConfigurationPacketTypesOut.KeepAlive }, + { 0x05, ConfigurationPacketTypesOut.Pong }, + { 0x06, ConfigurationPacketTypesOut.ResourcePackResponse }, + { 0x07, ConfigurationPacketTypesOut.KnownDataPacks }, + { 0x08, ConfigurationPacketTypesOut.CustomClickAction }, + { 0x09, ConfigurationPacketTypesOut.AcceptCodeOfConduct } // New in 1.21.9 + }; + + protected override Dictionary GetListIn() => typeIn; + protected override Dictionary GetListOut() => typeOut; + protected override Dictionary GetConfigurationListIn() => configurationTypesIn!; + protected override Dictionary GetConfigurationListOut() => configurationTypesOut!; + } diff --git a/tools/gen_entity_metadata_palette.py b/tools/gen_entity_metadata_palette.py index 260fe722..74932bc2 100644 --- a/tools/gen_entity_metadata_palette.py +++ b/tools/gen_entity_metadata_palette.py @@ -57,8 +57,11 @@ FIELD_TO_ENUM = { "PAINTING_VARIANT": "PaintingVariant", "SNIFFER_STATE": "SnifferState", "ARMADILLO_STATE": "ArmadilloState", + "COPPER_GOLEM_STATE": "CopperGolemState", + "WEATHERING_COPPER_STATE": "WeatheringCopperState", "VECTOR3": "Vector3", "QUATERNION": "Quaternion", + "RESOLVABLE_PROFILE": "ResolvableProfile", }