Enum Class Mirror

java.lang.Object
java.lang.Enum<Mirror>
net.minecraft.util.Mirror
All Implemented Interfaces:
Serializable, Comparable<Mirror>, Constable

public enum Mirror extends Enum<Mirror>
  • Enum Constant Details

    • NONE

      public static final Mirror NONE
    • LEFT_RIGHT

      public static final Mirror LEFT_RIGHT
    • FRONT_BACK

      public static final Mirror FRONT_BACK
  • Field Details

  • Constructor Details

  • Method Details

    • values

      public static Mirror[] 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 Mirror 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
    • mirror

      public int mirror(int p_185802_1_, int p_185802_2_)
    • getRotation

      public Rotation getRotation(Direction p_185800_1_)
    • mirror

      public Direction mirror(Direction p_185803_1_)
    • rotation

      public Orientation rotation()