Package net.minecraft.client.model
Class HoglinModel<T extends Mob & HoglinBase>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.AgeableListModel<T>
net.minecraft.client.model.HoglinModel<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final floatprivate final ModelPartprivate static final floatprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinitionvoidsetupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation anglesMethods inherited from class net.minecraft.client.model.AgeableListModel
renderToBufferMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
DEFAULT_HEAD_X_ROT
private static final float DEFAULT_HEAD_X_ROT- See Also:
-
ATTACK_HEAD_X_ROT_END
private static final float ATTACK_HEAD_X_ROT_END- See Also:
-
head
-
rightEar
-
leftEar
-
body
-
rightFrontLeg
-
leftFrontLeg
-
rightHindLeg
-
leftHindLeg
-
mane
-
-
Constructor Details
-
HoglinModel
-
-
Method Details
-
createBodyLayer
-
headParts
- Specified by:
headPartsin classAgeableListModel<T extends Mob & HoglinBase>
-
bodyParts
- Specified by:
bodyPartsin classAgeableListModel<T extends Mob & HoglinBase>
-
setupAnim
public void setupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation angles- Specified by:
setupAnimin classEntityModel<T extends Mob & HoglinBase>
-