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$Sideintermediary net/minecraft/class_801$class_803official gev$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintint(package private) booleanstatic ItemModelGenerator.SideReturns the enum constant of this class with the specified name.static ItemModelGenerator.Side[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UP
- Mappings:
Namespace Name Mixin selector named UPLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;UP:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;intermediary field_4281Lnet/minecraft/class_801$class_803;field_4281:Lnet/minecraft/class_801$class_803;official aLgev$b;a:Lgev$b;
-
DOWN
- Mappings:
Namespace Name Mixin selector named DOWNLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;DOWN:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;intermediary field_4277Lnet/minecraft/class_801$class_803;field_4277:Lnet/minecraft/class_801$class_803;official bLgev$b;b:Lgev$b;
-
LEFT
- Mappings:
Namespace Name Mixin selector named LEFTLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;LEFT:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;intermediary field_4278Lnet/minecraft/class_801$class_803;field_4278:Lnet/minecraft/class_801$class_803;official cLgev$b;c:Lgev$b;
-
RIGHT
- Mappings:
Namespace Name Mixin selector named RIGHTLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;RIGHT:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;intermediary field_4283Lnet/minecraft/class_801$class_803;field_4283:Lnet/minecraft/class_801$class_803;official dLgev$b;d:Lgev$b;
-
-
Field Details
-
direction
- Mappings:
Namespace Name Mixin selector named directionLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;direction:Lnet/minecraft/util/math/Direction;intermediary field_4276Lnet/minecraft/class_801$class_803;field_4276:Lnet/minecraft/class_2350;official eLgev$b;e:Lje;
-
offsetX
private final int offsetX- Mappings:
Namespace Name Mixin selector named offsetXLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;offsetX:Iintermediary field_4280Lnet/minecraft/class_801$class_803;field_4280:Iofficial fLgev$b;f:I
-
offsetY
private final int offsetY- Mappings:
Namespace Name Mixin selector named offsetYLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;offsetY:Iintermediary field_4279Lnet/minecraft/class_801$class_803;field_4279:Iofficial gLgev$b;g:I
-
-
Constructor Details
-
Side
- 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)Vintermediary <init>Lnet/minecraft/class_801$class_803;<init>(Ljava/lang/String;ILnet/minecraft/class_2350;II)Vofficial <init>Lgev$b;<init>(Ljava/lang/String;ILje;II)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getDirection
- Mappings:
Namespace Name Mixin selector named getDirectionLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getDirection()Lnet/minecraft/util/math/Direction;intermediary method_3488Lnet/minecraft/class_801$class_803;method_3488()Lnet/minecraft/class_2350;official aLgev$b;a()Lje;
-
getOffsetX
public int getOffsetX()- Mappings:
Namespace Name Mixin selector named getOffsetXLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetX()Iintermediary method_3490Lnet/minecraft/class_801$class_803;method_3490()Iofficial bLgev$b;b()I
-
getOffsetY
public int getOffsetY()- Mappings:
Namespace Name Mixin selector named getOffsetYLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetY()Iintermediary method_3489Lnet/minecraft/class_801$class_803;method_3489()Iofficial cLgev$b;c()I
-
isVertical
boolean isVertical()- Mappings:
Namespace Name Mixin selector named isVerticalLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;isVertical()Zintermediary method_3491Lnet/minecraft/class_801$class_803;method_3491()Zofficial dLgev$b;d()Z
-