feat: add PostInitialization and PreInitialization events
@@ -15,8 +15,8 @@ public class ModLifecycleEvent implements Event {
return modContainer;
}
- public static final class Construction extends ModLifecycleEvent {
- public Construction(ModContainer modContainer) {
+ public static final class PreInitialization extends ModLifecycleEvent {
+ public PreInitialization(ModContainer modContainer) {
super(modContainer);
}
}
@@ -27,6 +27,12 @@ public class ModLifecycleEvent implements Event {
}
}
+ public static final class PostInitialization extends ModLifecycleEvent {
+ public PostInitialization(ModContainer modContainer) {
+ super(modContainer);
+ }
+ }
+
public static final class Ready extends ModLifecycleEvent {
public Ready(ModContainer modContainer) {
super(modContainer);
