Skip to content

Commit 6465ca1

Browse files
committed
item/block tags follow registration order
1 parent d679197 commit 6465ca1

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/main/java/aztech/modern_industrialization/datagen/tag/MIBlockTagProvider.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ protected void addTags(HolderLookup.Provider provider) {
6363
boolean optional = TagsToGenerate.optionalTags.contains(entry.getKey());
6464
var items = entry.getValue().stream()
6565
.map(ItemLike::asItem)
66-
.sorted(Comparator.comparing(BuiltInRegistries.ITEM::getKey))
6766
.toList();
6867
for (var item : items) {
6968
var itemKey = BuiltInRegistries.ITEM.getKey(item);

src/main/java/aztech/modern_industrialization/datagen/tag/MIItemTagProvider.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ protected void addTags(HolderLookup.Provider provider) {
6666
boolean optional = TagsToGenerate.optionalTags.contains(entry.getKey());
6767
var items = entry.getValue().stream()
6868
.map(ItemLike::asItem)
69-
.sorted(Comparator.comparing(BuiltInRegistries.ITEM::getKey))
7069
.toList();
7170
for (var item : items) {
7271
if (optional) {

0 commit comments

Comments
 (0)