Package net.minecraft.client.world
Class DimensionRenderInfo
- java.lang.Object
-
- net.minecraft.client.world.DimensionRenderInfo
-
- Direct Known Subclasses:
DimensionRenderInfo.End
,DimensionRenderInfo.Nether
,DimensionRenderInfo.Overworld
public abstract class DimensionRenderInfo extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DimensionRenderInfo.End
static class
DimensionRenderInfo.FogType
static class
DimensionRenderInfo.Nether
static class
DimensionRenderInfo.Overworld
-
Field Summary
Fields Modifier and Type Field Description private float
cloudLevel
private ICloudRenderHandler
cloudRenderHandler
private boolean
constantAmbientLight
private static it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceLocation,DimensionRenderInfo>
EFFECTS
private boolean
forceBrightLightmap
private boolean
hasGround
private ISkyRenderHandler
skyRenderHandler
private DimensionRenderInfo.FogType
skyType
private float[]
sunriseCol
private IWeatherParticleRenderHandler
weatherParticleRenderHandler
private IWeatherRenderHandler
weatherRenderHandler
-
Constructor Summary
Constructors Constructor Description DimensionRenderInfo(float p_i241259_1_, boolean p_i241259_2_, DimensionRenderInfo.FogType p_i241259_3_, boolean p_i241259_4_, boolean p_i241259_5_)
-
Method Summary
-
-
-
Field Detail
-
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 Detail
-
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 Detail
-
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()
-
-