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
,HierarchicalModel
,ListModel
,LlamaModel
,RabbitModel
-
Field Summary
FieldsFields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
EntityModel
(Function<ResourceLocation, RenderType> renderType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyPropertiesTo
(EntityModel<T> otherModel) void
prepareMobModel
(T entity, float limbSwing, float limbSwingAmount, float partialTick) abstract void
setupAnim
(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) 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 entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation angles -
prepareMobModel
-
copyPropertiesTo
-