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 boolean
child
float
handSwingProgress
boolean
riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
Constructors Modifier Constructor Description protected
EntityModel()
protected
EntityModel(Function<Identifier,RenderLayer> layerFactory)
-
Method Summary
Modifier and Type Method Description void
animateModel(T entity, float limbAngle, float limbDistance, float tickDelta)
void
copyStateTo(EntityModel<T> copy)
abstract void
setAngles(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
-