Rename mixin references as well

This commit is contained in:
FlorianMichael 2024-04-28 22:15:05 +02:00
parent d93c875d88
commit 9ba5f28ebd
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
13 changed files with 21 additions and 23 deletions

View File

@ -32,7 +32,7 @@ import java.io.File;
import java.util.function.Supplier; import java.util.function.Supplier;
@Mod(modid = "viaforge") @Mod(modid = "viaforge")
public class ViaForge112 implements VFPlatform { public class ViaForge1122 implements VFPlatform {
@Mod.EventHandler @Mod.EventHandler
public void onInit(FMLInitializationEvent event) { public void onInit(FMLInitializationEvent event) {

View File

@ -29,7 +29,7 @@ public class MixinLoader implements IFMLLoadingPlugin {
public MixinLoader() { public MixinLoader() {
MixinBootstrap.init(); MixinBootstrap.init();
Mixins.addConfiguration("mixins.viaforge-mc112.json"); Mixins.addConfiguration("mixins.viaforge-mc1122.json");
MixinEnvironment.getDefaultEnvironment().setSide(MixinEnvironment.Side.CLIENT); MixinEnvironment.getDefaultEnvironment().setSide(MixinEnvironment.Side.CLIENT);
} }

View File

@ -3,7 +3,7 @@
"minVersion": "0.7.5", "minVersion": "0.7.5",
"compatibilityLevel": "JAVA_8", "compatibilityLevel": "JAVA_8",
"package": "de.florianmichael.viaforge.mixin.impl", "package": "de.florianmichael.viaforge.mixin.impl",
"refmap": "mixins.viaforge-mc112.refmap.json", "refmap": "mixins.viaforge-mc1122.refmap.json",
"client": [ "client": [
"MixinGuiConnecting_1", "MixinGuiConnecting_1",
"MixinGuiMainMenu", "MixinGuiMainMenu",

View File

@ -33,9 +33,9 @@ import java.io.File;
import java.util.function.Supplier; import java.util.function.Supplier;
@Mod("viaforge") @Mod("viaforge")
public class ViaForge116 implements VFPlatform { public class ViaForge1165 implements VFPlatform {
public ViaForge116() { public ViaForge1165() {
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::onInit); FMLJavaModLoadingContext.get().getModEventBus().addListener(this::onInit);
} }

View File

@ -20,5 +20,5 @@
"injectors": { "injectors": {
"defaultRequire": 1 "defaultRequire": 1
}, },
"refmap": "mixins.viaforge-mc116.refmap.json" "refmap": "mixins.viaforge-mc1165.refmap.json"
} }

View File

@ -33,9 +33,9 @@ import java.io.File;
import java.util.function.Supplier; import java.util.function.Supplier;
@Mod("viaforge") @Mod("viaforge")
public class ViaForge117 implements VFPlatform { public class ViaForge1171 implements VFPlatform {
public ViaForge117() { public ViaForge1171() {
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::onInit); FMLJavaModLoadingContext.get().getModEventBus().addListener(this::onInit);
} }

View File

@ -14,14 +14,12 @@
"MixinServerData", "MixinServerData",
"MixinServerStatusPinger", "MixinServerStatusPinger",
"MixinTitleScreen", "MixinTitleScreen",
"fixes.MixinLocalPlayer" "fixes.MixinLocalPlayer",
"MixinConnection_1",
"MixinConnectScreen_1"
], ],
"injectors": { "injectors": {
"defaultRequire": 1 "defaultRequire": 1
}, },
"refmap": "mixins.viaforge-mc117.refmap.json", "refmap": "mixins.viaforge-mc1171.refmap.json"
"mixins": [
"MixinConnection_1",
"MixinConnectScreen_1"
]
} }

View File

@ -33,9 +33,9 @@ import java.io.File;
import java.util.function.Supplier; import java.util.function.Supplier;
@Mod("viaforge") @Mod("viaforge")
public class ViaForge118 implements VFPlatform { public class ViaForge1182 implements VFPlatform {
public ViaForge118() { public ViaForge1182() {
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::onInit); FMLJavaModLoadingContext.get().getModEventBus().addListener(this::onInit);
} }

View File

@ -20,5 +20,5 @@
"injectors": { "injectors": {
"defaultRequire": 1 "defaultRequire": 1
}, },
"refmap": "mixins.viaforge-mc119.refmap.json" "refmap": "mixins.viaforge-mc1182.refmap.json"
} }

View File

@ -33,9 +33,9 @@ import java.io.File;
import java.util.function.Supplier; import java.util.function.Supplier;
@Mod("viaforge") @Mod("viaforge")
public class ViaForge119 implements VFPlatform { public class ViaForge1194 implements VFPlatform {
public ViaForge119() { public ViaForge1194() {
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::onInit); FMLJavaModLoadingContext.get().getModEventBus().addListener(this::onInit);
} }

View File

@ -20,5 +20,5 @@
"injectors": { "injectors": {
"defaultRequire": 1 "defaultRequire": 1
}, },
"refmap": "mixins.viaforge-mc118.refmap.json" "refmap": "mixins.viaforge-mc1194.refmap.json"
} }

View File

@ -33,9 +33,9 @@ import java.io.File;
import java.util.function.Supplier; import java.util.function.Supplier;
@Mod("viaforge") @Mod("viaforge")
public class ViaForge120 implements VFPlatform { public class ViaForge1204 implements VFPlatform {
public ViaForge120() { public ViaForge1204() {
FMLJavaModLoadingContext.get().getModEventBus().addListener(this::onInit); FMLJavaModLoadingContext.get().getModEventBus().addListener(this::onInit);
} }

View File

@ -19,5 +19,5 @@
"injectors": { "injectors": {
"defaultRequire": 1 "defaultRequire": 1
}, },
"refmap": "mixins.viaforge-mc120.refmap.json" "refmap": "mixins.viaforge-mc1204.refmap.json"
} }