Added Entity, Item and Block palletes for 1.17/1 and 1.18/1. Added pallete generators as a command line option. Fixed a minor warning with AttackBot

This commit is contained in:
Dusan Milutinovic 2022-02-13 01:10:10 +01:00
parent 6986902938
commit 61a682a69b
16 changed files with 4488 additions and 72 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -14,7 +14,7 @@ namespace MinecraftClient.Inventory
{
Unknown = -2, // Unsupported item type (Forge mod custom item...)
Null = -1, // Unspecified item type (Used in the network protocol)
AcaciaBoat,
AcaciaButton,
AcaciaDoor,
@ -33,6 +33,9 @@ namespace MinecraftClient.Inventory
ActivatorRail,
Air,
Allium,
AmethystBlock,
AmethystCluster,
AmethystShard,
AncientDebris,
Andesite,
AndesiteSlab,
@ -42,6 +45,10 @@ namespace MinecraftClient.Inventory
Apple,
ArmorStand,
Arrow,
AxolotlBucket,
AxolotlSpawnEgg,
Azalea,
AzaleaLeaves,
AzureBluet,
BakedPotato,
Bamboo,
@ -51,14 +58,15 @@ namespace MinecraftClient.Inventory
BatSpawnEgg,
Beacon,
Bedrock,
Beef,
Beehive,
BeeNest,
BeeSpawnEgg,
Beef,
Beehive,
Beetroot,
BeetrootSeeds,
BeetrootSoup,
Bell,
BigDripleaf,
BirchBoat,
BirchButton,
BirchDoor,
@ -76,6 +84,7 @@ namespace MinecraftClient.Inventory
BirchWood,
BlackBanner,
BlackBed,
BlackCandle,
BlackCarpet,
BlackConcrete,
BlackConcretePowder,
@ -84,18 +93,19 @@ namespace MinecraftClient.Inventory
BlackShulkerBox,
BlackStainedGlass,
BlackStainedGlassPane,
BlackTerracotta,
BlackWool,
Blackstone,
BlackstoneSlab,
BlackstoneStairs,
BlackstoneWall,
BlackTerracotta,
BlackWool,
BlastFurnace,
BlazePowder,
BlazeRod,
BlazeSpawnEgg,
BlueBanner,
BlueBed,
BlueCandle,
BlueCarpet,
BlueConcrete,
BlueConcretePowder,
@ -121,12 +131,13 @@ namespace MinecraftClient.Inventory
Bread,
BrewingStand,
Brick,
Bricks,
BrickSlab,
BrickStairs,
BrickWall,
Bricks,
BrownBanner,
BrownBed,
BrownCandle,
BrownCarpet,
BrownConcrete,
BrownConcretePowder,
@ -143,9 +154,13 @@ namespace MinecraftClient.Inventory
BubbleCoralBlock,
BubbleCoralFan,
Bucket,
BuddingAmethyst,
Bundle,
Cactus,
Cake,
Calcite,
Campfire,
Candle,
Carrot,
CarrotOnAStick,
CartographyTable,
@ -165,6 +180,7 @@ namespace MinecraftClient.Inventory
Chicken,
ChickenSpawnEgg,
ChippedAnvil,
ChiseledDeepslate,
ChiseledNetherBricks,
ChiseledPolishedBlackstone,
ChiseledQuartzBlock,
@ -181,6 +197,10 @@ namespace MinecraftClient.Inventory
CoalBlock,
CoalOre,
CoarseDirt,
CobbledDeepslate,
CobbledDeepslateSlab,
CobbledDeepslateStairs,
CobbledDeepslateWall,
Cobblestone,
CobblestoneSlab,
CobblestoneStairs,
@ -204,8 +224,13 @@ namespace MinecraftClient.Inventory
CookedRabbit,
CookedSalmon,
Cookie,
CopperBlock,
CopperIngot,
CopperOre,
Cornflower,
CowSpawnEgg,
CrackedDeepslateBricks,
CrackedDeepslateTiles,
CrackedNetherBricks,
CrackedPolishedBlackstoneBricks,
CrackedStoneBricks,
@ -230,12 +255,16 @@ namespace MinecraftClient.Inventory
CrimsonTrapdoor,
Crossbow,
CryingObsidian,
CutCopper,
CutCopperSlab,
CutCopperStairs,
CutRedSandstone,
CutRedSandstoneSlab,
CutSandstone,
CutSandstoneSlab,
CyanBanner,
CyanBed,
CyanCandle,
CyanCarpet,
CyanConcrete,
CyanConcretePowder,
@ -284,6 +313,23 @@ namespace MinecraftClient.Inventory
DeadTubeCoralBlock,
DeadTubeCoralFan,
DebugStick,
Deepslate,
DeepslateBrickSlab,
DeepslateBrickStairs,
DeepslateBrickWall,
DeepslateBricks,
DeepslateCoalOre,
DeepslateCopperOre,
DeepslateDiamondOre,
DeepslateEmeraldOre,
DeepslateGoldOre,
DeepslateIronOre,
DeepslateLapisOre,
DeepslateRedstoneOre,
DeepslateTileSlab,
DeepslateTileStairs,
DeepslateTileWall,
DeepslateTiles,
DetectorRail,
Diamond,
DiamondAxe,
@ -311,6 +357,7 @@ namespace MinecraftClient.Inventory
DragonHead,
DriedKelp,
DriedKelpBlock,
DripstoneBlock,
Dropper,
DrownedSpawnEgg,
Egg,
@ -323,20 +370,24 @@ namespace MinecraftClient.Inventory
EnchantedGoldenApple,
EnchantingTable,
EndCrystal,
EnderChest,
EnderEye,
EndermanSpawnEgg,
EndermiteSpawnEgg,
EnderPearl,
EndPortalFrame,
EndRod,
EndStone,
EndStoneBricks,
EndStoneBrickSlab,
EndStoneBrickStairs,
EndStoneBrickWall,
EndStoneBricks,
EnderChest,
EnderEye,
EnderPearl,
EndermanSpawnEgg,
EndermiteSpawnEgg,
EvokerSpawnEgg,
ExperienceBottle,
ExposedCopper,
ExposedCutCopper,
ExposedCutCopperSlab,
ExposedCutCopperStairs,
Farmland,
Feather,
FermentedSpiderEye,
@ -354,6 +405,8 @@ namespace MinecraftClient.Inventory
FlintAndSteel,
FlowerBannerPattern,
FlowerPot,
FloweringAzalea,
FloweringAzaleaLeaves,
FoxSpawnEgg,
Furnace,
FurnaceMinecart,
@ -365,9 +418,18 @@ namespace MinecraftClient.Inventory
GlassPane,
GlisteringMelonSlice,
GlobeBannerPattern,
GlowBerries,
GlowInkSac,
GlowItemFrame,
GlowLichen,
GlowSquidSpawnEgg,
Glowstone,
GlowstoneDust,
GoatSpawnEgg,
GoldBlock,
GoldIngot,
GoldNugget,
GoldOre,
GoldenApple,
GoldenAxe,
GoldenBoots,
@ -380,9 +442,6 @@ namespace MinecraftClient.Inventory
GoldenPickaxe,
GoldenShovel,
GoldenSword,
GoldIngot,
GoldNugget,
GoldOre,
Granite,
GraniteSlab,
GraniteStairs,
@ -393,6 +452,7 @@ namespace MinecraftClient.Inventory
Gravel,
GrayBanner,
GrayBed,
GrayCandle,
GrayCarpet,
GrayConcrete,
GrayConcretePowder,
@ -405,6 +465,7 @@ namespace MinecraftClient.Inventory
GrayWool,
GreenBanner,
GreenBed,
GreenCandle,
GreenCarpet,
GreenConcrete,
GreenConcretePowder,
@ -418,6 +479,7 @@ namespace MinecraftClient.Inventory
Grindstone,
GuardianSpawnEgg,
Gunpowder,
HangingRoots,
HayBlock,
HeartOfTheSea,
HeavyWeightedPressurePlate,
@ -437,6 +499,7 @@ namespace MinecraftClient.Inventory
InfestedChiseledStoneBricks,
InfestedCobblestone,
InfestedCrackedStoneBricks,
InfestedDeepslate,
InfestedMossyStoneBricks,
InfestedStone,
InfestedStoneBricks,
@ -484,6 +547,7 @@ namespace MinecraftClient.Inventory
LapisBlock,
LapisLazuli,
LapisOre,
LargeAmethystBud,
LargeFern,
LavaBucket,
Lead,
@ -495,8 +559,10 @@ namespace MinecraftClient.Inventory
LeatherLeggings,
Lectern,
Lever,
Light,
LightBlueBanner,
LightBlueBed,
LightBlueCandle,
LightBlueCarpet,
LightBlueConcrete,
LightBlueConcretePowder,
@ -509,6 +575,7 @@ namespace MinecraftClient.Inventory
LightBlueWool,
LightGrayBanner,
LightGrayBed,
LightGrayCandle,
LightGrayCarpet,
LightGrayConcrete,
LightGrayConcretePowder,
@ -520,11 +587,13 @@ namespace MinecraftClient.Inventory
LightGrayTerracotta,
LightGrayWool,
LightWeightedPressurePlate,
LightningRod,
Lilac,
LilyOfTheValley,
LilyPad,
LimeBanner,
LimeBed,
LimeCandle,
LimeCarpet,
LimeConcrete,
LimeConcretePowder,
@ -541,6 +610,7 @@ namespace MinecraftClient.Inventory
Loom,
MagentaBanner,
MagentaBed,
MagentaCandle,
MagentaCarpet,
MagentaConcrete,
MagentaConcretePowder,
@ -555,6 +625,7 @@ namespace MinecraftClient.Inventory
MagmaCream,
MagmaCubeSpawnEgg,
Map,
MediumAmethystBud,
Melon,
MelonSeeds,
MelonSlice,
@ -562,14 +633,16 @@ namespace MinecraftClient.Inventory
Minecart,
MojangBannerPattern,
MooshroomSpawnEgg,
MossBlock,
MossCarpet,
MossyCobblestone,
MossyCobblestoneSlab,
MossyCobblestoneStairs,
MossyCobblestoneWall,
MossyStoneBricks,
MossyStoneBrickSlab,
MossyStoneBrickStairs,
MossyStoneBrickWall,
MossyStoneBricks,
MuleSpawnEgg,
MushroomStem,
MushroomStew,
@ -581,6 +654,7 @@ namespace MinecraftClient.Inventory
MusicDiscFar,
MusicDiscMall,
MusicDiscMellohi,
MusicDiscOtherside,
MusicDiscPigstep,
MusicDiscStal,
MusicDiscStrad,
@ -592,11 +666,16 @@ namespace MinecraftClient.Inventory
NautilusShell,
NetherBrick,
NetherBrickFence,
NetherBricks,
NetherBrickSlab,
NetherBrickStairs,
NetherBrickWall,
NetherBricks,
NetherGoldOre,
NetherQuartzOre,
NetherSprouts,
NetherStar,
NetherWart,
NetherWartBlock,
NetheriteAxe,
NetheriteBlock,
NetheriteBoots,
@ -609,12 +688,7 @@ namespace MinecraftClient.Inventory
NetheriteScrap,
NetheriteShovel,
NetheriteSword,
NetherQuartzOre,
Netherrack,
NetherSprouts,
NetherStar,
NetherWart,
NetherWartBlock,
NoteBlock,
OakBoat,
OakButton,
@ -636,6 +710,7 @@ namespace MinecraftClient.Inventory
OcelotSpawnEgg,
OrangeBanner,
OrangeBed,
OrangeCandle,
OrangeCarpet,
OrangeConcrete,
OrangeConcretePowder,
@ -648,6 +723,10 @@ namespace MinecraftClient.Inventory
OrangeTulip,
OrangeWool,
OxeyeDaisy,
OxidizedCopper,
OxidizedCutCopper,
OxidizedCutCopperSlab,
OxidizedCutCopperStairs,
PackedIce,
Painting,
PandaSpawnEgg,
@ -657,13 +736,14 @@ namespace MinecraftClient.Inventory
PetrifiedOakSlab,
PhantomMembrane,
PhantomSpawnEgg,
PigSpawnEgg,
PiglinBannerPattern,
PiglinBruteSpawnEgg,
PiglinSpawnEgg,
PigSpawnEgg,
PillagerSpawnEgg,
PinkBanner,
PinkBed,
PinkCandle,
PinkCarpet,
PinkConcrete,
PinkConcretePowder,
@ -678,6 +758,7 @@ namespace MinecraftClient.Inventory
Piston,
PlayerHead,
Podzol,
PointedDripstone,
PoisonousPotato,
PolarBearSpawnEgg,
PolishedAndesite,
@ -685,15 +766,19 @@ namespace MinecraftClient.Inventory
PolishedAndesiteStairs,
PolishedBasalt,
PolishedBlackstone,
PolishedBlackstoneBricks,
PolishedBlackstoneBrickSlab,
PolishedBlackstoneBrickStairs,
PolishedBlackstoneBrickWall,
PolishedBlackstoneBricks,
PolishedBlackstoneButton,
PolishedBlackstonePressurePlate,
PolishedBlackstoneSlab,
PolishedBlackstoneStairs,
PolishedBlackstoneWall,
PolishedDeepslate,
PolishedDeepslateSlab,
PolishedDeepslateStairs,
PolishedDeepslateWall,
PolishedDiorite,
PolishedDioriteSlab,
PolishedDioriteStairs,
@ -705,11 +790,12 @@ namespace MinecraftClient.Inventory
Porkchop,
Potato,
Potion,
PowderSnowBucket,
PoweredRail,
Prismarine,
PrismarineBricks,
PrismarineBrickSlab,
PrismarineBrickStairs,
PrismarineBricks,
PrismarineCrystals,
PrismarineShard,
PrismarineSlab,
@ -723,6 +809,7 @@ namespace MinecraftClient.Inventory
PumpkinSeeds,
PurpleBanner,
PurpleBed,
PurpleCandle,
PurpleCarpet,
PurpleConcrete,
PurpleConcretePowder,
@ -750,8 +837,15 @@ namespace MinecraftClient.Inventory
RabbitStew,
Rail,
RavagerSpawnEgg,
RawCopper,
RawCopperBlock,
RawGold,
RawGoldBlock,
RawIron,
RawIronBlock,
RedBanner,
RedBed,
RedCandle,
RedCarpet,
RedConcrete,
RedConcretePowder,
@ -759,10 +853,10 @@ namespace MinecraftClient.Inventory
RedGlazedTerracotta,
RedMushroom,
RedMushroomBlock,
RedNetherBricks,
RedNetherBrickSlab,
RedNetherBrickStairs,
RedNetherBrickWall,
RedNetherBricks,
RedSand,
RedSandstone,
RedSandstoneSlab,
@ -771,17 +865,18 @@ namespace MinecraftClient.Inventory
RedShulkerBox,
RedStainedGlass,
RedStainedGlassPane,
RedTerracotta,
RedTulip,
RedWool,
Redstone,
RedstoneBlock,
RedstoneLamp,
RedstoneOre,
RedstoneTorch,
RedTerracotta,
RedTulip,
RedWool,
Repeater,
RepeatingCommandBlock,
RespawnAnchor,
RootedDirt,
RoseBush,
RottenFlesh,
Saddle,
@ -794,10 +889,11 @@ namespace MinecraftClient.Inventory
SandstoneStairs,
SandstoneWall,
Scaffolding,
SculkSensor,
Scute,
Seagrass,
SeaLantern,
SeaPickle,
Seagrass,
Shears,
SheepSpawnEgg,
Shield,
@ -813,8 +909,11 @@ namespace MinecraftClient.Inventory
SlimeBall,
SlimeBlock,
SlimeSpawnEgg,
SmallAmethystBud,
SmallDripleaf,
SmithingTable,
Smoker,
SmoothBasalt,
SmoothQuartz,
SmoothQuartzSlab,
SmoothQuartzStairs,
@ -827,8 +926,8 @@ namespace MinecraftClient.Inventory
SmoothStone,
SmoothStoneSlab,
Snow,
Snowball,
SnowBlock,
Snowball,
SoulCampfire,
SoulLantern,
SoulSand,
@ -840,6 +939,7 @@ namespace MinecraftClient.Inventory
SpiderSpawnEgg,
SplashPotion,
Sponge,
SporeBlossom,
SpruceBoat,
SpruceButton,
SpruceDoor,
@ -855,17 +955,17 @@ namespace MinecraftClient.Inventory
SpruceStairs,
SpruceTrapdoor,
SpruceWood,
Spyglass,
SquidSpawnEgg,
Stick,
StickyPiston,
Stone,
StoneAxe,
StoneBricks,
StoneBrickSlab,
StoneBrickStairs,
StoneBrickWall,
StoneBricks,
StoneButton,
Stonecutter,
StoneHoe,
StonePickaxe,
StonePressurePlate,
@ -873,6 +973,7 @@ namespace MinecraftClient.Inventory
StoneSlab,
StoneStairs,
StoneSword,
Stonecutter,
StraySpawnEgg,
StriderSpawnEgg,
String,
@ -902,6 +1003,7 @@ namespace MinecraftClient.Inventory
TallGrass,
Target,
Terracotta,
TintedGlass,
TippedArrow,
Tnt,
TntMinecart,
@ -917,6 +1019,7 @@ namespace MinecraftClient.Inventory
TubeCoral,
TubeCoralBlock,
TubeCoralFan,
Tuff,
TurtleEgg,
TurtleHelmet,
TurtleSpawnEgg,
@ -944,12 +1047,33 @@ namespace MinecraftClient.Inventory
WarpedTrapdoor,
WarpedWartBlock,
WaterBucket,
WaxedCopperBlock,
WaxedCutCopper,
WaxedCutCopperSlab,
WaxedCutCopperStairs,
WaxedExposedCopper,
WaxedExposedCutCopper,
WaxedExposedCutCopperSlab,
WaxedExposedCutCopperStairs,
WaxedOxidizedCopper,
WaxedOxidizedCutCopper,
WaxedOxidizedCutCopperSlab,
WaxedOxidizedCutCopperStairs,
WaxedWeatheredCopper,
WaxedWeatheredCutCopper,
WaxedWeatheredCutCopperSlab,
WaxedWeatheredCutCopperStairs,
WeatheredCopper,
WeatheredCutCopper,
WeatheredCutCopperSlab,
WeatheredCutCopperStairs,
WeepingVines,
WetSponge,
Wheat,
WheatSeeds,
WhiteBanner,
WhiteBed,
WhiteCandle,
WhiteCarpet,
WhiteConcrete,
WhiteConcretePowder,
@ -975,6 +1099,7 @@ namespace MinecraftClient.Inventory
WrittenBook,
YellowBanner,
YellowBed,
YellowCandle,
YellowCarpet,
YellowConcrete,
YellowConcretePowder,
@ -990,6 +1115,6 @@ namespace MinecraftClient.Inventory
ZombieHorseSpawnEgg,
ZombieSpawnEgg,
ZombieVillagerSpawnEgg,
ZombifiedPiglinSpawnEgg,
ZombifiedPiglinSpawnEgg
}
}

View file

@ -50,11 +50,13 @@ namespace MinecraftClient.Inventory
ItemType[] t =
{
ItemType.AcaciaBoat,
ItemType.AxolotlBucket,
ItemType.BirchBoat,
ItemType.BlackBed,
ItemType.BlackShulkerBox,
ItemType.BlueBed,
ItemType.BlueShulkerBox,
ItemType.Bundle,
ItemType.Bow,
ItemType.BrownBed,
ItemType.BrownShulkerBox,
@ -142,6 +144,7 @@ namespace MinecraftClient.Inventory
ItemType.MusicDiscFar,
ItemType.MusicDiscMall,
ItemType.MusicDiscMellohi,
ItemType.MusicDiscOtherside,
ItemType.MusicDiscStal,
ItemType.MusicDiscStrad,
ItemType.MusicDiscWait,
@ -152,6 +155,7 @@ namespace MinecraftClient.Inventory
ItemType.PinkBed,
ItemType.PinkShulkerBox,
ItemType.Potion,
ItemType.PowderSnowBucket,
ItemType.PufferfishBucket,
ItemType.PurpleBed,
ItemType.PurpleShulkerBox,
@ -166,6 +170,7 @@ namespace MinecraftClient.Inventory
ItemType.SkullBannerPattern,
ItemType.SplashPotion,
ItemType.SpruceBoat,
ItemType.Spyglass,
ItemType.StoneAxe,
ItemType.StoneHoe,
ItemType.StonePickaxe,