Package net.minecraft.client.world
Class DimensionRenderInfo
java.lang.Object
net.minecraft.client.world.DimensionRenderInfo
- Direct Known Subclasses:
DimensionRenderInfo.End
,DimensionRenderInfo.Nether
,DimensionRenderInfo.Overworld
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private ICloudRenderHandler
private final boolean
private static final it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceLocation,
DimensionRenderInfo> private final boolean
private final boolean
private ISkyRenderHandler
private final DimensionRenderInfo.FogType
private final float[]
private IWeatherParticleRenderHandler
private IWeatherRenderHandler
-
Constructor Summary
ConstructorDescriptionDimensionRenderInfo
(float p_i241259_1_, boolean p_i241259_2_, DimensionRenderInfo.FogType p_i241259_3_, boolean p_i241259_4_, boolean p_i241259_5_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
static DimensionRenderInfo
forType
(DimensionType p_243495_0_) abstract Vector3d
getBrightnessDependentFogColor
(Vector3d p_230494_1_, float p_230494_2_) float
float[]
getSunriseColor
(float p_230492_1_, float p_230492_2_) boolean
abstract boolean
isFoggyAt
(int p_230493_1_, int p_230493_2_) void
setCloudRenderHandler
(ICloudRenderHandler cloudRenderHandler) void
setSkyRenderHandler
(ISkyRenderHandler skyRenderHandler) void
setWeatherParticleRenderHandler
(IWeatherParticleRenderHandler weatherParticleRenderHandler) void
setWeatherRenderHandler
(IWeatherRenderHandler weatherRenderHandler) skyType()
-
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
-
forceBrightLightmap
private final boolean forceBrightLightmap -
constantAmbientLight
private final boolean constantAmbientLight -
weatherRenderHandler
-
weatherParticleRenderHandler
-
skyRenderHandler
-
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
-
getSunriseColor
@Nullable public float[] getSunriseColor(float p_230492_1_, float p_230492_2_) -
getCloudHeight
public float getCloudHeight() -
hasGround
public boolean hasGround() -
getBrightnessDependentFogColor
-
isFoggyAt
public abstract boolean isFoggyAt(int p_230493_1_, int p_230493_2_) -
skyType
-
forceBrightLightmap
public boolean forceBrightLightmap() -
constantAmbientLight
public boolean constantAmbientLight() -
setWeatherRenderHandler
-
setWeatherParticleRenderHandler
public void setWeatherParticleRenderHandler(IWeatherParticleRenderHandler weatherParticleRenderHandler) -
setSkyRenderHandler
-
setCloudRenderHandler
-
getCloudRenderHandler
-
getWeatherRenderHandler
-
getWeatherParticleRenderHandler
-
getSkyRenderHandler
-