类 HumanoidModel<T extends LivingEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
net.minecraft.client.model.AgeableListModel<T>
net.minecraft.client.model.HumanoidModel<T>
- 所有已实现的接口:
ArmedModel
,HeadedModel
- 直接已知子类:
AbstractZombieModel
,ArmorStandArmorModel
,EndermanModel
,HumanoidArmorModel
,PlayerModel
,SkeletonModel
,ZombieVillagerModel
public class HumanoidModel<T extends LivingEntity>
extends AgeableListModel<T>
implements ArmedModel, HeadedModel
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明final ModelPart
boolean
private static final float
final ModelPart
static final float
final ModelPart
final ModelPart
final ModelPart
static final float
static final float
final ModelPart
final ModelPart
private static final float
private static final float
private static final float
float
static final float
static final float
从类继承的字段 net.minecraft.client.model.EntityModel
attackTime, riding, young
从类继承的字段 net.minecraft.client.model.Model
renderType
-
构造器概要
构造器构造器说明HumanoidModel
(ModelPart pRoot) HumanoidModel
(ModelPart pRoot, Function<ResourceLocation, RenderType> pRenderType) -
方法概要
修饰符和类型方法说明void
copyPropertiesTo
(HumanoidModel<T> pModel) static MeshDefinition
createMesh
(CubeDeformation pCubeDeformation, float p_170683_) protected ModelPart
getArm
(HumanoidArm pSide) private HumanoidArm
getAttackArm
(T pEntity) getHead()
private void
poseLeftArm
(T pLivingEntity) private void
poseRightArm
(T pLivingEntity) void
prepareMobModel
(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) private float
quadraticArmUpdate
(float pLimbSwing) protected float
rotlerpRad
(float pAngle, float pMaxAngle, float pMul) void
setAllVisible
(boolean pVisible) void
setupAnim
(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) protected void
setupAttackAnimation
(T pLivingEntity, float pAgeInTicks) void
translateToHand
(HumanoidArm pSide, PoseStack pPoseStack) 从类继承的方法 net.minecraft.client.model.AgeableListModel
renderToBuffer
从类继承的方法 net.minecraft.client.model.EntityModel
copyPropertiesTo
从类继承的方法 net.minecraft.client.model.Model
renderType
-
字段详细资料
-
OVERLAY_SCALE
public static final float OVERLAY_SCALE- 另请参阅:
-
HAT_OVERLAY_SCALE
public static final float HAT_OVERLAY_SCALE- 另请参阅:
-
LEGGINGS_OVERLAY_SCALE
public static final float LEGGINGS_OVERLAY_SCALE- 另请参阅:
-
DUCK_WALK_ROTATION
private static final float DUCK_WALK_ROTATION- 另请参阅:
-
SPYGLASS_ARM_ROT_Y
private static final float SPYGLASS_ARM_ROT_Y- 另请参阅:
-
SPYGLASS_ARM_ROT_X
private static final float SPYGLASS_ARM_ROT_X- 另请参阅:
-
SPYGLASS_ARM_CROUCH_ROT_X
private static final float SPYGLASS_ARM_CROUCH_ROT_X- 另请参阅:
-
TOOT_HORN_XROT_BASE
public static final float TOOT_HORN_XROT_BASE- 另请参阅:
-
TOOT_HORN_YROT_BASE
public static final float TOOT_HORN_YROT_BASE- 另请参阅:
-
head
-
hat
-
body
-
rightArm
-
leftArm
-
rightLeg
-
leftLeg
-
leftArmPose
-
rightArmPose
-
crouching
public boolean crouching -
swimAmount
public float swimAmount
-
-
构造器详细资料
-
HumanoidModel
-
HumanoidModel
-
-
方法详细资料
-
createMesh
-
headParts
- 指定者:
headParts
在类中AgeableListModel<T extends LivingEntity>
-
bodyParts
- 指定者:
bodyParts
在类中AgeableListModel<T extends LivingEntity>
-
prepareMobModel
public void prepareMobModel(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) - 覆盖:
prepareMobModel
在类中EntityModel<T extends LivingEntity>
-
setupAnim
public void setupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) - 指定者:
setupAnim
在类中EntityModel<T extends LivingEntity>
-
poseRightArm
-
poseLeftArm
-
setupAttackAnimation
-
rotlerpRad
protected float rotlerpRad(float pAngle, float pMaxAngle, float pMul) -
quadraticArmUpdate
private float quadraticArmUpdate(float pLimbSwing) -
copyPropertiesTo
-
setAllVisible
public void setAllVisible(boolean pVisible) -
translateToHand
- 指定者:
translateToHand
在接口中ArmedModel
-
getArm
-
getHead
- 指定者:
getHead
在接口中HeadedModel
-
getAttackArm
-