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 eis$b
intermediary net/minecraft/class_801$class_803
named net/minecraft/client/render/model/json/ItemModelGenerator$Side
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Direction
getDirection()
int
getOffsetX()
int
getOffsetY()
private boolean
isVertical()
static ItemModelGenerator.Side
valueOf(String name)
Returns the enum constant of this type with the specified name.static ItemModelGenerator.Side[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UP
- Mappings:
Namespace Name Mixin selector official a
Leis$b;a:Leis$b;
intermediary field_4281
Lnet/minecraft/class_801$class_803;field_4281:Lnet/minecraft/class_801$class_803;
named UP
Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;UP:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
-
DOWN
- Mappings:
Namespace Name Mixin selector official b
Leis$b;b:Leis$b;
intermediary field_4277
Lnet/minecraft/class_801$class_803;field_4277:Lnet/minecraft/class_801$class_803;
named DOWN
Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;DOWN:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
-
LEFT
- Mappings:
Namespace Name Mixin selector official c
Leis$b;c:Leis$b;
intermediary field_4278
Lnet/minecraft/class_801$class_803;field_4278:Lnet/minecraft/class_801$class_803;
named LEFT
Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;LEFT:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
-
RIGHT
- Mappings:
Namespace Name Mixin selector official d
Leis$b;d:Leis$b;
intermediary field_4283
Lnet/minecraft/class_801$class_803;field_4283:Lnet/minecraft/class_801$class_803;
named RIGHT
Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;RIGHT:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
-
-
Field Details
-
direction
- Mappings:
Namespace Name Mixin selector official e
Leis$b;e:Lgc;
intermediary field_4276
Lnet/minecraft/class_801$class_803;field_4276:Lnet/minecraft/class_2350;
named direction
Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;direction:Lnet/minecraft/util/math/Direction;
-
offsetX
private final int offsetX- Mappings:
Namespace Name Mixin selector official f
Leis$b;f:I
intermediary field_4280
Lnet/minecraft/class_801$class_803;field_4280: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
Leis$b;g:I
intermediary field_4279
Lnet/minecraft/class_801$class_803;field_4279:I
named offsetY
Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;offsetY:I
-
-
Constructor Details
-
Side
- Mappings:
Namespace Name Mixin selector official <init>
Leis$b;<init>(Ljava/lang/String;ILgc;II)V
intermediary <init>
Lnet/minecraft/class_801$class_803;<init>(Ljava/lang/String;ILnet/minecraft/class_2350;II)V
named <init>
Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;<init>(Ljava/lang/String;ILnet/minecraft/util/math/Direction;II)V
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getDirection
- Mappings:
Namespace Name Mixin selector official a
Leis$b;a()Lgc;
intermediary method_3488
Lnet/minecraft/class_801$class_803;method_3488()Lnet/minecraft/class_2350;
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
Leis$b;b()I
intermediary method_3490
Lnet/minecraft/class_801$class_803;method_3490()I
named getOffsetX
Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetX()I
-
getOffsetY
public int getOffsetY()- Mappings:
Namespace Name Mixin selector official c
Leis$b;c()I
intermediary method_3489
Lnet/minecraft/class_801$class_803;method_3489()I
named getOffsetY
Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetY()I
-
isVertical
private boolean isVertical()- Mappings:
Namespace Name Mixin selector official d
Leis$b;d()Z
intermediary method_3491
Lnet/minecraft/class_801$class_803;method_3491()Z
named isVertical
Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;isVertical()Z
-