Skip to content

Commit

Permalink
remove the evil mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
FalsePattern committed Nov 11, 2024
1 parent 230d0f7 commit bcdea82
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,6 @@ private static void pleaseDontBreakMyThreadedRendering() {

@Override
public String[] getASMTransformerClass() {
if (ModuleConfig.THREADED_CHUNK_UPDATES()) {
try {
val f = LaunchClassLoader.class.getDeclaredField("transformerExceptions");
f.setAccessible(true);
@SuppressWarnings("unchecked") val s = (Set<String>) f.get(Launch.classLoader);
s.remove("com.gtnewhorizon.gtnhlib.client.renderer.TessellatorManager");
} catch (Throwable ignored) {
}
}
return new String[]{Tags.ROOT_PKG + ".asm.FalseTweaksTransformer"};
}

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,6 @@ public enum Mixin implements IMixin {
ThreadedUpdates_Automagy_RenderBlockGlowOverlayMixin(Side.CLIENT,
THREADING.and(require(TargetedMod.AUTOMAGY)),
"threadedupdates.automagy.RenderBlockGlowOverlayMixin"),

// GTNHLib
ThreadedUpdates_GTNHLib_TessellatorManagerMixin(Side.CLIENT,
THREADING.and(require(TargetedMod.GTNHLIB)),
"threadedupdates.gtnhlib.TessellatorManagerMixin"),

//endregion Threaded Chunk Updates

//region Texture Optimizations Module
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ public enum TargetedMod implements ITargetedMod {
COMPUTRONICS("Computronics", false, contains("Computronics-")),
EXTRA_CELLS("Extra Cells 2", false, contains("ExtraCells-")),
AUTOMAGY("Automagy", false, contains("Automagy-")),
GTNHLIB("GTNHLib", false, contains("gtnhlib-"))
;

public static Predicate<List<ITargetedMod>> REQUIRE_OPTIFINE_WITHOUT_SHADERS = require(OPTIFINE_WITHOUT_SHADERS).or(require(OPTIFINE_WITH_DYNAMIC_LIGHTS));
Expand Down

0 comments on commit bcdea82

Please sign in to comment.