Class EntityModel<T extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<T>
- Direct Known Subclasses:
AnimalModel,CompositeEntityModel,EnderDragonEntityRenderer.DragonEntityModel,LlamaEntityModel,RabbitEntityModel,SinglePartEntityModel
@Environment(CLIENT) public abstract class EntityModel<T extends Entity> extends Model
-
Field Summary
Fields Modifier and Type Field Description booleanchildfloathandSwingProgressbooleanridingFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors Modifier Constructor Description protectedEntityModel()protectedEntityModel(Function<Identifier,RenderLayer> layerFactory) -
Method Summary
Modifier and Type Method Description voidanimateModel(T entity, float limbAngle, float limbDistance, float tickDelta)voidcopyStateTo(EntityModel<T> copy)abstract voidsetAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
-
Field Details
-
handSwingProgress
public float handSwingProgress -
riding
public boolean riding -
child
public boolean child
-
-
Constructor Details
-
EntityModel
protected EntityModel() -
EntityModel
-
-
Method Details
-
setAngles
public abstract void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch) -
animateModel
-
copyStateTo
-