Class EntityModel<T extends Entity>
- java.lang.Object
-
- net.minecraft.client.renderer.model.Model
-
- net.minecraft.client.renderer.entity.model.EntityModel<T>
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
- Direct Known Subclasses:
AgeableModel,EnderDragonRenderer.EnderDragonModel,LlamaModel,RabbitModel,SegmentedModel
public abstract class EntityModel<T extends Entity> extends Model
-
-
Field Summary
Fields Modifier and Type Field Description floatattackTimebooleanridingbooleanyoung-
Fields inherited from class net.minecraft.client.renderer.model.Model
renderType, texHeight, texWidth
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEntityModel()protectedEntityModel(java.util.function.Function<ResourceLocation,RenderType> p_i225945_1_)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcopyPropertiesTo(EntityModel<T> p_217111_1_)voidprepareMobModel(T p_212843_1_, float p_212843_2_, float p_212843_3_, float p_212843_4_)abstract voidsetupAnim(T p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)-
Methods inherited from class net.minecraft.client.renderer.model.Model
accept, renderToBuffer, renderType
-
-
-
-
Constructor Detail
-
EntityModel
protected EntityModel()
-
EntityModel
protected EntityModel(java.util.function.Function<ResourceLocation,RenderType> p_i225945_1_)
-
-
Method Detail
-
setupAnim
public abstract void setupAnim(T p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)
-
prepareMobModel
public void prepareMobModel(T p_212843_1_, float p_212843_2_, float p_212843_3_, float p_212843_4_)
-
copyPropertiesTo
public void copyPropertiesTo(EntityModel<T> p_217111_1_)
-
-