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
- Mappings:
Namespace Name official ear
intermediary net/minecraft/class_583
named net/minecraft/client/render/entity/model/EntityModel
-
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- Mappings:
Namespace Name Mixin selector official c
Lear;c:F
intermediary field_3447
Lnet/minecraft/class_583;field_3447:F
named handSwingProgress
Lnet/minecraft/client/render/entity/model/EntityModel;handSwingProgress:F
-
riding
public boolean riding- Mappings:
Namespace Name Mixin selector official d
Lear;d:Z
intermediary field_3449
Lnet/minecraft/class_583;field_3449:Z
named riding
Lnet/minecraft/client/render/entity/model/EntityModel;riding:Z
-
child
public boolean child- Mappings:
Namespace Name Mixin selector official e
Lear;e:Z
intermediary field_3448
Lnet/minecraft/class_583;field_3448:Z
named child
Lnet/minecraft/client/render/entity/model/EntityModel;child:Z
-
-
Constructor Details
-
EntityModel
protected EntityModel() -
EntityModel
- Mappings:
Namespace Name Mixin selector official <init>
Lebk;<init>(Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_3879;<init>(Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/client/model/Model;<init>(Ljava/util/function/Function;)V
-
-
Method Details
-
setAngles
public abstract void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)- Mappings:
Namespace Name Mixin selector official a
Lear;a(Laqv;FFFFF)V
intermediary method_2819
Lnet/minecraft/class_583;method_2819(Lnet/minecraft/class_1297;FFFFF)V
named setAngles
Lnet/minecraft/client/render/entity/model/EntityModel;setAngles(Lnet/minecraft/entity/Entity;FFFFF)V
-
animateModel
- Mappings:
Namespace Name Mixin selector official a
Lear;a(Laqv;FFF)V
intermediary method_2816
Lnet/minecraft/class_583;method_2816(Lnet/minecraft/class_1297;FFF)V
named animateModel
Lnet/minecraft/client/render/entity/model/EntityModel;animateModel(Lnet/minecraft/entity/Entity;FFF)V
-
copyStateTo
- Mappings:
Namespace Name Mixin selector official a
Lear;a(Lear;)V
intermediary method_17081
Lnet/minecraft/class_583;method_17081(Lnet/minecraft/class_583;)V
named copyStateTo
Lnet/minecraft/client/render/entity/model/EntityModel;copyStateTo(Lnet/minecraft/client/render/entity/model/EntityModel;)V
-