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) private static enum ItemModelGenerator.Side extends Enum<ItemModelGenerator.Side>
Mappings:
Namespace Name
named net/minecraft/client/render/model/json/ItemModelGenerator$Side
intermediary net/minecraft/class_801$class_803
official gfk$b
  • Enum Constant Details

    • UP

      public static final ItemModelGenerator.Side UP
      Mappings:
      Namespace Name Mixin selector
      named UP Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;UP:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
      intermediary field_4281 Lnet/minecraft/class_801$class_803;field_4281:Lnet/minecraft/class_801$class_803;
      official a Lgfk$b;a:Lgfk$b;
    • DOWN

      public static final ItemModelGenerator.Side DOWN
      Mappings:
      Namespace Name Mixin selector
      named DOWN Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;DOWN:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
      intermediary field_4277 Lnet/minecraft/class_801$class_803;field_4277:Lnet/minecraft/class_801$class_803;
      official b Lgfk$b;b:Lgfk$b;
    • LEFT

      public static final ItemModelGenerator.Side LEFT
      Mappings:
      Namespace Name Mixin selector
      named LEFT Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;LEFT:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
      intermediary field_4278 Lnet/minecraft/class_801$class_803;field_4278:Lnet/minecraft/class_801$class_803;
      official c Lgfk$b;c:Lgfk$b;
  • Field Details

    • direction

      private final Direction direction
      Mappings:
      Namespace Name Mixin selector
      named direction Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;direction:Lnet/minecraft/util/math/Direction;
      intermediary field_4276 Lnet/minecraft/class_801$class_803;field_4276:Lnet/minecraft/class_2350;
      official e Lgfk$b;e:Ljf;
    • offsetX

      private final int offsetX
      Mappings:
      Namespace Name Mixin selector
      named offsetX Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;offsetX:I
      intermediary field_4280 Lnet/minecraft/class_801$class_803;field_4280:I
      official f Lgfk$b;f:I
    • offsetY

      private final int offsetY
      Mappings:
      Namespace Name Mixin selector
      named offsetY Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;offsetY:I
      intermediary field_4279 Lnet/minecraft/class_801$class_803;field_4279:I
      official g Lgfk$b;g:I
  • Constructor Details

    • Side

      private Side(Direction direction, int offsetX, int offsetY)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;<init>(Ljava/lang/String;ILnet/minecraft/util/math/Direction;II)V
      intermediary <init> Lnet/minecraft/class_801$class_803;<init>(Ljava/lang/String;ILnet/minecraft/class_2350;II)V
      official <init> Lgfk$b;<init>(Ljava/lang/String;ILjf;II)V
  • 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
      named getDirection Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getDirection()Lnet/minecraft/util/math/Direction;
      intermediary method_3488 Lnet/minecraft/class_801$class_803;method_3488()Lnet/minecraft/class_2350;
      official a Lgfk$b;a()Ljf;
    • getOffsetX

      public int getOffsetX()
      Mappings:
      Namespace Name Mixin selector
      named getOffsetX Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetX()I
      intermediary method_3490 Lnet/minecraft/class_801$class_803;method_3490()I
      official b Lgfk$b;b()I
    • getOffsetY

      public int getOffsetY()
      Mappings:
      Namespace Name Mixin selector
      named getOffsetY Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetY()I
      intermediary method_3489 Lnet/minecraft/class_801$class_803;method_3489()I
      official c Lgfk$b;c()I
    • isVertical

      boolean isVertical()
      Mappings:
      Namespace Name Mixin selector
      named isVertical Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;isVertical()Z
      intermediary method_3491 Lnet/minecraft/class_801$class_803;method_3491()Z
      official d Lgfk$b;d()Z