isolate simple transformations to own file + more doc + cleanup

This commit is contained in:
Guillaume Mercier committed 2026-01-23 17:59:04 -05:00
1 parent d20a5fe43f
commit 9672270b1e
5 files changed
+272 -224

No files matched your search

@@ -1,6 +1,7 @@
package com.gtnewhorizons.postea;
import com.gtnewhorizons.postea.utility.MissingMappingHandler;
import com.gtnewhorizons.postea.utility.SimpleTransformationRegistry;
import com.gtnewhorizons.postea.utility.TransformerRegistry;
import cpw.mods.fml.common.Mod;
@@ -27,7 +28,8 @@ public class Postea {
@Mod.EventHandler
public void onIdMappingsChanged(FMLModIdMappingEvent event) {
TransformerRegistry.onIdMappingsChanged(event);
SimpleTransformationRegistry.onIdMappingsChanged();
TransformerRegistry.onIdMappingsChanged();
}
@Mod.EventHandler
@@ -37,7 +39,7 @@ public class Postea {
@Mod.EventHandler
public void onLoadCompleted(FMLLoadCompleteEvent event) {
TransformerRegistry.onLoadCompleted();
SimpleTransformationRegistry.onLoadCompleted();
MissingMappingHandler.onLoadCompleted();
}