Fix Forge compiling
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ public class MixinOptionsScreen extends Screen
|
||||
@Inject(at = @At("HEAD"), method = "init")
|
||||
private void lodconfig$init(CallbackInfo ci)
|
||||
{
|
||||
if (Config.Client.optionsButton.get())
|
||||
if (Config.Client.showDhOptionsButtonInMinecraftUi.get())
|
||||
this. #if MC_VER < MC_1_17_1 addButton #else addRenderableWidget #endif
|
||||
(new TexturedButtonWidget(
|
||||
// Where the button is on the screen
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ public class MixinTextureUtil
|
||||
at = @At(value = "INVOKE", target = "Lcom/mojang/blaze3d/platform/GlStateManager;_texParameter(IIF)V"), remap = false)
|
||||
private static void setLodBias(int target, int pname, float param)
|
||||
{
|
||||
float biasValue = Config.Client.Advanced.Graphics.AdvancedGraphics.lodBias.get().floatValue();
|
||||
float biasValue = Config.Client.Advanced.Graphics.Quality.lodBias.get().floatValue();
|
||||
if (biasValue != 0)
|
||||
{
|
||||
// The target is GL11.GL_TEXTURE_2D
|
||||
|
||||
-7
@@ -33,11 +33,4 @@ public class OptifineAccessor extends AbstractOptifineAccessor
|
||||
return "Optifine-Forge-1.18.X";
|
||||
}
|
||||
|
||||
@Override
|
||||
public HashSet<DhChunkPos> getNormalRenderedChunks()
|
||||
{
|
||||
// TODO: Impl proper methods here
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user