Skip to content

Commit

Permalink
Force sunrise to render as OPAQUE translucency type
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Dec 15, 2024
1 parent 1ed1d36 commit 0d2f166
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private MixinCompositeRenderType(String name, VertexFormat vertexFormat, VertexF
transparencyType = TransparencyType.WATER_MASK;
} else if ("lines".equals(name)) {
transparencyType = TransparencyType.LINES;
} else if (transparency == RenderStateShardAccessor.getNO_TRANSPARENCY()) {
} else if (transparency == RenderStateShardAccessor.getNO_TRANSPARENCY() || "sunrise_sunset".equals(name)) {
transparencyType = TransparencyType.OPAQUE;
} else if (transparency == RenderStateShardAccessor.getGLINT_TRANSPARENCY() ||
transparency == RenderStateShardAccessor.getCRUMBLING_TRANSPARENCY()) {
Expand Down

0 comments on commit 0d2f166

Please sign in to comment.