Enum ItemModelGenerator.SpanFacing

    • Field Detail

      • direction

        private final Direction direction
      • xOffset

        private final int xOffset
      • yOffset

        private final int yOffset
    • Constructor Detail

      • SpanFacing

        private SpanFacing​(Direction p_i46215_3_,
                           int p_i46215_4_,
                           int p_i46215_5_)
    • Method Detail

      • values

        public static ItemModelGenerator.SpanFacing[] 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 (ItemModelGenerator.SpanFacing c : ItemModelGenerator.SpanFacing.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ItemModelGenerator.SpanFacing 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
      • getDirection

        public Direction getDirection()
      • getXOffset

        public int getXOffset()
      • getYOffset

        public int getYOffset()
      • isHorizontal

        private boolean isHorizontal()