Enum Class Corner

java.lang.Object
java.lang.Enum<Corner>
net.nikdo53.tinymultiblocklib.components.Corner
All Implemented Interfaces:
Serializable, Comparable<Corner>, Constable

public enum Corner extends Enum<Corner>
Contains all corners of a cube
  • Enum Constant Details

    • FORWARD_LOWER_LEFT

      public static final Corner FORWARD_LOWER_LEFT
    • FORWARD_LOWER_RIGHT

      public static final Corner FORWARD_LOWER_RIGHT
    • FORWARD_UPPER_LEFT

      public static final Corner FORWARD_UPPER_LEFT
    • FORWARD_UPPER_RIGHT

      public static final Corner FORWARD_UPPER_RIGHT
    • BACK_LOWER_LEFT

      public static final Corner BACK_LOWER_LEFT
    • BACK_LOWER_RIGHT

      public static final Corner BACK_LOWER_RIGHT
    • BACK_UPPER_LEFT

      public static final Corner BACK_UPPER_LEFT
    • BACK_UPPER_RIGHT

      public static final Corner BACK_UPPER_RIGHT
  • Field Details

    • x

      public final net.minecraft.core.Direction x
    • y

      public final net.minecraft.core.Direction y
    • z

      public final net.minecraft.core.Direction z
  • Method Details

    • values

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