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$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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description DirectiongetDirection()intgetOffsetX()intgetOffsetY()private booleanisVertical()static ItemModelGenerator.SidevalueOf(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 aLeis$b;a:Leis$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 bLeis$b;b:Leis$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 cLeis$b;c:Leis$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 dLeis$b;d:Leis$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 eLeis$b;e:Lgc;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 fLeis$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 gLeis$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>Leis$b;<init>(Ljava/lang/String;ILgc;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 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 aLeis$b;a()Lgc;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 bLeis$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 cLeis$b;c()Iintermediary method_3489Lnet/minecraft/class_801$class_803;method_3489()Inamed getOffsetYLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetY()I
-
isVertical
private boolean isVertical()- Mappings:
Namespace Name Mixin selector official dLeis$b;d()Zintermediary method_3491Lnet/minecraft/class_801$class_803;method_3491()Znamed isVerticalLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;isVertical()Z
-