extreme override

This commit is contained in:
mcrcortex
2025-09-02 02:17:54 +10:00
parent ed04e21861
commit 35f93122e5

View File

@@ -14,7 +14,8 @@ import java.util.Set;
public class MixinPackRenderTargetDirectives { public class MixinPackRenderTargetDirectives {
@Redirect(method = "<clinit>", at = @At(value = "INVOKE", target = "Lcom/google/common/collect/ImmutableSet$Builder;build()Lcom/google/common/collect/ImmutableSet;")) @Redirect(method = "<clinit>", at = @At(value = "INVOKE", target = "Lcom/google/common/collect/ImmutableSet$Builder;build()Lcom/google/common/collect/ImmutableSet;"))
private static ImmutableSet<Integer> voxy$injectExtraColourTex(ImmutableSet.Builder<Integer> builder) { private static ImmutableSet<Integer> voxy$injectExtraColourTex(ImmutableSet.Builder<Integer> builder) {
for (int i = 16; i < 20; i++) { int limit = System.getProperty("voxy.IrisExtremeColourTexOverride", "false").equalsIgnoreCase("true")?200:20;
for (int i = 16; i < limit; i++) {
builder.add(i); builder.add(i);
} }
return builder.build(); return builder.build();