Class LevelRendererMixin
java.lang.Object
foundry.veil.mixin.client.pipeline.LevelRendererMixin
- All Implemented Interfaces:
LevelRendererBlockLayerExtension
,LevelRendererExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
blit
(net.minecraft.client.DeltaTracker pDeltaTracker, boolean pRenderBlockOutline, net.minecraft.client.Camera pCamera, net.minecraft.client.renderer.GameRenderer pGameRenderer, net.minecraft.client.renderer.LightTexture pLightTexture, org.joml.Matrix4f pFrustumMatrix, org.joml.Matrix4f pProjectionMatrix, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci, net.minecraft.util.profiling.ProfilerFiller profiler) void
protected abstract void
renderSectionLayer
(net.minecraft.client.renderer.RenderType pRenderType, double pX, double pY, double pZ, org.joml.Matrix4f pFrustrumMatrix, org.joml.Matrix4f pProjectionMatrix) void
setRainBlend
(net.minecraft.client.DeltaTracker pDeltaTracker, boolean pRenderBlockOutline, net.minecraft.client.Camera pCamera, net.minecraft.client.renderer.GameRenderer pGameRenderer, net.minecraft.client.renderer.LightTexture pLightTexture, org.joml.Matrix4f pFrustumMatrix, org.joml.Matrix4f pProjectionMatrix, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) Supplier
<net.minecraft.client.renderer.ShaderInstance> setWorldBorderShader
(Supplier<net.minecraft.client.renderer.ShaderInstance> supplier) void
veil$deinitTransparency
(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) void
veil$drawBlockLayer
(net.minecraft.client.renderer.RenderType renderType, double x, double y, double z, org.joml.Matrix4fc frustum, org.joml.Matrix4fc projection) void
veil$initTransparency
(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) void
veil$setupLevelCamera
(net.minecraft.world.phys.Vec3 pos, org.joml.Matrix4f frustumMatrix, org.joml.Matrix4f projectionMatrix, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
-
Constructor Details
-
LevelRendererMixin
public LevelRendererMixin()
-
-
Method Details
-
renderSectionLayer
protected abstract void renderSectionLayer(net.minecraft.client.renderer.RenderType pRenderType, double pX, double pY, double pZ, org.joml.Matrix4f pFrustrumMatrix, org.joml.Matrix4f pProjectionMatrix) -
veil$setupLevelCamera
public void veil$setupLevelCamera(net.minecraft.world.phys.Vec3 pos, org.joml.Matrix4f frustumMatrix, org.joml.Matrix4f projectionMatrix, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
blit
public void blit(net.minecraft.client.DeltaTracker pDeltaTracker, boolean pRenderBlockOutline, net.minecraft.client.Camera pCamera, net.minecraft.client.renderer.GameRenderer pGameRenderer, net.minecraft.client.renderer.LightTexture pLightTexture, org.joml.Matrix4f pFrustumMatrix, org.joml.Matrix4f pProjectionMatrix, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci, net.minecraft.util.profiling.ProfilerFiller profiler) -
setRainBlend
public void setRainBlend(net.minecraft.client.DeltaTracker pDeltaTracker, boolean pRenderBlockOutline, net.minecraft.client.Camera pCamera, net.minecraft.client.renderer.GameRenderer pGameRenderer, net.minecraft.client.renderer.LightTexture pLightTexture, org.joml.Matrix4f pFrustumMatrix, org.joml.Matrix4f pProjectionMatrix, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
setWorldBorderShader
-
veil$deinitTransparency
public void veil$deinitTransparency(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
veil$initTransparency
public void veil$initTransparency(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
veil$getCullFrustum
- Specified by:
veil$getCullFrustum
in interfaceLevelRendererExtension
-
veil$drawBlockLayer
public void veil$drawBlockLayer(net.minecraft.client.renderer.RenderType renderType, double x, double y, double z, org.joml.Matrix4fc frustum, org.joml.Matrix4fc projection) - Specified by:
veil$drawBlockLayer
in interfaceLevelRendererBlockLayerExtension
-
markChunksDirty
public void markChunksDirty()- Specified by:
markChunksDirty
in interfaceLevelRendererExtension
-