mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-23 16:39:22 +00:00
fix datapack dump + change target location
This commit is contained in:
@@ -759,6 +759,7 @@ public class NMSBinding implements INMSBinding {
|
||||
return registry
|
||||
.registryKeySet()
|
||||
.stream()
|
||||
.filter(id -> !id.location().getNamespace().equals("minecraft"))
|
||||
.collect(Collectors.toMap(ResourceKey::location, id -> encode(codec, registry.get(id)).orElse(JsonNull.INSTANCE)));
|
||||
} finally {
|
||||
changedRegistries.put(registryKey, false);
|
||||
|
||||
@@ -802,6 +802,7 @@ public class NMSBinding implements INMSBinding {
|
||||
return registry
|
||||
.registryKeySet()
|
||||
.stream()
|
||||
.filter(id -> !id.location().getNamespace().equals("minecraft"))
|
||||
.collect(Collectors.toMap(ResourceKey::location, id -> encode(codec, registry.get(id)).orElse(JsonNull.INSTANCE)));
|
||||
} finally {
|
||||
changedRegistries.put(registryKey, false);
|
||||
|
||||
@@ -806,6 +806,7 @@ public class NMSBinding implements INMSBinding {
|
||||
return registry
|
||||
.registryKeySet()
|
||||
.stream()
|
||||
.filter(id -> !id.location().getNamespace().equals("minecraft"))
|
||||
.collect(Collectors.toMap(ResourceKey::location, id -> encode(codec, registry.get(id)).orElse(JsonNull.INSTANCE)));
|
||||
} finally {
|
||||
changedRegistries.put(registryKey, false);
|
||||
|
||||
@@ -804,6 +804,7 @@ public class NMSBinding implements INMSBinding {
|
||||
return registry
|
||||
.registryKeySet()
|
||||
.stream()
|
||||
.filter(id -> !id.location().getNamespace().equals("minecraft"))
|
||||
.collect(Collectors.toMap(ResourceKey::location, id -> encode(codec, registry.get(id)).orElse(JsonNull.INSTANCE)));
|
||||
} finally {
|
||||
changedRegistries.put(registryKey, false);
|
||||
|
||||
@@ -810,6 +810,7 @@ public class NMSBinding implements INMSBinding {
|
||||
return registry
|
||||
.registryKeySet()
|
||||
.stream()
|
||||
.filter(id -> !id.location().getNamespace().equals("minecraft"))
|
||||
.collect(Collectors.toMap(ResourceKey::location, id -> encode(codec, registry.get(id)).orElse(JsonNull.INSTANCE)));
|
||||
} finally {
|
||||
changedRegistries.put(registryKey, false);
|
||||
|
||||
@@ -817,6 +817,7 @@ public class NMSBinding implements INMSBinding {
|
||||
return registry
|
||||
.registryKeySet()
|
||||
.stream()
|
||||
.filter(id -> !id.location().getNamespace().equals("minecraft"))
|
||||
.collect(Collectors.toMap(ResourceKey::location, id -> encode(codec, registry.get(id)).orElse(JsonNull.INSTANCE)));
|
||||
} finally {
|
||||
changedRegistries.put(registryKey, false);
|
||||
|
||||
@@ -799,6 +799,7 @@ public class NMSBinding implements INMSBinding {
|
||||
return registry
|
||||
.registryKeySet()
|
||||
.stream()
|
||||
.filter(id -> !id.location().getNamespace().equals("minecraft"))
|
||||
.collect(Collectors.toMap(ResourceKey::location, id -> encode(codec, registry.get(id)).orElse(JsonNull.INSTANCE)));
|
||||
} finally {
|
||||
changedRegistries.put(registryKey, false);
|
||||
|
||||
Reference in New Issue
Block a user