You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MinecraftClient/Inventory/ItemType.cs
+56-6Lines changed: 56 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,10 @@
1
1
namespaceMinecraftClient.Inventory
2
2
{
3
3
/// <summary>
4
-
/// For MC version 1.16.2.
5
-
/// Generated using ItemPaletteGenerator.
4
+
/// Generated using the --generator flag on the client
6
5
/// Typical steps to handle new item IDs for newer Minecraft versions:
7
-
/// 1. Generate registries.json using data reporting on Vanilla Minecraft (https://wiki.vg/Data_Generators)
8
-
/// 2. Generate temporary ItemTypeXXX.cs and ItemPaletteXXX.cs using ItemPaletteGenerator.cs
6
+
/// 1. Generate registries.json using data reporting on Vanilla Minecraft (https://wiki.vg/Data_Generators) or download it from: https://github.com/PixiGeko/Minecraft-generated-data
7
+
/// 2. Generate temporary ItemTypeXXX.cs and ItemPaletteXXX.cs using the --generator flag on the client
9
8
/// 3. Perform a diff with existing versions, add missing entries in ItemType.cs and ItemTypeExtensions.cs
10
9
/// 4. If existing entity IDs were not randomized by Mojang, simply add missing entries to the latest existing ItemPaletteXXX.cs
11
10
/// 5. If existing entity IDs were randomized, add a new palette as ItemPaletteXXX.cs into the codebase
@@ -14,9 +13,10 @@ public enum ItemType
14
13
{
15
14
Unknown=-2,// Unsupported item type (Forge mod custom item...)
16
15
Null=-1,// Unspecified item type (Used in the network protocol)
0 commit comments