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/VillagerResemblingModel
intermediary net/minecraft/class_620
official gdx
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.model.Model
Model.SinglePartModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
field_52908
Fields inherited from class net.minecraft.client.model.Model
layerFactory, root
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHead()
Gets the head model part.static ModelData
void
setAngles
(VillagerEntityRenderState villagerEntityRenderState) void
setHatVisible
(boolean visible) Sets whether the hat is visible or not.Methods inherited from class net.minecraft.client.model.Model
animate, animate, animate, animateWalking, getLayer, getPart, getParts, getRootPart, render, render, resetTransforms
-
Field Details
-
head
- Mappings:
Namespace Name Mixin selector named head
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;head:Lnet/minecraft/client/model/ModelPart;
intermediary field_27527
Lnet/minecraft/class_620;field_27527:Lnet/minecraft/class_630;
official a
Lgdx;a:Lgen;
-
hat
- Mappings:
Namespace Name Mixin selector named hat
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;hat:Lnet/minecraft/client/model/ModelPart;
intermediary field_27528
Lnet/minecraft/class_620;field_27528:Lnet/minecraft/class_630;
official b
Lgdx;b:Lgen;
-
hatRim
- Mappings:
Namespace Name Mixin selector named hatRim
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;hatRim:Lnet/minecraft/client/model/ModelPart;
intermediary field_27529
Lnet/minecraft/class_620;field_27529:Lnet/minecraft/class_630;
official c
Lgdx;c:Lgen;
-
rightLeg
- Mappings:
Namespace Name Mixin selector named rightLeg
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;rightLeg:Lnet/minecraft/client/model/ModelPart;
intermediary field_27530
Lnet/minecraft/class_620;field_27530:Lnet/minecraft/class_630;
official d
Lgdx;d:Lgen;
-
leftLeg
- Mappings:
Namespace Name Mixin selector named leftLeg
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;leftLeg:Lnet/minecraft/client/model/ModelPart;
intermediary field_27531
Lnet/minecraft/class_620;field_27531:Lnet/minecraft/class_630;
official e
Lgdx;e:Lgen;
-
-
Constructor Details
-
VillagerResemblingModel
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/model/EntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
intermediary <init>
Lnet/minecraft/class_583;<init>(Lnet/minecraft/class_630;)V
official <init>
Lgbl;<init>(Lgen;)V
-
-
Method Details
-
getModelData
- Mappings:
Namespace Name Mixin selector named getModelData
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;getModelData()Lnet/minecraft/client/model/ModelData;
intermediary method_32064
Lnet/minecraft/class_620;method_32064()Lnet/minecraft/class_5609;
official a
Lgdx;a()Lgev;
-
setAngles
- Overrides:
setAngles
in classEntityModel<VillagerEntityRenderState>
- Mappings:
Namespace Name Mixin selector named setAngles
Lnet/minecraft/client/render/entity/model/VillagerResemblingModel;setAngles(Lnet/minecraft/client/render/entity/state/VillagerEntityRenderState;)V
intermediary method_62123
Lnet/minecraft/class_620;method_62123(Lnet/minecraft/class_10080;)V
official a
Lgdx;a(Lhad;)V
-
getHead
Gets the head model part.- Specified by:
getHead
in interfaceModelWithHead
- Returns:
- the head
- Mappings:
Namespace Name Mixin selector named getHead
Lnet/minecraft/client/render/entity/model/ModelWithHead;getHead()Lnet/minecraft/client/model/ModelPart;
intermediary method_2838
Lnet/minecraft/class_3882;method_2838()Lnet/minecraft/class_630;
official b
Lgbu;b()Lgen;
-
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 named setHatVisible
Lnet/minecraft/client/render/entity/model/ModelWithHat;setHatVisible(Z)V
intermediary method_17150
Lnet/minecraft/class_3884;method_17150(Z)V
official a
Lgdw;a(Z)V
-