fix vanilla fade order

This commit is contained in:
James Seibel
2026-02-07 17:00:35 -06:00
parent 7834213a60
commit caf7f64f11
3 changed files with 5 additions and 5 deletions
@@ -65,12 +65,12 @@ public class MixinChunkSectionsToRender
if (chunkSectionLayerGroup == ChunkSectionLayerGroup.TRANSLUCENT) if (chunkSectionLayerGroup == ChunkSectionLayerGroup.TRANSLUCENT)
{ {
ClientApi.INSTANCE.renderFadeTransparent(); ClientApi.INSTANCE.renderFadeOpaque();
ClientApi.INSTANCE.renderDeferredLodsForShaders(); ClientApi.INSTANCE.renderDeferredLodsForShaders();
} }
else if (chunkSectionLayerGroup == ChunkSectionLayerGroup.TRIPWIRE) else if (chunkSectionLayerGroup == ChunkSectionLayerGroup.TRIPWIRE)
{ {
ClientApi.INSTANCE.renderFadeOpaque(); ClientApi.INSTANCE.renderFadeTransparent();
} }
} }
@@ -228,7 +228,7 @@ public class NeoforgeClientProxy implements AbstractModInitializer.IEventProxy
ClientApi.RENDER_STATE.clientLevelWrapper = ClientLevelWrapper.getWrapperIfDifferent(ClientApi.RENDER_STATE.clientLevelWrapper, event.getLevelRenderer().level); ClientApi.RENDER_STATE.clientLevelWrapper = ClientLevelWrapper.getWrapperIfDifferent(ClientApi.RENDER_STATE.clientLevelWrapper, event.getLevelRenderer().level);
#endif #endif
ClientApi.INSTANCE.renderFadeTransparent(); ClientApi.INSTANCE.renderFadeOpaque();
} }
@@ -267,7 +267,7 @@ public class NeoforgeClientProxy implements AbstractModInitializer.IEventProxy
} }
ClientApi.INSTANCE.renderFadeOpaque(); ClientApi.INSTANCE.renderFadeTransparent();
} }
#endif #endif