Skip to content

Commit

Permalink
Sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickid2018 committed Sep 5, 2024
1 parent fd0b2f6 commit b9b82de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit b9b82de

Please sign in to comment.