IT WORKS.
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 3m24s
/ Build BaseBand Loader (push) Successful in 4m7s

This commit is contained in:
Daniella / Tove 2024-06-10 00:25:33 +02:00
parent bb42ae4c93
commit 4da1f6ca19
Signed by: TudbuT
GPG key ID: B3CF345217F202D3
4 changed files with 4 additions and 11 deletions

1
.gitignore vendored
View file

@ -13,3 +13,4 @@
valid_hashes.txt
Obf.tar
/Server/run/
mobf.jar

View file

@ -151,7 +151,7 @@ tasks.register('releaseJar', Jar) {
from(zipTree(jar.archivePath)) {
exclude 'com/baseband/client/DevStub.class'
exclude 'com/baseband/client/DevStub.java'
exclude 'org/spongepowered'
exclude 'org/spongepowered/**'
}
manifest.attributes(

View file

@ -41,6 +41,8 @@ minecraft {
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
property 'forge.logging.console.level', 'debug'
jvmArgs = ["-Xmx700M"]
args = ["-tweakClass", "com.baseband.launcher.Tweaker"]
}
}
}

View file

@ -51,16 +51,6 @@ public class Tweaker implements ITweaker {
public void injectIntoClassLoader(LaunchClassLoader launchClassLoader) {
new Loader();
wrapped.injectIntoClassLoader(launchClassLoader);
MixinBootstrap.init();
MixinEnvironment.getEnvironment(MixinEnvironment.Phase.DEFAULT).setSide(MixinEnvironment.Side.CLIENT);
MixinEnvironment.getEnvironment(MixinEnvironment.Phase.PREINIT).setSide(MixinEnvironment.Side.CLIENT);
MixinEnvironment.getEnvironment(MixinEnvironment.Phase.INIT).setSide(MixinEnvironment.Side.CLIENT);
MixinEnvironment.getEnvironment(MixinEnvironment.Phase.DEFAULT).setSide(MixinEnvironment.Side.CLIENT);
Mixins.addConfiguration("mixins.baseband.json");
MixinEnvironment.getDefaultEnvironment().setObfuscationContext("searge");
}