public class BipedModel<T extends LivingEntity> extends AgeableModel<T> implements IHasArm, IHasHead
修飾子とタイプ | クラスと説明 |
---|---|
static class |
BipedModel.ArmPose |
修飾子とタイプ | フィールドと説明 |
---|---|
ModelRenderer |
bipedBody |
ModelRenderer |
bipedHead |
ModelRenderer |
bipedHeadwear
The Biped's Headwear.
|
ModelRenderer |
bipedLeftArm
The Biped's Left Arm
|
ModelRenderer |
bipedLeftLeg
The Biped's Left Leg
|
ModelRenderer |
bipedRightArm
The Biped's Right Arm
|
ModelRenderer |
bipedRightLeg
The Biped's Right Leg
|
boolean |
isSneak |
BipedModel.ArmPose |
leftArmPose |
BipedModel.ArmPose |
rightArmPose |
float |
swimAnimation |
isChild, isSitting, swingProgress
renderType, textureHeight, textureWidth
修飾子 | コンストラクタと説明 |
---|---|
|
BipedModel(float modelSize) |
protected |
BipedModel(float modelSize,
float yOffsetIn,
int textureWidthIn,
int textureHeightIn) |
|
BipedModel(java.util.function.Function<ResourceLocation,RenderType> renderTypeIn,
float modelSizeIn,
float yOffsetIn,
int textureWidthIn,
int textureHeightIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected ModelRenderer |
getArmForSide(HandSide side) |
protected java.lang.Iterable<ModelRenderer> |
getBodyParts() |
protected java.lang.Iterable<ModelRenderer> |
getHeadParts() |
protected HandSide |
getMainHand(T entityIn) |
ModelRenderer |
getModelHead() |
protected float |
rotLerpRad(float angleIn,
float maxAngleIn,
float mulIn) |
void |
setLivingAnimations(T entityIn,
float limbSwing,
float limbSwingAmount,
float partialTick) |
void |
setModelAttributes(BipedModel<T> modelIn) |
void |
setRotationAngles(T entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch)
Sets this entity's model rotation angles
|
void |
setVisible(boolean visible) |
void |
translateHand(HandSide sideIn,
com.mojang.blaze3d.matrix.MatrixStack matrixStackIn) |
render
copyModelAttributesTo
accept, getRenderType
public ModelRenderer bipedHead
public ModelRenderer bipedHeadwear
public ModelRenderer bipedBody
public ModelRenderer bipedRightArm
public ModelRenderer bipedLeftArm
public ModelRenderer bipedRightLeg
public ModelRenderer bipedLeftLeg
public BipedModel.ArmPose leftArmPose
public BipedModel.ArmPose rightArmPose
public boolean isSneak
public float swimAnimation
public BipedModel(float modelSize)
protected BipedModel(float modelSize, float yOffsetIn, int textureWidthIn, int textureHeightIn)
public BipedModel(java.util.function.Function<ResourceLocation,RenderType> renderTypeIn, float modelSizeIn, float yOffsetIn, int textureWidthIn, int textureHeightIn)
protected java.lang.Iterable<ModelRenderer> getHeadParts()
getHeadParts
クラス内 AgeableModel<T extends LivingEntity>
protected java.lang.Iterable<ModelRenderer> getBodyParts()
getBodyParts
クラス内 AgeableModel<T extends LivingEntity>
public void setLivingAnimations(T entityIn, float limbSwing, float limbSwingAmount, float partialTick)
setLivingAnimations
クラス内 EntityModel<T extends LivingEntity>
public void setRotationAngles(T entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
setRotationAngles
クラス内 EntityModel<T extends LivingEntity>
protected float rotLerpRad(float angleIn, float maxAngleIn, float mulIn)
public void setModelAttributes(BipedModel<T> modelIn)
public void setVisible(boolean visible)
public void translateHand(HandSide sideIn, com.mojang.blaze3d.matrix.MatrixStack matrixStackIn)
translateHand
インタフェース内 IHasArm
protected ModelRenderer getArmForSide(HandSide side)
public ModelRenderer getModelHead()
getModelHead
インタフェース内 IHasHead