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 bgp$bintermediary net/minecraft/class_1075$class_1077named 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
Fields Modifier and Type Field Description private Directionfield_4616private intoffsetXprivate intoffsetY -
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 aLbgp$b;a:Lbgp$b;intermediary field_4612Lnet/minecraft/class_1075$class_1077;field_4612:Lnet/minecraft/class_1075$class_1077;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 bLbgp$b;b:Lbgp$b;intermediary field_4613Lnet/minecraft/class_1075$class_1077;field_4613:Lnet/minecraft/class_1075$class_1077;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 cLbgp$b;c:Lbgp$b;intermediary field_4614Lnet/minecraft/class_1075$class_1077;field_4614:Lnet/minecraft/class_1075$class_1077;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 dLbgp$b;d:Lbgp$b;intermediary field_4615Lnet/minecraft/class_1075$class_1077;field_4615:Lnet/minecraft/class_1075$class_1077;named RIGHTLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;RIGHT:Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;
-
-
Field Details
-
field_4616
- Mappings:
Namespace Name Mixin selector official eLbgp$b;e:Lcq;intermediary field_4616Lnet/minecraft/class_1075$class_1077;field_4616:Lnet/minecraft/class_1383;named field_4616Lnet/minecraft/client/render/model/json/ItemModelGenerator$Side;field_4616:Lnet/minecraft/util/math/Direction;
-
offsetX
private final int offsetX- Mappings:
Namespace Name Mixin selector official fLbgp$b;f:Iintermediary field_4617Lnet/minecraft/class_1075$class_1077;field_4617:Inamed offsetXLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;offsetX:I
-
offsetY
private final int offsetY- Mappings:
Namespace Name Mixin selector official gLbgp$b;g:Iintermediary field_4618Lnet/minecraft/class_1075$class_1077;field_4618:Inamed offsetYLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;offsetY:I
-
-
Constructor Details
-
Side
-
-
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 aLbgp$b;a()Lcq;intermediary method_3716Lnet/minecraft/class_1075$class_1077;method_3716()Lnet/minecraft/class_1383;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 bLbgp$b;b()Iintermediary method_3718Lnet/minecraft/class_1075$class_1077;method_3718()Inamed getOffsetXLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetX()I
-
getOffsetY
public int getOffsetY()- Mappings:
Namespace Name Mixin selector official cLbgp$b;c()Iintermediary method_3719Lnet/minecraft/class_1075$class_1077;method_3719()Inamed getOffsetYLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;getOffsetY()I
-
isVertical
private boolean isVertical()- Mappings:
Namespace Name Mixin selector official dLbgp$b;d()Zintermediary method_3720Lnet/minecraft/class_1075$class_1077;method_3720()Znamed isVerticalLnet/minecraft/client/render/model/json/ItemModelGenerator$Side;isVertical()Z
-