Enum ModelRotation

    • Field Detail

      • BY_INDEX

        private static final java.util.Map<java.lang.Integer,​ModelRotation> BY_INDEX
      • actualRotation

        private final Orientation actualRotation
      • index

        private final int index
    • Constructor Detail

      • ModelRotation

        private ModelRotation​(int p_i46087_3_,
                              int p_i46087_4_)
    • Method Detail

      • values

        public static ModelRotation[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ModelRotation c : ModelRotation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ModelRotation valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getIndex

        private static int getIndex​(int p_177521_0_,
                                    int p_177521_1_)
      • by

        public static ModelRotation by​(int p_177524_0_,
                                       int p_177524_1_)