From 654a64fb100f1a9f2e7547152630a394ab96c461 Mon Sep 17 00:00:00 2001 From: James Larrowe Date: Wed, 29 Nov 2023 21:56:18 -0500 Subject: [PATCH] Backport #258 to 1.20.1 This fix is pretty critical, affecting world generation and entity spawning in several mods. --- patches/minecraft/net/minecraft/tags/TagLoader.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/tags/TagLoader.java.patch b/patches/minecraft/net/minecraft/tags/TagLoader.java.patch index 486c31521a..51926bc9da 100644 --- a/patches/minecraft/net/minecraft/tags/TagLoader.java.patch +++ b/patches/minecraft/net/minecraft/tags/TagLoader.java.patch @@ -13,7 +13,7 @@ private Either, Collection> m_215978_(TagEntry.Lookup p_215979_, List p_215980_) { - ImmutableSet.Builder builder = ImmutableSet.builder(); -+ var builder = new java.util.HashSet(); ++ var builder = new java.util.LinkedHashSet(); // Set must retain insertion order, some tag consumers rely on this being the case (see NeoForge#256) List list = new ArrayList<>(); for(TagLoader.EntryWithSource tagloader$entrywithsource : p_215980_) {