Interface IDimensionSpecialEffectsExtension
public interface IDimensionSpecialEffectsExtension
Extension interface for
DimensionSpecialEffects
.-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
renderClouds
(net.minecraft.client.multiplayer.ClientLevel level, int ticks, float partialTick, double camX, double camY, double camZ, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix) Renders the clouds of this dimension.default boolean
renderSky
(net.minecraft.client.multiplayer.ClientLevel level, int ticks, float partialTick, org.joml.Matrix4f modelViewMatrix, net.minecraft.client.Camera camera, org.joml.Matrix4f projectionMatrix, Runnable setupFog) Renders the sky of this dimension.default boolean
renderSnowAndRain
(net.minecraft.client.multiplayer.ClientLevel level, int ticks, float partialTick, double camX, double camY, double camZ) Renders the snow and rain effects of this dimension.private net.minecraft.client.renderer.DimensionSpecialEffects
self()
default boolean
tickRain
(net.minecraft.client.multiplayer.ClientLevel level, int ticks, net.minecraft.client.Camera camera) Ticks the rain of this dimension.
-
Method Details
-
self
private net.minecraft.client.renderer.DimensionSpecialEffects self() -
renderClouds
default boolean renderClouds(net.minecraft.client.multiplayer.ClientLevel level, int ticks, float partialTick, double camX, double camY, double camZ, org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix) Renders the clouds of this dimension.- Returns:
- true to prevent vanilla cloud rendering
-
renderSky
default boolean renderSky(net.minecraft.client.multiplayer.ClientLevel level, int ticks, float partialTick, org.joml.Matrix4f modelViewMatrix, net.minecraft.client.Camera camera, org.joml.Matrix4f projectionMatrix, Runnable setupFog) Renders the sky of this dimension.- Returns:
- true to prevent vanilla sky rendering
-
renderSnowAndRain
default boolean renderSnowAndRain(net.minecraft.client.multiplayer.ClientLevel level, int ticks, float partialTick, double camX, double camY, double camZ) Renders the snow and rain effects of this dimension.- Returns:
- true to prevent vanilla snow and rain rendering
-
tickRain
default boolean tickRain(net.minecraft.client.multiplayer.ClientLevel level, int ticks, net.minecraft.client.Camera camera) Ticks the rain of this dimension.- Returns:
- true to prevent vanilla rain ticking
-