类 VillagerResemblingModel<T extends Entity>
- java.lang.Object
-
- net.minecraft.client.model.Model
-
- net.minecraft.client.render.entity.model.EntityModel<E>
-
- net.minecraft.client.render.entity.model.SinglePartEntityModel<T>
-
- net.minecraft.client.render.entity.model.VillagerResemblingModel<T>
-
- 所有已实现的接口:
ModelWithHat,ModelWithHead
- 直接已知子类:
WitchEntityModel
@Environment(CLIENT) public class VillagerResemblingModel<T extends Entity> extends SinglePartEntityModel<T> implements ModelWithHead, ModelWithHat
- Mappings:
Namespace Name official eguintermediary net/minecraft/class_620named net/minecraft/client/render/entity/model/VillagerResemblingModel
-
-
字段概要
字段 修饰符和类型 字段 说明 private ModelParthatprivate ModelParthatRimprivate ModelPartheadprivate ModelPartleftLegprotected ModelPartnoseprivate ModelPartrightLegprivate ModelPartroot-
从类继承的字段 net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
-
从类继承的字段 net.minecraft.client.model.Model
layerFactory
-
-
构造器概要
构造器 构造器 说明 VillagerResemblingModel(ModelPart root)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 ModelPartgetHead()Gets the head model part.static ModelDatagetModelData()ModelPartgetPart()voidsetAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)voidsetHatVisible(boolean visible)Sets whether the hat is visible or not.-
从类继承的方法 net.minecraft.client.render.entity.model.SinglePartEntityModel
render
-
从类继承的方法 net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
-
-
-
字段详细资料
-
root
private final ModelPart root
- Mappings:
Namespace Name Mixin selector official bLegu;b:Lehg;intermediary field_27526Lnet/minecraft/class_620;field_27526:Lnet/minecraft/class_630;named rootLnet/minecraft/client/render/entity/model/VillagerResemblingModel;root:Lnet/minecraft/client/model/ModelPart;
-
head
private final ModelPart head
- Mappings:
Namespace Name Mixin selector official fLegu;f:Lehg;intermediary field_27527Lnet/minecraft/class_620;field_27527:Lnet/minecraft/class_630;named headLnet/minecraft/client/render/entity/model/VillagerResemblingModel;head:Lnet/minecraft/client/model/ModelPart;
-
hat
private final ModelPart hat
- Mappings:
Namespace Name Mixin selector official gLegu;g:Lehg;intermediary field_27528Lnet/minecraft/class_620;field_27528:Lnet/minecraft/class_630;named hatLnet/minecraft/client/render/entity/model/VillagerResemblingModel;hat:Lnet/minecraft/client/model/ModelPart;
-
hatRim
private final ModelPart hatRim
- Mappings:
Namespace Name Mixin selector official hLegu;h:Lehg;intermediary field_27529Lnet/minecraft/class_620;field_27529:Lnet/minecraft/class_630;named hatRimLnet/minecraft/client/render/entity/model/VillagerResemblingModel;hatRim:Lnet/minecraft/client/model/ModelPart;
-
rightLeg
private final ModelPart rightLeg
- Mappings:
Namespace Name Mixin selector official iLegu;i:Lehg;intermediary field_27530Lnet/minecraft/class_620;field_27530:Lnet/minecraft/class_630;named rightLegLnet/minecraft/client/render/entity/model/VillagerResemblingModel;rightLeg:Lnet/minecraft/client/model/ModelPart;
-
leftLeg
private final ModelPart leftLeg
- Mappings:
Namespace Name Mixin selector official jLegu;j:Lehg;intermediary field_27531Lnet/minecraft/class_620;field_27531:Lnet/minecraft/class_630;named leftLegLnet/minecraft/client/render/entity/model/VillagerResemblingModel;leftLeg:Lnet/minecraft/client/model/ModelPart;
-
nose
protected final ModelPart nose
- Mappings:
Namespace Name Mixin selector official aLegu;a:Lehg;intermediary field_27525Lnet/minecraft/class_620;field_27525:Lnet/minecraft/class_630;named noseLnet/minecraft/client/render/entity/model/VillagerResemblingModel;nose:Lnet/minecraft/client/model/ModelPart;
-
-
构造器详细资料
-
VillagerResemblingModel
public VillagerResemblingModel(ModelPart root)
- Mappings:
Namespace Name Mixin selector official <init>Legu;<init>(Lehg;)Vintermediary <init>Lnet/minecraft/class_620;<init>(Lnet/minecraft/class_630;)Vnamed <init>Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
-
方法详细资料
-
getModelData
public static ModelData getModelData()
- Mappings:
Namespace Name Mixin selector official aLegu;a()Leho;intermediary method_32064Lnet/minecraft/class_620;method_32064()Lnet/minecraft/class_5609;named getModelDataLnet/minecraft/client/render/entity/model/VillagerResemblingModel;getModelData()Lnet/minecraft/client/model/ModelData;
-
getPart
public ModelPart getPart()
- 指定者:
getPart在类中SinglePartEntityModel<T extends Entity>- Mappings:
Namespace Name Mixin selector official bLeex;b()Lehg;intermediary method_32008Lnet/minecraft/class_5597;method_32008()Lnet/minecraft/class_630;named getPartLnet/minecraft/client/render/entity/model/SinglePartEntityModel;getPart()Lnet/minecraft/client/model/ModelPart;
-
setAngles
public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
- 指定者:
setAngles在类中EntityModel<T extends Entity>- Mappings:
Namespace Name Mixin selector official aLeep;a(Lasl;FFFFF)Vintermediary method_2819Lnet/minecraft/class_583;method_2819(Lnet/minecraft/class_1297;FFFFF)Vnamed setAnglesLnet/minecraft/client/render/entity/model/EntityModel;setAngles(Lnet/minecraft/entity/Entity;FFFFF)V
-
getHead
public ModelPart getHead()
Gets the head model part.- 指定者:
getHead在接口中ModelWithHead- 返回:
- the head
- Mappings:
Namespace Name Mixin selector official dLeew;d()Lehg;intermediary method_2838Lnet/minecraft/class_3882;method_2838()Lnet/minecraft/class_630;named getHeadLnet/minecraft/client/render/entity/model/ModelWithHead;getHead()Lnet/minecraft/client/model/ModelPart;
-
setHatVisible
public void setHatVisible(boolean visible)
Sets whether the hat is visible or not.- 指定者:
setHatVisible在接口中ModelWithHat- 参数:
visible-trueif the hat is visible, otherwisefalse- Mappings:
Namespace Name Mixin selector official aLegt;a(Z)Vintermediary method_17150Lnet/minecraft/class_3884;method_17150(Z)Vnamed setHatVisibleLnet/minecraft/client/render/entity/model/ModelWithHat;setHatVisible(Z)V
-
-