public class RabbitModel<T extends RabbitEntity> extends EntityModel<T>
isChild, isSitting, swingProgress
renderType, textureHeight, textureWidth
Constructor and Description |
---|
RabbitModel() |
Modifier and Type | Method and Description |
---|---|
void |
render(MatrixStack matrixStackIn,
IVertexBuilder bufferIn,
int packedLightIn,
int packedOverlayIn,
float red,
float green,
float blue,
float alpha) |
void |
setLivingAnimations(T entityIn,
float limbSwing,
float limbSwingAmount,
float partialTick) |
void |
setRotationAngles(T entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch) |
copyModelAttributesTo
accept, getRenderType
public void render(MatrixStack matrixStackIn, IVertexBuilder bufferIn, int packedLightIn, int packedOverlayIn, float red, float green, float blue, float alpha)
public void setRotationAngles(T entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
setRotationAngles
in class EntityModel<T extends RabbitEntity>
public void setLivingAnimations(T entityIn, float limbSwing, float limbSwingAmount, float partialTick)
setLivingAnimations
in class EntityModel<T extends RabbitEntity>