类 ModelVariant
- java.lang.Object
-
- net.minecraft.client.render.model.json.ModelVariant
-
- 所有已实现的接口:
ModelBakeSettings
@Environment(CLIENT) public class ModelVariant extends Object implements ModelBakeSettings
- Mappings:
Namespace Name official eniintermediary net/minecraft/class_813named net/minecraft/client/render/model/json/ModelVariant
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classModelVariant.Deserializer
-
字段概要
字段 修饰符和类型 字段 说明 private Identifierlocationprivate AffineTransformationrotationprivate booleanuvLockprivate intweight
-
构造器概要
构造器 构造器 说明 ModelVariant(Identifier location, AffineTransformation rotation, boolean uvLock, int weight)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object o)IdentifiergetLocation()AffineTransformationgetRotation()intgetWeight()inthashCode()booleanisUvLocked()StringtoString()
-
-
-
字段详细资料
-
location
private final Identifier location
- Mappings:
Namespace Name Mixin selector official aLeni;a:Lwp;intermediary field_4326Lnet/minecraft/class_813;field_4326:Lnet/minecraft/class_2960;named locationLnet/minecraft/client/render/model/json/ModelVariant;location:Lnet/minecraft/util/Identifier;
-
rotation
private final AffineTransformation rotation
- Mappings:
Namespace Name Mixin selector official bLeni;b:Li;intermediary field_4328Lnet/minecraft/class_813;field_4328:Lnet/minecraft/class_4590;named rotationLnet/minecraft/client/render/model/json/ModelVariant;rotation:Lnet/minecraft/util/math/AffineTransformation;
-
uvLock
private final boolean uvLock
- Mappings:
Namespace Name Mixin selector official cLeni;c:Zintermediary field_4327Lnet/minecraft/class_813;field_4327:Znamed uvLockLnet/minecraft/client/render/model/json/ModelVariant;uvLock:Z
-
weight
private final int weight
- Mappings:
Namespace Name Mixin selector official dLeni;d:Iintermediary field_4325Lnet/minecraft/class_813;field_4325:Inamed weightLnet/minecraft/client/render/model/json/ModelVariant;weight:I
-
-
构造器详细资料
-
ModelVariant
public ModelVariant(Identifier location, AffineTransformation rotation, boolean uvLock, int weight)
- Mappings:
Namespace Name Mixin selector official <init>Leni;<init>(Lwp;Li;ZI)Vintermediary <init>Lnet/minecraft/class_813;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_4590;ZI)Vnamed <init>Lnet/minecraft/client/render/model/json/ModelVariant;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/util/math/AffineTransformation;ZI)V
-
-
方法详细资料
-
getLocation
public Identifier getLocation()
- Mappings:
Namespace Name Mixin selector official aLeni;a()Lwp;intermediary method_3510Lnet/minecraft/class_813;method_3510()Lnet/minecraft/class_2960;named getLocationLnet/minecraft/client/render/model/json/ModelVariant;getLocation()Lnet/minecraft/util/Identifier;
-
getRotation
public AffineTransformation getRotation()
- 指定者:
getRotation在接口中ModelBakeSettings- Mappings:
Namespace Name Mixin selector official bLexw;b()Li;intermediary method_3509Lnet/minecraft/class_3665;method_3509()Lnet/minecraft/class_4590;named getRotationLnet/minecraft/client/render/model/ModelBakeSettings;getRotation()Lnet/minecraft/util/math/AffineTransformation;
-
isUvLocked
public boolean isUvLocked()
- 指定者:
isUvLocked在接口中ModelBakeSettings- Mappings:
Namespace Name Mixin selector official cLexw;c()Zintermediary method_3512Lnet/minecraft/class_3665;method_3512()Znamed isUvLockedLnet/minecraft/client/render/model/ModelBakeSettings;isUvLocked()Z
-
getWeight
public int getWeight()
- Mappings:
Namespace Name Mixin selector official dLeni;d()Iintermediary method_3511Lnet/minecraft/class_813;method_3511()Inamed getWeightLnet/minecraft/client/render/model/json/ModelVariant;getWeight()I
-
toString
public String toString()
-
equals
public boolean equals(Object o)
-
-