Skip to content

Commit

Permalink
Fix issues with mixin configuration
Browse files Browse the repository at this point in the history
Closes #1953
  • Loading branch information
jellysquid3 committed Aug 6, 2023
1 parent e68762f commit d0d6918
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main/java/me/jellysquid/mods/sodium/mixin/MixinConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,19 @@ private MixinConfig() {
this.addMixinRule("core", true); // TODO: Don't actually allow the user to disable this

this.addMixinRule("features", true);

this.addMixinRule("features.gui", true);

this.addMixinRule("features.gui.hooks", true);
this.addMixinRule("features.gui.hooks.console", true);
this.addMixinRule("features.gui.hooks.debug", true);
this.addMixinRule("features.gui.hooks.settings", true);

this.addMixinRule("features.gui.screen", true);

this.addMixinRule("features.model", true);

this.addMixinRule("features.options", true);

this.addMixinRule("features.options.overlays", true);
this.addMixinRule("features.options.render_layers", true);
this.addMixinRule("features.options.weather", true);
Expand Down Expand Up @@ -67,8 +70,8 @@ private MixinConfig() {
this.addMixinRule("features.render.world.clouds", true);
this.addMixinRule("features.render.world.sky", true);

this.addMixinRule("features.render.shader", true);
this.addMixinRule("features.render.shader.uniform", true);
this.addMixinRule("features.shader", true);
this.addMixinRule("features.shader.uniform", true);

this.addMixinRule("features.textures", true);
this.addMixinRule("features.textures.animations", true);
Expand All @@ -81,7 +84,6 @@ private MixinConfig() {
this.addMixinRule("workarounds", true);
this.addMixinRule("workarounds.context_creation", true);
this.addMixinRule("workarounds.event_loop", true);

}

/**
Expand Down

0 comments on commit d0d6918

Please sign in to comment.