Enum Class Rotation

java.lang.Object
java.lang.Enum<Rotation>
dev.wyck.worldgen.Rotation
All Implemented Interfaces:
WrappedEnumerator<Rotation>, Serializable, Comparable<Rotation>, Constable

@NullMarked @AsOf("3.0.1") @Generated("2026-07-16T08:25:35.507016Z") public enum Rotation extends Enum<Rotation> implements WrappedEnumerator<Rotation>
Auto-generated. Do not modify! Run ./gradlew generateSources to regenerate.

A rotation applied to a structure template, in 90-degree steps about the Y axis.

Since:
3.0.1
See Also:
  • Enum Constant Details

    • NONE

      public static final Rotation NONE
    • CLOCKWISE_90

      public static final Rotation CLOCKWISE_90
    • CLOCKWISE_180

      public static final Rotation CLOCKWISE_180
    • COUNTERCLOCKWISE_90

      public static final Rotation COUNTERCLOCKWISE_90
  • Field Details

  • Method Details

    • values

      public static Rotation[] 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 Rotation 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
    • getKey

      @AsOf("3.0.1") public String getKey()
      The vanilla name for this Rotation value.
      Returns:
      the vanilla key for this enum value
      Since:
      3.0.1
    • translator

      @AsOf("3.0.1") public KeyedEnumTranslator<Rotation> translator()
      Specified by:
      translator in interface WrappedEnumerator<Rotation>