diff --git a/src/main/java/appeng/mixins/EarlyStartupMixin.java b/src/main/java/appeng/mixins/EarlyStartupMixin.java index 2e98e9fcfca..9b45fb86fad 100644 --- a/src/main/java/appeng/mixins/EarlyStartupMixin.java +++ b/src/main/java/appeng/mixins/EarlyStartupMixin.java @@ -36,7 +36,7 @@ public abstract class EarlyStartupMixin { // Don't inject at TAIL because Citadel (possibly other mods too) cause bootStrap() to invoke itself, // and we don't want this to be invoked from the nested call since MC isn't fully initialized by then. - @Inject(at = @At(value = "INVOKE", target = "net/minecraftforge/registries/GameData. vanillaSnapshot()V", shift = At.Shift.AFTER, by = 1), method = "bootStrap") + @Inject(at = @At(value = "INVOKE", target = "net/neoforged/neoforge/registries/GameData.vanillaSnapshot()V", shift = At.Shift.AFTER, by = 1), method = "bootStrap") private static void initRegistries(CallbackInfo ci) { AppEngBootstrap.runEarlyStartup(); } diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index f9027f876fc..6e4a2d95e20 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -1,5 +1,5 @@ modLoader="javafml" -loaderVersion="[44,)" +loaderVersion="[1,)" #updateJSONURL="" issueTrackerURL="https://github.com/AppliedEnergistics/Applied-Energistics-2/issues" displayURL="https://github.com/AppliedEnergistics/Applied-Energistics-2" @@ -15,7 +15,7 @@ displayName="Applied Energistics 2" description="A Mod about Matter, Energy and using them to conquer the world.." [[dependencies.ae2]] - modId="forge" + modId="neoforge" mandatory=true versionRange="${neoforge_version}" ordering="NONE"