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
-
Field Summary
Fields Modifier and Type Field Description private ModelParthatprivate ModelParthatRimprivate ModelPartheadprivate ModelPartleftLegprotected ModelPartnoseprivate ModelPartrightLegprivate ModelPartrootFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors Constructor Description VillagerResemblingModel(ModelPart root) -
Method Summary
Modifier and Type Method Description ModelPartgetHead()static ModelDatagetModelData()ModelPartgetPart()voidsetAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)voidsetHatVisible(boolean visible)Methods inherited from class net.minecraft.client.render.entity.model.SinglePartEntityModel
renderMethods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
root
-
head
-
hat
-
hatRim
-
rightLeg
-
leftLeg
-
nose
-
-
Constructor Details
-
VillagerResemblingModel
-
-
Method Details
-
getModelData
-
getPart
- Specified by:
getPartin classSinglePartEntityModel<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
-