Package net.minecraft.client.renderer
Class DimensionSpecialEffects
java.lang.Object
net.minecraft.client.renderer.DimensionSpecialEffects
- All Implemented Interfaces:
- IForgeDimensionSpecialEffects
- Direct Known Subclasses:
- DimensionSpecialEffects.EndEffects,- DimensionSpecialEffects.NetherEffects,- DimensionSpecialEffects.OverworldEffects
public abstract class DimensionSpecialEffects
extends Object
implements IForgeDimensionSpecialEffects
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic enum
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final floatprivate final booleanprivate static final it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceLocation,DimensionSpecialEffects> private final booleanprivate final booleanprivate final DimensionSpecialEffects.SkyTypeprivate final float[]
- 
Constructor SummaryConstructorsConstructorDescriptionDimensionSpecialEffects(float p_108866_, boolean p_108867_, DimensionSpecialEffects.SkyType p_108868_, boolean p_108869_, boolean p_108870_) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanstatic DimensionSpecialEffectsforType(DimensionType p_108877_) abstract Vec3getBrightnessDependentFogColor(Vec3 p_108878_, float p_108879_) floatfloat[]getSunriseColor(float p_108872_, float p_108873_) booleanabstract booleanisFoggyAt(int p_108874_, int p_108875_) skyType()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.client.extensions.IForgeDimensionSpecialEffectsadjustLightmapColors, renderClouds, renderSky, renderSnowAndRain, tickRain
- 
Field Details- 
EFFECTSprivate static final it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceLocation,DimensionSpecialEffects> EFFECTS
- 
sunriseColprivate final float[] sunriseCol
- 
cloudLevelprivate final float cloudLevel
- 
hasGroundprivate final boolean hasGround
- 
skyType
- 
forceBrightLightmapprivate final boolean forceBrightLightmap
- 
constantAmbientLightprivate final boolean constantAmbientLight
 
- 
- 
Constructor Details- 
DimensionSpecialEffectspublic 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_) 
- 
getCloudHeightpublic float getCloudHeight()
- 
hasGroundpublic boolean hasGround()
- 
getBrightnessDependentFogColor
- 
isFoggyAtpublic abstract boolean isFoggyAt(int p_108874_, int p_108875_) 
- 
skyType
- 
forceBrightLightmappublic boolean forceBrightLightmap()
- 
constantAmbientLightpublic boolean constantAmbientLight()
 
-