This is an early display window system for forge. (#9558)

This commit is contained in:
cpw authored and GitHub committed 2023-06-19 13:01:45 +02:00
1 parent 551feaf019
commit 031d008826
76 files changed
+3065 -1058

No files matched your search

@@ -360,7 +360,6 @@ public class GameData
ordered.addAll(keySet.stream().sorted(ResourceLocation::compareNamespaced).toList());
RuntimeException aggregate = new RuntimeException();
for (ResourceLocation rootRegistryName : ordered)
{
try
@@ -386,7 +385,6 @@ public class GameData
aggregate.addSuppressed(t);
}
}
if (aggregate.getSuppressed().length > 0)
{
LOGGER.fatal("Failed to register some entries, see suppressed exceptions for details", aggregate);
@@ -771,9 +769,7 @@ public class GameData
}
private static void fireRemapEvent(final Map<ResourceLocation, Map<ResourceLocation, IdMappingEvent.IdRemapping>> remaps, final boolean isFreezing) {
StartupMessageManager.modLoaderConsumer().ifPresent(s->s.accept("Remapping mod data"));
MinecraftForge.EVENT_BUS.post(new IdMappingEvent(remaps, isFreezing));
StartupMessageManager.modLoaderConsumer().ifPresent(s->s.accept("Remap complete"));
}
//Has to be split because of generics, Yay!