Enum Class ItemModelGenerator.Side

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

@Environment(CLIENT) static enum ItemModelGenerator.Side extends Enum<ItemModelGenerator.Side>
Mappings:
Namespace Name
official bol$b
intermediary net/minecraft/class_2457$class_2459
named net/minecraft/client/render/model/json/ItemModelGenerator$Side
  • Enum Constant Details

    • UP

      public static final ItemModelGenerator.Side UP
      Mappings:
      Namespace Name Mixin selector
      official a Lbol$b;a:Lbol$b;
      intermediary field_10960 Lnet/minecraft/class_2457$class_2459;field_10960:Lnet/minecraft/class_2457$class_2459;
      named UP Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;UP:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
    • DOWN

      public static final ItemModelGenerator.Side DOWN
      Mappings:
      Namespace Name Mixin selector
      official b Lbol$b;b:Lbol$b;
      intermediary field_10961 Lnet/minecraft/class_2457$class_2459;field_10961:Lnet/minecraft/class_2457$class_2459;
      named DOWN Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;DOWN:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
    • LEFT

      public static final ItemModelGenerator.Side LEFT
      Mappings:
      Namespace Name Mixin selector
      official c Lbol$b;c:Lbol$b;
      intermediary field_10962 Lnet/minecraft/class_2457$class_2459;field_10962:Lnet/minecraft/class_2457$class_2459;
      named LEFT Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;LEFT:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
  • Field Details

    • field_10964

      private final Direction field_10964
      Mappings:
      Namespace Name Mixin selector
      official e Lbol$b;e:Lcs;
      intermediary field_10964 Lnet/minecraft/class_2457$class_2459;field_10964:Lnet/minecraft/class_1354;
      named field_10964 Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;field_10964:Lnet/minecraft/util/math/Direction;
    • offsetX

      private final int offsetX
      Mappings:
      Namespace Name Mixin selector
      official f Lbol$b;f:I
      intermediary field_10965 Lnet/minecraft/class_2457$class_2459;field_10965:I
      named offsetX Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;offsetX:I
    • offsetY

      private final int offsetY
      Mappings:
      Namespace Name Mixin selector
      official g Lbol$b;g:I
      intermediary field_10966 Lnet/minecraft/class_2457$class_2459;field_10966:I
      named offsetY Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;offsetY:I
  • Constructor Details

    • Side

      private Side(Direction direction, int int2, int int3)
  • Method Details

    • values

      public static ItemModelGenerator.Side[] 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.Side 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()
      Mappings:
      Namespace Name Mixin selector
      official a Lbol$b;a()Lcs;
      intermediary method_10075 Lnet/minecraft/class_2457$class_2459;method_10075()Lnet/minecraft/class_1354;
      named getDirection Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getDirection()Lnet/minecraft/util/math/Direction;
    • getOffsetX

      public int getOffsetX()
      Mappings:
      Namespace Name Mixin selector
      official b Lbol$b;b()I
      intermediary method_10077 Lnet/minecraft/class_2457$class_2459;method_10077()I
      named getOffsetX Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetX()I
    • getOffsetY

      public int getOffsetY()
      Mappings:
      Namespace Name Mixin selector
      official c Lbol$b;c()I
      intermediary method_10078 Lnet/minecraft/class_2457$class_2459;method_10078()I
      named getOffsetY Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetY()I
    • isVertical

      private boolean isVertical()
      Mappings:
      Namespace Name Mixin selector
      official d Lbol$b;d()Z
      intermediary method_10079 Lnet/minecraft/class_2457$class_2459;method_10079()Z
      named isVertical Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;isVertical()Z