public class BipedModel<T extends LivingEntity> extends EntityModel<T> implements IHasArm, IHasHead
Modifier and Type | Class and Description |
---|---|
static class |
BipedModel.ArmPose |
Modifier and Type | Field and Description |
---|---|
RendererModel |
bipedBody |
RendererModel |
bipedHead |
RendererModel |
bipedHeadwear |
RendererModel |
bipedLeftArm |
RendererModel |
bipedLeftLeg |
RendererModel |
bipedRightArm |
RendererModel |
bipedRightLeg |
boolean |
isSneak |
BipedModel.ArmPose |
leftArmPose |
BipedModel.ArmPose |
rightArmPose |
float |
swimAnimation |
isChild, isSitting, swingProgress
boxList, textureHeight, textureWidth
Constructor and Description |
---|
BipedModel() |
BipedModel(float modelSize) |
BipedModel(float modelSize,
float p_i1149_2_,
int textureWidthIn,
int textureHeightIn) |
Modifier and Type | Method and Description |
---|---|
protected float |
func_205060_a(float p_205060_1_,
float p_205060_2_,
float p_205060_3_) |
RendererModel |
func_205072_a() |
protected HandSide |
func_217147_a(T p_217147_1_) |
void |
func_217148_a(BipedModel<T> p_217148_1_) |
protected RendererModel |
getArmForSide(HandSide side) |
void |
postRenderArm(float scale,
HandSide side) |
void |
render(T entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scale) |
void |
setLivingAnimations(T entityIn,
float limbSwing,
float limbSwingAmount,
float partialTick) |
void |
setRotationAngles(T entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scaleFactor) |
void |
setVisible(boolean visible) |
setModelAttributes
getRandomModelBox
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
func_217142_c
public RendererModel bipedHead
public RendererModel bipedHeadwear
public RendererModel bipedBody
public RendererModel bipedRightArm
public RendererModel bipedLeftArm
public RendererModel bipedRightLeg
public RendererModel bipedLeftLeg
public BipedModel.ArmPose leftArmPose
public BipedModel.ArmPose rightArmPose
public boolean isSneak
public float swimAnimation
public BipedModel()
public BipedModel(float modelSize)
public BipedModel(float modelSize, float p_i1149_2_, int textureWidthIn, int textureHeightIn)
public void render(T entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale)
render
in class EntityModel<T extends LivingEntity>
public void setLivingAnimations(T entityIn, float limbSwing, float limbSwingAmount, float partialTick)
setLivingAnimations
in class EntityModel<T extends LivingEntity>
public void setRotationAngles(T entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor)
setRotationAngles
in class EntityModel<T extends LivingEntity>
protected float func_205060_a(float p_205060_1_, float p_205060_2_, float p_205060_3_)
public void func_217148_a(BipedModel<T> p_217148_1_)
public void setVisible(boolean visible)
public void postRenderArm(float scale, HandSide side)
postRenderArm
in interface IHasArm
protected RendererModel getArmForSide(HandSide side)
public RendererModel func_205072_a()
func_205072_a
in interface IHasHead