Package net.minecraft.client.renderer
Class DimensionSpecialEffects
java.lang.Object
net.minecraft.client.renderer.DimensionSpecialEffects
- Direct Known Subclasses:
DimensionSpecialEffects.EndEffects
,DimensionSpecialEffects.NetherEffects
,DimensionSpecialEffects.OverworldEffects
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
private ICloudRenderHandler
private final boolean
private static final it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceLocation,
DimensionSpecialEffects> private final boolean
private final boolean
private ISkyRenderHandler
private final DimensionSpecialEffects.SkyType
private final float[]
private IWeatherParticleRenderHandler
private IWeatherRenderHandler
-
Constructor Summary
ConstructorDescriptionDimensionSpecialEffects
(float p_108866_, boolean p_108867_, DimensionSpecialEffects.SkyType p_108868_, boolean p_108869_, boolean p_108870_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
static DimensionSpecialEffects
forType
(DimensionType p_108877_) abstract Vec3
getBrightnessDependentFogColor
(Vec3 p_108878_, float p_108879_) float
float[]
getSunriseColor
(float p_108872_, float p_108873_) boolean
abstract boolean
isFoggyAt
(int p_108874_, int p_108875_) 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,DimensionSpecialEffects> 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
-
DimensionSpecialEffects
public DimensionSpecialEffects(float p_108866_, boolean p_108867_, DimensionSpecialEffects.SkyType p_108868_, boolean p_108869_, boolean p_108870_)
-
-
Method Details
-
forType
-
getSunriseColor
@Nullable public float[] getSunriseColor(float p_108872_, float p_108873_) -
getCloudHeight
public float getCloudHeight() -
hasGround
public boolean hasGround() -
getBrightnessDependentFogColor
-
isFoggyAt
public abstract boolean isFoggyAt(int p_108874_, int p_108875_) -
skyType
-
forceBrightLightmap
public boolean forceBrightLightmap() -
constantAmbientLight
public boolean constantAmbientLight() -
setWeatherRenderHandler
-
setWeatherParticleRenderHandler
public void setWeatherParticleRenderHandler(IWeatherParticleRenderHandler weatherParticleRenderHandler) -
setSkyRenderHandler
-
setCloudRenderHandler
-
getCloudRenderHandler
-
getWeatherRenderHandler
-
getWeatherParticleRenderHandler
-
getSkyRenderHandler
-