mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-24 14:04:41 +00:00
isolate simple transformations to own file + more doc + cleanup
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user