Class 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>
- All Implemented Interfaces:
ModelWithHat
,ModelWithHead
- Direct Known Subclasses:
WitchEntityModel
@Environment(CLIENT)
public class VillagerResemblingModel<T extends Entity>
extends SinglePartEntityModel<T>
implements ModelWithHead, ModelWithHat
Represents the model of a villager resembling entity.
- Mappings:
Namespace Name official fho
intermediary net/minecraft/class_620
named net/minecraft/client/render/entity/model/VillagerResemblingModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
protected final ModelPart
private final ModelPart
private final ModelPart
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.client.render.entity.model.SinglePartEntityModel
animate, animateMovement, getChild, render, updateAnimation, updateAnimation
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
root
- Mappings:
Namespace Name Mixin selector official b
Lfho;b:Lfic;
intermediary field_27526
Lnet/minecraft/class_620;field_27526:Lnet/minecraft/class_630;
named root
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;root:Lnet/minecraft/client/model/ModelPart;
-
head
- Mappings:
Namespace Name Mixin selector official f
Lfho;f:Lfic;
intermediary field_27527
Lnet/minecraft/class_620;field_27527:Lnet/minecraft/class_630;
named head
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;head:Lnet/minecraft/client/model/ModelPart;
-
hat
- Mappings:
Namespace Name Mixin selector official g
Lfho;g:Lfic;
intermediary field_27528
Lnet/minecraft/class_620;field_27528:Lnet/minecraft/class_630;
named hat
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;hat:Lnet/minecraft/client/model/ModelPart;
-
hatRim
- Mappings:
Namespace Name Mixin selector official h
Lfho;h:Lfic;
intermediary field_27529
Lnet/minecraft/class_620;field_27529:Lnet/minecraft/class_630;
named hatRim
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;hatRim:Lnet/minecraft/client/model/ModelPart;
-
rightLeg
- Mappings:
Namespace Name Mixin selector official i
Lfho;i:Lfic;
intermediary field_27530
Lnet/minecraft/class_620;field_27530:Lnet/minecraft/class_630;
named rightLeg
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;rightLeg:Lnet/minecraft/client/model/ModelPart;
-
leftLeg
- Mappings:
Namespace Name Mixin selector official j
Lfho;j:Lfic;
intermediary field_27531
Lnet/minecraft/class_620;field_27531:Lnet/minecraft/class_630;
named leftLeg
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;leftLeg:Lnet/minecraft/client/model/ModelPart;
-
nose
- Mappings:
Namespace Name Mixin selector official a
Lfho;a:Lfic;
intermediary field_27525
Lnet/minecraft/class_620;field_27525:Lnet/minecraft/class_630;
named nose
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;nose:Lnet/minecraft/client/model/ModelPart;
-
-
Constructor Details
-
VillagerResemblingModel
- Mappings:
Namespace Name Mixin selector official <init>
Lfho;<init>(Lfic;)V
intermediary <init>
Lnet/minecraft/class_620;<init>(Lnet/minecraft/class_630;)V
named <init>
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
-
Method Details
-
getModelData
- Mappings:
Namespace Name Mixin selector official b
Lfho;b()Lfik;
intermediary method_32064
Lnet/minecraft/class_620;method_32064()Lnet/minecraft/class_5609;
named getModelData
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;getModelData()Lnet/minecraft/client/model/ModelData;
-
getPart
- Specified by:
getPart
in classSinglePartEntityModel<T extends Entity>
- Mappings:
Namespace Name Mixin selector official a
Lffm;a()Lfic;
intermediary method_32008
Lnet/minecraft/class_5597;method_32008()Lnet/minecraft/class_630;
named getPart
Lnet/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) - Specified by:
setAngles
in classEntityModel<T extends Entity>
- Mappings:
Namespace Name Mixin selector official a
Lffd;a(Lbiq;FFFFF)V
intermediary method_2819
Lnet/minecraft/class_583;method_2819(Lnet/minecraft/class_1297;FFFFF)V
named setAngles
Lnet/minecraft/client/render/entity/model/EntityModel;setAngles(Lnet/minecraft/entity/Entity;FFFFF)V
-
getHead
Gets the head model part.- Specified by:
getHead
in interfaceModelWithHead
- Returns:
- the head
- Mappings:
Namespace Name Mixin selector official d
Lffl;d()Lfic;
intermediary method_2838
Lnet/minecraft/class_3882;method_2838()Lnet/minecraft/class_630;
named getHead
Lnet/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.- Specified by:
setHatVisible
in interfaceModelWithHat
- Parameters:
visible
-true
if the hat is visible, otherwisefalse
- Mappings:
Namespace Name Mixin selector official a
Lfhn;a(Z)V
intermediary method_17150
Lnet/minecraft/class_3884;method_17150(Z)V
named setHatVisible
Lnet/minecraft/client/render/entity/model/ModelWithHat;setHatVisible(Z)V
-