Enum Class ItemModelGenerator.SpanFacing

java.lang.Object
java.lang.Enum<ItemModelGenerator.SpanFacing>
net.minecraft.client.renderer.model.ItemModelGenerator.SpanFacing
All Implemented Interfaces:
Serializable, Comparable<ItemModelGenerator.SpanFacing>, Constable
Enclosing class:
ItemModelGenerator

static enum ItemModelGenerator.SpanFacing extends Enum<ItemModelGenerator.SpanFacing>
  • Enum Constant Details

  • Field Details

    • direction

      private final Direction direction
    • xOffset

      private final int xOffset
    • yOffset

      private final int yOffset
  • Constructor Details

    • SpanFacing

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

    • values

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

      public Direction getDirection()
    • getXOffset

      public int getXOffset()
    • getYOffset

      public int getYOffset()
    • isHorizontal

      private boolean isHorizontal()