Fixes for backhand compat (#1437)

This commit is contained in:
Alexdoru authored and GitHub committed 2026-03-01 13:04:11 -08:00
1 parent 9816cb2148
commit 3ae57ca594
5 files changed
+16 -28

No files matched your search

@@ -6,6 +6,7 @@ import com.gtnewhorizons.angelica.compat.mojang.InteractionHand;
import com.gtnewhorizons.angelica.glsm.GLStateManager;
import com.gtnewhorizons.angelica.rendering.RenderingState;
import com.gtnewhorizons.angelica.rendering.celeritas.BlockRenderLayer;
import lombok.Getter;
import net.coderbot.iris.block_rendering.BlockRenderingSettings;
import net.coderbot.iris.layer.GbufferPrograms;
import net.irisshaders.iris.api.v0.IrisApi;
@@ -24,7 +25,7 @@ public class HandRenderer {
public static final HandRenderer INSTANCE = new HandRenderer();
private boolean ACTIVE;
private boolean renderingSolid;
private @Getter boolean renderingSolid;
public static final float DEPTH = 0.125F;
private void setupGlState(RenderGlobal gameRenderer, Camera camera, float tickDelta) {
@@ -179,8 +180,4 @@ public class HandRenderer {
public boolean isActive() {
return ACTIVE;
}
public boolean isRenderingSolid() {
return renderingSolid;
}
}