Enum 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>, java.lang.constant.Constable
Enclosing class:
ItemModelGenerator

@Environment(CLIENT)
static enum ItemModelGenerator.Side
extends Enum<ItemModelGenerator.Side>
Mappings:
Namespace Name
official bgp$b
intermediary net/minecraft/class_1075$class_1077
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 Lbgp$b;a:Lbgp$b;
      intermediary field_4612 Lnet/minecraft/class_1075$class_1077;field_4612:Lnet/minecraft/class_1075$class_1077;
      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 Lbgp$b;b:Lbgp$b;
      intermediary field_4613 Lnet/minecraft/class_1075$class_1077;field_4613:Lnet/minecraft/class_1075$class_1077;
      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 Lbgp$b;c:Lbgp$b;
      intermediary field_4614 Lnet/minecraft/class_1075$class_1077;field_4614:Lnet/minecraft/class_1075$class_1077;
      named LEFT Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;LEFT:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
  • Field Details

    • field_4616

      private final Direction field_4616
      Mappings:
      Namespace Name Mixin selector
      official e Lbgp$b;e:Lcq;
      intermediary field_4616 Lnet/minecraft/class_1075$class_1077;field_4616:Lnet/minecraft/class_1383;
      named field_4616 Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;field_4616:Lnet/minecraft/util/math/Direction;
    • offsetX

      private final int offsetX
      Mappings:
      Namespace Name Mixin selector
      official f Lbgp$b;f:I
      intermediary field_4617 Lnet/minecraft/class_1075$class_1077;field_4617: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 Lbgp$b;g:I
      intermediary field_4618 Lnet/minecraft/class_1075$class_1077;field_4618: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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ItemModelGenerator.Side valueOf​(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getDirection

      public Direction getDirection()
      Mappings:
      Namespace Name Mixin selector
      official a Lbgp$b;a()Lcq;
      intermediary method_3716 Lnet/minecraft/class_1075$class_1077;method_3716()Lnet/minecraft/class_1383;
      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 Lbgp$b;b()I
      intermediary method_3718 Lnet/minecraft/class_1075$class_1077;method_3718()I
      named getOffsetX Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetX()I
    • getOffsetY

      public int getOffsetY()
      Mappings:
      Namespace Name Mixin selector
      official c Lbgp$b;c()I
      intermediary method_3719 Lnet/minecraft/class_1075$class_1077;method_3719()I
      named getOffsetY Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetY()I
    • isVertical

      private boolean isVertical()
      Mappings:
      Namespace Name Mixin selector
      official d Lbgp$b;d()Z
      intermediary method_3720 Lnet/minecraft/class_1075$class_1077;method_3720()Z
      named isVertical Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;isVertical()Z