Package net.minecraft.client.model
Class EntityModel<T extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
- Direct Known Subclasses:
AgeableListModel
,EnderDragonRenderer.DragonModel
,EntityRendererEventsTest.EntityRenderEventsTestClientModStuff.MyEntityModel
,HierarchicalModel
,ListModel
,LlamaModel
,RabbitModel
-
Field Summary
FieldsFields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
EntityModel
(Function<ResourceLocation, RenderType> pRenderType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyPropertiesTo
(EntityModel<T> pOtherModel) void
prepareMobModel
(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) abstract void
setupAnim
(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation anglesMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderToBuffer, renderType
-
Field Details
-
attackTime
public float attackTime -
riding
public boolean riding -
young
public boolean young
-
-
Constructor Details
-
EntityModel
protected EntityModel() -
EntityModel
-
-
Method Details
-
setupAnim
public abstract void setupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation angles -
prepareMobModel
public void prepareMobModel(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) -
copyPropertiesTo
-