Add API for registering custom world preset editors (#9436)

This commit is contained in:
Joseph B authored and GitHub committed 2023-05-14 15:53:34 -05:00
1 parent fc91dfd1d1
commit 8abe9b6b0c
24 files changed
+358 -41

No files matched your search

@@ -379,7 +379,7 @@ public class GameData
if (forgeRegistry != null)
forgeRegistry.unfreeze();
ModLoader.get().postEventWithWrapInModOrder(registerEvent, (mc, e) -> ModLoadingContext.get().setActiveContainer(mc), (mc, e)-> ModLoadingContext.get().setActiveContainer(null));
ModLoader.get().postEventWrapContainerInModOrder(registerEvent);
if (forgeRegistry != null)
forgeRegistry.freeze();