Enum Class ModelRotation

All Implemented Interfaces:
Serializable, Comparable<ModelRotation>, Constable, IModelTransform, IForgeModelTransform

public enum ModelRotation extends Enum<ModelRotation> implements IModelTransform
  • Enum Constant Details

  • Field Details

  • Constructor Details

    • ModelRotation

      private ModelRotation(int p_i46087_3_, int p_i46087_4_)
  • Method Details

    • values

      public static ModelRotation[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ModelRotation 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getIndex

      private static int getIndex(int p_177521_0_, int p_177521_1_)
    • getRotation

      public TransformationMatrix getRotation()
      Specified by:
      getRotation in interface IModelTransform
    • by

      public static ModelRotation by(int p_177524_0_, int p_177524_1_)