example mod pre_launch working

This commit is contained in:
moehreag 2024-05-24 19:14:45 +02:00
parent c42681f445
commit df66596b5e
2 changed files with 3 additions and 1 deletions

View file

@ -16,6 +16,6 @@ breaks = [
]
[nonsense.extensions]
pre_launch = "org/ecorous/esnesnon/nonsense/loader/example/ExamplePreLaunchExtension"
pre_launch = "org.ecorous.esnesnon.nonsense.loader.example.ExamplePreLaunchExtension"
mixin_config = "example_mod.mixins.json"

View file

@ -37,6 +37,8 @@ public class Launcher {
instance = this;
this.env = env;
targetClassLoader = new MixinClassLoader();
targetClassLoader.excludePackage("org.slf4j");
targetClassLoader.excludePackage("org.spongepowered");
targetClassLoader.excludePackage("org.apache.logging");
targetClassLoader.excludePackage("org.ecorous.esnesnon.nonsense.loader.impl.launch");
targetClassLoader.excludePackage("org.ecorous.esnesnon.nonsense.loader.api.env");