Skip to content

Commit

Permalink
Fully Implemented 1.20
Browse files Browse the repository at this point in the history
Fully Implemented 1.20
  • Loading branch information
milutinke authored Jun 8, 2023
2 parents b21f405 + ae7ce35 commit b631fcb
Show file tree
Hide file tree
Showing 14 changed files with 3,314 additions and 210 deletions.
8 changes: 4 additions & 4 deletions MinecraftClient/Inventory/ItemPalettes/ItemPalette1194.cs
Original file line number Diff line number Diff line change
Expand Up @@ -874,10 +874,10 @@ static ItemPalette1194()
mappings[837] = ItemType.Porkchop;
mappings[1048] = ItemType.Potato;
mappings[953] = ItemType.Potion;
mappings[1224] = ItemType.PotteryShardArcher;
mappings[1226] = ItemType.PotteryShardArmsUp;
mappings[1225] = ItemType.PotteryShardPrize;
mappings[1227] = ItemType.PotteryShardSkull;
mappings[1224] = ItemType.ArcherPotterySherd;
mappings[1226] = ItemType.ArmsUpPotterySherd;
mappings[1225] = ItemType.PrizePotterySherd;
mappings[1227] = ItemType.SkullPotterySherd;
mappings[867] = ItemType.PowderSnowBucket;
mappings[719] = ItemType.PoweredRail;
mappings[479] = ItemType.Prismarine;
Expand Down
1,273 changes: 1,273 additions & 0 deletions MinecraftClient/Inventory/ItemPalettes/ItemPalette120.cs

Large diffs are not rendered by default.

39 changes: 33 additions & 6 deletions MinecraftClient/Inventory/ItemType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
public enum ItemType
{
Unknown = -2, // Unsupported item type (Forge mod custom item...)
Null = -1, // Unspecified item type (Used in the network protocol)
Null = -1, // Unspecified item type (Used in the network protocol)

AcaciaBoat,
AcaciaButton,
Expand Down Expand Up @@ -43,9 +43,12 @@ public enum ItemType
AndesiteSlab,
AndesiteStairs,
AndesiteWall,
AnglerPotterySherd,
Anvil,
Apple,
ArcherPotterySherd,
ArmorStand,
ArmsUpPotterySherd,
Arrow,
AxolotlBucket,
AxolotlSpawnEgg,
Expand Down Expand Up @@ -120,6 +123,7 @@ public enum ItemType
BlackstoneSlab,
BlackstoneStairs,
BlackstoneWall,
BladePotterySherd,
BlastFurnace,
BlazePowder,
BlazeRod,
Expand Down Expand Up @@ -150,6 +154,7 @@ public enum ItemType
BrainCoralBlock,
BrainCoralFan,
Bread,
BrewerPotterySherd,
BrewingStand,
Brick,
BrickSlab,
Expand Down Expand Up @@ -178,9 +183,11 @@ public enum ItemType
Bucket,
BuddingAmethyst,
Bundle,
BurnPotterySherd,
Cactus,
Cake,
Calcite,
CalibratedSculkSensor,
CamelSpawnEgg,
Campfire,
Candle,
Expand Down Expand Up @@ -320,6 +327,7 @@ public enum ItemType
CyanWool,
DamagedAnvil,
Dandelion,
DangerPotterySherd,
DarkOakBoat,
DarkOakButton,
DarkOakChestBoat,
Expand Down Expand Up @@ -435,6 +443,7 @@ public enum ItemType
EndermiteSpawnEgg,
EvokerSpawnEgg,
ExperienceBottle,
ExplorerPotterySherd,
ExposedCopper,
ExposedCutCopper,
ExposedCutCopperSlab,
Expand All @@ -460,6 +469,7 @@ public enum ItemType
FloweringAzalea,
FloweringAzaleaLeaves,
FoxSpawnEgg,
FriendPotterySherd,
FrogSpawnEgg,
Frogspawn,
Furnace,
Expand Down Expand Up @@ -536,6 +546,8 @@ public enum ItemType
HangingRoots,
HayBlock,
HeartOfTheSea,
HeartPotterySherd,
HeartbreakPotterySherd,
HeavyWeightedPressurePlate,
HoglinSpawnEgg,
HoneyBlock,
Expand All @@ -548,6 +560,8 @@ public enum ItemType
HornCoralBlock,
HornCoralFan,
HorseSpawnEgg,
HostArmorTrimSmithingTemplate,
HowlPotterySherd,
HuskSpawnEgg,
Ice,
InfestedChiseledStoneBricks,
Expand Down Expand Up @@ -706,6 +720,7 @@ public enum ItemType
MelonSlice,
MilkBucket,
Minecart,
MinerPotterySherd,
MojangBannerPattern,
MooshroomSpawnEgg,
MossBlock,
Expand All @@ -718,6 +733,7 @@ public enum ItemType
MossyStoneBrickStairs,
MossyStoneBrickWall,
MossyStoneBricks,
MournerPotterySherd,
Mud,
MudBrickSlab,
MudBrickStairs,
Expand All @@ -738,6 +754,7 @@ public enum ItemType
MusicDiscMellohi,
MusicDiscOtherside,
MusicDiscPigstep,
MusicDiscRelic,
MusicDiscStal,
MusicDiscStrad,
MusicDiscWait,
Expand Down Expand Up @@ -846,7 +863,10 @@ public enum ItemType
PinkTulip,
PinkWool,
Piston,
PitcherPlant,
PitcherPod,
PlayerHead,
PlentyPotterySherd,
Podzol,
PointedDripstone,
PoisonousPotato,
Expand Down Expand Up @@ -880,10 +900,6 @@ public enum ItemType
Porkchop,
Potato,
Potion,
PotteryShardArcher,
PotteryShardArmsUp,
PotteryShardPrize,
PotteryShardSkull,
PowderSnowBucket,
PoweredRail,
Prismarine,
Expand All @@ -895,6 +911,7 @@ public enum ItemType
PrismarineSlab,
PrismarineStairs,
PrismarineWall,
PrizePotterySherd,
Pufferfish,
PufferfishBucket,
PufferfishSpawnEgg,
Expand Down Expand Up @@ -930,6 +947,7 @@ public enum ItemType
RabbitSpawnEgg,
RabbitStew,
Rail,
RaiserArmorTrimSmithingTemplate,
RavagerSpawnEgg,
RawCopper,
RawCopperBlock,
Expand Down Expand Up @@ -996,18 +1014,23 @@ public enum ItemType
SeaPickle,
Seagrass,
SentryArmorTrimSmithingTemplate,
ShaperArmorTrimSmithingTemplate,
SheafPotterySherd,
Shears,
SheepSpawnEgg,
ShelterPotterySherd,
Shield,
Shroomlight,
ShulkerBox,
ShulkerShell,
ShulkerSpawnEgg,
SilenceArmorTrimSmithingTemplate,
SilverfishSpawnEgg,
SkeletonHorseSpawnEgg,
SkeletonSkull,
SkeletonSpawnEgg,
SkullBannerPattern,
SkullPotterySherd,
SlimeBall,
SlimeBlock,
SlimeSpawnEgg,
Expand All @@ -1027,7 +1050,9 @@ public enum ItemType
SmoothSandstoneStairs,
SmoothStone,
SmoothStoneSlab,
SnifferEgg,
SnifferSpawnEgg,
SnortPotterySherd,
SnoutArmorTrimSmithingTemplate,
Snow,
SnowBlock,
Expand Down Expand Up @@ -1111,6 +1136,7 @@ public enum ItemType
Sugar,
SugarCane,
Sunflower,
SuspiciousGravel,
SuspiciousSand,
SuspiciousStew,
SweetBerries,
Expand Down Expand Up @@ -1187,6 +1213,7 @@ public enum ItemType
WaxedWeatheredCutCopper,
WaxedWeatheredCutCopperSlab,
WaxedWeatheredCutCopperStairs,
WayfinderArmorTrimSmithingTemplate,
WeatheredCopper,
WeatheredCutCopper,
WeatheredCutCopperSlab,
Expand Down Expand Up @@ -1243,4 +1270,4 @@ public enum ItemType
ZombieVillagerSpawnEgg,
ZombifiedPiglinSpawnEgg,
}
}
}
Loading

0 comments on commit b631fcb

Please sign in to comment.