Interface IDimensionSpecialEffectsExtension

All Known Implementing Classes:
DimensionSpecialEffects, DimensionSpecialEffects.EndEffects, DimensionSpecialEffects.NetherEffects, DimensionSpecialEffects.OverworldEffects

public interface IDimensionSpecialEffectsExtension
Extension interface for DimensionSpecialEffects.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    renderClouds(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(ClientLevel level, int ticks, float partialTick, org.joml.Matrix4f modelViewMatrix, Camera camera, org.joml.Matrix4f projectionMatrix, Runnable setupFog)
    Renders the sky of this dimension.
    default boolean
    renderSnowAndRain(ClientLevel level, int ticks, float partialTick, double camX, double camY, double camZ)
    Renders the snow and rain effects of this dimension.
     
    default boolean
    tickRain(ClientLevel level, int ticks, Camera camera)
    Ticks the rain of this dimension.
  • Method Details

    • self

      private DimensionSpecialEffects self()
    • renderClouds

      default boolean renderClouds(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(ClientLevel level, int ticks, float partialTick, org.joml.Matrix4f modelViewMatrix, 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(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(ClientLevel level, int ticks, Camera camera)
      Ticks the rain of this dimension.
      Returns:
      true to prevent vanilla rain ticking