Class DimensionRenderInfo

java.lang.Object
net.minecraft.client.world.DimensionRenderInfo
Direct Known Subclasses:
DimensionRenderInfo.End, DimensionRenderInfo.Nether, DimensionRenderInfo.Overworld

public abstract class DimensionRenderInfo extends Object
  • Field Details

    • EFFECTS

      private static final it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceLocation,DimensionRenderInfo> EFFECTS
    • sunriseCol

      private final float[] sunriseCol
    • cloudLevel

      private final float cloudLevel
    • hasGround

      private final boolean hasGround
    • skyType

      private final DimensionRenderInfo.FogType skyType
    • forceBrightLightmap

      private final boolean forceBrightLightmap
    • constantAmbientLight

      private final boolean constantAmbientLight
    • weatherRenderHandler

      private IWeatherRenderHandler weatherRenderHandler
    • weatherParticleRenderHandler

      private IWeatherParticleRenderHandler weatherParticleRenderHandler
    • skyRenderHandler

      private ISkyRenderHandler skyRenderHandler
    • cloudRenderHandler

      private ICloudRenderHandler cloudRenderHandler
  • Constructor Details

    • DimensionRenderInfo

      public DimensionRenderInfo(float p_i241259_1_, boolean p_i241259_2_, DimensionRenderInfo.FogType p_i241259_3_, boolean p_i241259_4_, boolean p_i241259_5_)
  • Method Details

    • forType

      public static DimensionRenderInfo forType(DimensionType p_243495_0_)
    • getSunriseColor

      @Nullable public float[] getSunriseColor(float p_230492_1_, float p_230492_2_)
    • getCloudHeight

      public float getCloudHeight()
    • hasGround

      public boolean hasGround()
    • getBrightnessDependentFogColor

      public abstract Vector3d getBrightnessDependentFogColor(Vector3d p_230494_1_, float p_230494_2_)
    • isFoggyAt

      public abstract boolean isFoggyAt(int p_230493_1_, int p_230493_2_)
    • skyType

      public DimensionRenderInfo.FogType skyType()
    • forceBrightLightmap

      public boolean forceBrightLightmap()
    • constantAmbientLight

      public boolean constantAmbientLight()
    • setWeatherRenderHandler

      public void setWeatherRenderHandler(IWeatherRenderHandler weatherRenderHandler)
    • setWeatherParticleRenderHandler

      public void setWeatherParticleRenderHandler(IWeatherParticleRenderHandler weatherParticleRenderHandler)
    • setSkyRenderHandler

      public void setSkyRenderHandler(ISkyRenderHandler skyRenderHandler)
    • setCloudRenderHandler

      public void setCloudRenderHandler(ICloudRenderHandler cloudRenderHandler)
    • getCloudRenderHandler

      @Nullable public ICloudRenderHandler getCloudRenderHandler()
    • getWeatherRenderHandler

      @Nullable public IWeatherRenderHandler getWeatherRenderHandler()
    • getWeatherParticleRenderHandler

      @Nullable public IWeatherParticleRenderHandler getWeatherParticleRenderHandler()
    • getSkyRenderHandler

      @Nullable public ISkyRenderHandler getSkyRenderHandler()