diff --git a/src/main/java/io/github/nickid2018/genwiki/autovalue/EnchantmentDataExtractor.java b/src/main/java/io/github/nickid2018/genwiki/autovalue/EnchantmentDataExtractor.java index ee62002..bd15a12 100644 --- a/src/main/java/io/github/nickid2018/genwiki/autovalue/EnchantmentDataExtractor.java +++ b/src/main/java/io/github/nickid2018/genwiki/autovalue/EnchantmentDataExtractor.java @@ -80,6 +80,7 @@ public static void extractEnchantmentData(MinecraftServer server) { ENCHANTMENT_PRIMARY_ITEMS.put(name, new ArrayList<>()); ENCHANTMENT_SUPPORT_ITEMS.sort(name); ENCHANTMENT_PRIMARY_ITEMS.sort(name); + ENCHANTMENT_INCOMPATIBLE.sort(name); } WikiData.write(ENCHANTMENT_WEIGHT, "enchantment_weight.txt"); diff --git a/src/main/java/io/github/nickid2018/genwiki/autovalue/ItemDataExtractor.java b/src/main/java/io/github/nickid2018/genwiki/autovalue/ItemDataExtractor.java index 98ec998..0e2781d 100644 --- a/src/main/java/io/github/nickid2018/genwiki/autovalue/ItemDataExtractor.java +++ b/src/main/java/io/github/nickid2018/genwiki/autovalue/ItemDataExtractor.java @@ -79,6 +79,7 @@ public static void extractItemData(MinecraftServer serverObj) { String itemID = itemKey.location().getPath(); if (!CREATIVE_MODE_TABS.hasKey(itemID)) CREATIVE_MODE_TABS.put(itemID, List.of()); + CREATIVE_MODE_TABS.sort(itemID); } WikiData.write(MAX_STACK_SIZE, "item_max_stack_size.txt");