Class VillagerResemblingModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<VillagerEntityRenderState>
net.minecraft.client.render.entity.model.VillagerResemblingModel
- All Implemented Interfaces:
ModelWithHat,ModelWithHead
@Environment(CLIENT)
public class VillagerResemblingModel
extends EntityModel<VillagerEntityRenderState>
implements ModelWithHead, ModelWithHat
Represents the model of a villager resembling entity.
- Mappings:
Namespace Name named net/minecraft/client/render/entity/model/VillagerResemblingModelintermediary net/minecraft/class_620official gpv
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.model.Model
Model.SinglePartModel -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ModelPartstatic final ModelTransformerprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartFields inherited from class net.minecraft.client.render.entity.model.EntityModel
field_52908Fields inherited from class net.minecraft.client.model.Model
layerFactory, root -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHead()Gets the head model part.static ModelDatavoidrotateArms(MatrixStack stack) voidsetAngles(VillagerEntityRenderState villagerEntityRenderState) voidsetHatVisible(boolean visible) Sets whether the hat is visible or not.Methods inherited from class net.minecraft.client.model.Model
getLayer, getParts, getRootPart, render, render, resetTransforms
-
Field Details
-
BABY_TRANSFORMER
- Mappings:
Namespace Name Mixin selector named BABY_TRANSFORMERLnet/minecraft/client/render/entity/model/VillagerResemblingModel;BABY_TRANSFORMER:Lnet/minecraft/client/render/entity/model/ModelTransformer;intermediary field_55116Lnet/minecraft/class_620;field_55116:Lnet/minecraft/class_9953;official aLgpv;a:Lgqv;
-
head
- Mappings:
Namespace Name Mixin selector named headLnet/minecraft/client/render/entity/model/VillagerResemblingModel;head:Lnet/minecraft/client/model/ModelPart;intermediary field_27527Lnet/minecraft/class_620;field_27527:Lnet/minecraft/class_630;official bLgpv;b:Lgqm;
-
hat
- Mappings:
Namespace Name Mixin selector named hatLnet/minecraft/client/render/entity/model/VillagerResemblingModel;hat:Lnet/minecraft/client/model/ModelPart;intermediary field_27528Lnet/minecraft/class_620;field_27528:Lnet/minecraft/class_630;official cLgpv;c:Lgqm;
-
hatRim
- Mappings:
Namespace Name Mixin selector named hatRimLnet/minecraft/client/render/entity/model/VillagerResemblingModel;hatRim:Lnet/minecraft/client/model/ModelPart;intermediary field_27529Lnet/minecraft/class_620;field_27529:Lnet/minecraft/class_630;official dLgpv;d:Lgqm;
-
rightLeg
- Mappings:
Namespace Name Mixin selector named rightLegLnet/minecraft/client/render/entity/model/VillagerResemblingModel;rightLeg:Lnet/minecraft/client/model/ModelPart;intermediary field_27530Lnet/minecraft/class_620;field_27530:Lnet/minecraft/class_630;official eLgpv;e:Lgqm;
-
leftLeg
- Mappings:
Namespace Name Mixin selector named leftLegLnet/minecraft/client/render/entity/model/VillagerResemblingModel;leftLeg:Lnet/minecraft/client/model/ModelPart;intermediary field_27531Lnet/minecraft/class_620;field_27531:Lnet/minecraft/class_630;official fLgpv;f:Lgqm;
-
arms
- Mappings:
Namespace Name Mixin selector named armsLnet/minecraft/client/render/entity/model/VillagerResemblingModel;arms:Lnet/minecraft/client/model/ModelPart;intermediary field_55117Lnet/minecraft/class_620;field_55117:Lnet/minecraft/class_630;official gLgpv;g:Lgqm;
-
-
Constructor Details
-
VillagerResemblingModel
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/entity/model/EntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)Vintermediary <init>Lnet/minecraft/class_583;<init>(Lnet/minecraft/class_630;)Vofficial <init>Lgng;<init>(Lgqm;)V
-
-
Method Details
-
getModelData
- Mappings:
Namespace Name Mixin selector named getModelDataLnet/minecraft/client/render/entity/model/VillagerResemblingModel;getModelData()Lnet/minecraft/client/model/ModelData;intermediary method_32064Lnet/minecraft/class_620;method_32064()Lnet/minecraft/class_5609;official aLgpv;a()Lgqu;
-
setAngles
- Overrides:
setAnglesin classEntityModel<VillagerEntityRenderState>- Mappings:
Namespace Name Mixin selector named setAnglesLnet/minecraft/client/render/entity/model/VillagerResemblingModel;setAngles(Lnet/minecraft/client/render/entity/state/VillagerEntityRenderState;)Vintermediary method_62123Lnet/minecraft/class_620;method_62123(Lnet/minecraft/class_10080;)Vofficial aLgpv;a(Lhna;)V
-
getHead
Gets the head model part.- Specified by:
getHeadin interfaceModelWithHead- Returns:
- the head
- Mappings:
Namespace Name Mixin selector named getHeadLnet/minecraft/client/render/entity/model/ModelWithHead;getHead()Lnet/minecraft/client/model/ModelPart;intermediary method_2838Lnet/minecraft/class_3882;method_2838()Lnet/minecraft/class_630;official bLgns;b()Lgqm;
-
setHatVisible
public void setHatVisible(boolean visible) Sets whether the hat is visible or not.- Specified by:
setHatVisiblein interfaceModelWithHat- Parameters:
visible-trueif the hat is visible, otherwisefalse- Mappings:
Namespace Name Mixin selector named setHatVisibleLnet/minecraft/client/render/entity/model/ModelWithHat;setHatVisible(Z)Vintermediary method_17150Lnet/minecraft/class_3884;method_17150(Z)Vofficial aLgpu;a(Z)V
-
rotateArms
- Specified by:
rotateArmsin interfaceModelWithHat- Mappings:
Namespace Name Mixin selector named rotateArmsLnet/minecraft/client/render/entity/model/ModelWithHat;rotateArms(Lnet/minecraft/client/util/math/MatrixStack;)Vintermediary method_65191Lnet/minecraft/class_3884;method_65191(Lnet/minecraft/class_4587;)Vofficial aLgpu;a(Lfoc;)V
-