Class AbstractPiglinModel<S extends HumanoidRenderState>
java.lang.Object
net.minecraft.client.model.Model<S>
net.minecraft.client.model.EntityModel<S>
net.minecraft.client.model.HumanoidModel<S>
net.minecraft.client.model.monster.piglin.AbstractPiglinModel<S>
- All Implemented Interfaces:
ArmedModel<S>, HeadedModel
- Direct Known Subclasses:
PiglinModel, ZombifiedPiglinModel
-
Nested Class Summary
Nested classes/interfaces inherited from class HumanoidModel
HumanoidModel.ArmPoseNested classes/interfaces inherited from class Model
Model.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final floatprotected static final floatfinal ModelPartfinal ModelPartFields inherited from class HumanoidModel
ADULT_ARMOR_PARTS_PER_SLOT, BABY_ARMOR_PARTS_PER_SLOT, BABY_TRANSFORMER, body, hat, HAT_OVERLAY_SCALE, head, leftArm, leftLeg, LEGGINGS_OVERLAY_SCALE, OVERLAY_SCALE, rightArm, rightLeg, TOOT_HORN_XROT_BASE, TOOT_HORN_YROT_BASEFields inherited from class EntityModel
MODEL_Y_OFFSETFields inherited from class Model
renderType, root -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PartDefinitionaddHead(CubeDeformation g, MeshDefinition mesh) static ArmorModelSet<MeshDefinition> createArmorMeshSet(CubeDeformation innerDeformation, CubeDeformation outerDeformation) static ArmorModelSet<MeshDefinition> createBabyArmorMeshSet(CubeDeformation innerDeformation, CubeDeformation outerDeformation, PartPose armOffset) (package private) abstract floatprivate static MeshDefinitionremoveEars(MeshDefinition mesh) voidMethods inherited from class HumanoidModel
createArmorMeshSet, createMesh, getArm, getHead, setupAttackAnimation, translateToHandMethods inherited from class Model
allParts, getAnimation, renderToBuffer, renderToBuffer, renderType, resetPose, rootMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HeadedModel
translateToHead
-
Field Details
-
ADULT_EAR_ANGLE_IN_DEGREES
protected static final float ADULT_EAR_ANGLE_IN_DEGREES- See Also:
-
BABY_EAR_ANGLE_IN_DEGREES
protected static final float BABY_EAR_ANGLE_IN_DEGREES- See Also:
-
rightEar
-
leftEar
-
-
Constructor Details
-
AbstractPiglinModel
-
-
Method Details
-
createArmorMeshSet
public static ArmorModelSet<MeshDefinition> createArmorMeshSet(CubeDeformation innerDeformation, CubeDeformation outerDeformation) -
removeEars
-
addHead
-
createBabyArmorMeshSet
public static ArmorModelSet<MeshDefinition> createBabyArmorMeshSet(CubeDeformation innerDeformation, CubeDeformation outerDeformation, PartPose armOffset) -
setupAnim
- Overrides:
setupAnimin classHumanoidModel<S extends HumanoidRenderState>
-
getDefaultEarAngleInDegrees
abstract float getDefaultEarAngleInDegrees()
-