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 intermediary net/minecraft/class_801$class_803official fko$bnamed 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
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 intermediary field_4281Lnet/minecraft/class_801$class_803;field_4281:Lnet/minecraft/class_801$class_803;official aLfko$b;a:Lfko$b;named UPLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;UP:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
-
DOWN
- Mappings:
Namespace Name Mixin selector intermediary field_4277Lnet/minecraft/class_801$class_803;field_4277:Lnet/minecraft/class_801$class_803;official bLfko$b;b:Lfko$b;named DOWNLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;DOWN:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
-
LEFT
- Mappings:
Namespace Name Mixin selector intermediary field_4278Lnet/minecraft/class_801$class_803;field_4278:Lnet/minecraft/class_801$class_803;official cLfko$b;c:Lfko$b;named LEFTLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;LEFT:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
-
RIGHT
- Mappings:
Namespace Name Mixin selector intermediary field_4283Lnet/minecraft/class_801$class_803;field_4283:Lnet/minecraft/class_801$class_803;official dLfko$b;d:Lfko$b;named RIGHTLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;RIGHT:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
-
-
Field Details
-
direction
- Mappings:
Namespace Name Mixin selector intermediary field_4276Lnet/minecraft/class_801$class_803;field_4276:Lnet/minecraft/class_2350;official eLfko$b;e:Lha;named directionLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;direction:Lnet/minecraft/util/math/Direction;
-
offsetX
private final int offsetX- Mappings:
Namespace Name Mixin selector intermediary field_4280Lnet/minecraft/class_801$class_803;field_4280:Iofficial fLfko$b;f:Inamed offsetXLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;offsetX:I
-
offsetY
private final int offsetY- Mappings:
Namespace Name Mixin selector intermediary field_4279Lnet/minecraft/class_801$class_803;field_4279:Iofficial gLfko$b;g:Inamed offsetYLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;offsetY:I
-
-
Constructor Details
-
Side
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_801$class_803;<init>(Ljava/lang/String;ILnet/minecraft/class_2350;II)Vofficial <init>Lfko$b;<init>(Ljava/lang/String;ILha;II)Vnamed <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 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 intermediary method_3488Lnet/minecraft/class_801$class_803;method_3488()Lnet/minecraft/class_2350;official aLfko$b;a()Lha;named getDirectionLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getDirection()Lnet/minecraft/util/math/Direction;
-
getOffsetX
public int getOffsetX()- Mappings:
Namespace Name Mixin selector intermediary method_3490Lnet/minecraft/class_801$class_803;method_3490()Iofficial bLfko$b;b()Inamed getOffsetXLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetX()I
-
getOffsetY
public int getOffsetY()- Mappings:
Namespace Name Mixin selector intermediary method_3489Lnet/minecraft/class_801$class_803;method_3489()Iofficial cLfko$b;c()Inamed getOffsetYLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetY()I
-
isVertical
boolean isVertical()- Mappings:
Namespace Name Mixin selector intermediary method_3491Lnet/minecraft/class_801$class_803;method_3491()Zofficial dLfko$b;d()Znamed isVerticalLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;isVertical()Z
-