Enum Class VanillaSky
- All Implemented Interfaces:
Serializable,Comparable<VanillaSky>,Constable,net.minecraft.util.StringRepresentable
The parts of vanilla's sky a skybox can hide. Hidden parts fade out as the skybox fades in, except
VOID,
which disappears once the skybox is half visible.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringRepresentable
net.minecraft.util.StringRepresentable.EnumCodec<E extends Enum<E> & net.minecraft.util.StringRepresentable>, net.minecraft.util.StringRepresentable.StringRepresentableCodec<S extends net.minecraft.util.StringRepresentable> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe End's flashes, from later versions: the End of 1.21.1 has none, so hiding them does nothing.The End's textured sky.The sky color overhead; hidden, it shows the fog color it fades into.The glow around the sun at sunrise and sunset.The dark disc under the horizon, drawn while the camera is below it. -
Field Summary
FieldsFields inherited from interface net.minecraft.util.StringRepresentable
PRE_BUILT_MAP_THRESHOLD -
Method Summary
Modifier and TypeMethodDescriptionstatic VanillaSkyReturns the enum constant of this class with the specified name.static VanillaSky[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SKY
The sky color overhead; hidden, it shows the fog color it fades into. -
SUNRISE
The glow around the sun at sunrise and sunset. -
SUN
-
MOON
-
STARS
-
VOID
The dark disc under the horizon, drawn while the camera is below it. -
END_SKY
The End's textured sky. -
END_FLASH
The End's flashes, from later versions: the End of 1.21.1 has none, so hiding them does nothing.
-
-
Field Details
-
CODEC
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getSerializedName
- Specified by:
getSerializedNamein interfacenet.minecraft.util.StringRepresentable
-