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.CompositeEntityModel<T>
net.minecraft.client.render.entity.model.VillagerResemblingModel<T>
- All Implemented Interfaces:
Consumer<ModelPart>,ModelWithHat,ModelWithHead
- Direct Known Subclasses:
WitchEntityModel
@Environment(CLIENT) public class VillagerResemblingModel<T extends Entity> extends CompositeEntityModel<T> implements ModelWithHead, ModelWithHat
-
Field Summary
Fields Modifier and Type Field Description protected ModelPartarmsprotected ModelPartfield_17141protected ModelPartfield_17142protected ModelPartheadprotected ModelPartleftLegprotected ModelPartnoseprotected ModelPartrightLegprotected ModelPartrobeprotected ModelParttorsoFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory, textureHeight, textureWidth -
Constructor Summary
Constructors Constructor Description VillagerResemblingModel(float scale)VillagerResemblingModel(float scale, int textureWidth, int textureHeight) -
Method Summary
Methods inherited from class net.minecraft.client.render.entity.model.CompositeEntityModel
renderMethods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
head
-
field_17141
-
field_17142
-
torso
-
robe
-
arms
-
rightLeg
-
leftLeg
-
nose
-
-
Constructor Details
-
VillagerResemblingModel
public VillagerResemblingModel(float scale) -
VillagerResemblingModel
public VillagerResemblingModel(float scale, int textureWidth, int textureHeight)
-
-
Method Details
-
getParts
- Specified by:
getPartsin classCompositeEntityModel<T extends Entity>
-
setAngles
public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)- Specified by:
setAnglesin classEntityModel<T extends Entity>
-
getHead
- Specified by:
getHeadin interfaceModelWithHead
-
setHatVisible
public void setHatVisible(boolean visible)- Specified by:
setHatVisiblein interfaceModelWithHat
-