Fix old MC version compiling
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
package com.seibel.distanthorizons.common.render.blaze.wrappers.uniform;
|
||||
|
||||
#if MC_VER <= MC_1_21_10
|
||||
public class BlazeNewUniformBufferWrapper {}
|
||||
public class BlazeUniformBufferWrapper {}
|
||||
|
||||
#else
|
||||
|
||||
|
||||
@@ -241,7 +241,7 @@ public class FabricClientProxy implements AbstractModInitializer.IEventProxy
|
||||
ClientApi.RENDER_STATE.clientLevelWrapper = ClientLevelWrapper.getWrapperIfDifferent(ClientApi.RENDER_STATE.clientLevelWrapper, renderContext.world());
|
||||
|
||||
|
||||
this.clientApi.renderLods();
|
||||
ClientApi.INSTANCE.renderLods();
|
||||
});
|
||||
|
||||
|
||||
@@ -264,7 +264,7 @@ public class FabricClientProxy implements AbstractModInitializer.IEventProxy
|
||||
ClientApi.RENDER_STATE.clientLevelWrapper = ClientLevelWrapper.getWrapperIfDifferent(ClientApi.RENDER_STATE.clientLevelWrapper, renderContext.world());
|
||||
|
||||
|
||||
this.clientApi.renderFadeOpaque();
|
||||
ClientApi.INSTANCE.renderFadeOpaque();
|
||||
});
|
||||
|
||||
WorldRenderEvents.AFTER_TRANSLUCENT.register((renderContext) ->
|
||||
@@ -294,7 +294,7 @@ public class FabricClientProxy implements AbstractModInitializer.IEventProxy
|
||||
ClientApi.INSTANCE.renderDeferredLodsForShaders();
|
||||
#endif
|
||||
|
||||
this.clientApi.renderFadeTransparent();
|
||||
ClientApi.INSTANCE.renderFadeTransparent();
|
||||
});
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user