Enum Class VanillaSky

java.lang.Object
java.lang.Enum<VanillaSky>
net.ixdarklord.coolcatcanvas.api.client.sky.VanillaSky
All Implemented Interfaces:
Serializable, Comparable<VanillaSky>, Constable, net.minecraft.util.StringRepresentable

public enum VanillaSky extends Enum<VanillaSky> implements 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>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The End's flashes.
    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

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<VanillaSky>
     

    Fields inherited from interface net.minecraft.util.StringRepresentable

    PRE_BUILT_MAP_THRESHOLD
  • Method Summary

    Modifier and Type
    Method
    Description
     
    static VanillaSky
    Returns the enum constant of this class with the specified name.
    static VanillaSky[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SKY

      public static final VanillaSky SKY
      The sky color overhead; hidden, it shows the fog color it fades into.
    • SUNRISE

      public static final VanillaSky SUNRISE
      The glow around the sun at sunrise and sunset.
    • SUN

      public static final VanillaSky SUN
    • MOON

      public static final VanillaSky MOON
    • STARS

      public static final VanillaSky STARS
    • VOID

      public static final VanillaSky VOID
      The dark disc under the horizon, drawn while the camera is below it.
    • END_SKY

      public static final VanillaSky END_SKY
      The End's textured sky.
    • END_FLASH

      public static final VanillaSky END_FLASH
      The End's flashes. Minecraft 1.20.1 has none, so this hides nothing there.
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<VanillaSky> CODEC
  • Method Details

    • values

      public static VanillaSky[] 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

      public static VanillaSky valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getSerializedName

      public String getSerializedName()
      Specified by:
      getSerializedName in interface net.minecraft.util.StringRepresentable