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