Package net.minecraft.client.model
Class HierarchicalModel<E extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
net.minecraft.client.model.HierarchicalModel<E>
- Direct Known Subclasses:
AgeableHierarchicalModel,AllayModel,BatModel,BlazeModel,BreezeModel,CamelModel,CodModel,ColorableHierarchicalModel,CreeperModel,DolphinModel,EndermiteModel,EvokerFangsModel,FrogModel,GhastModel,GuardianModel,IllagerModel,IronGolemModel,LavaSlimeModel,LeashKnotModel,LlamaSpitModel,MinecartModel,ParrotModel,PhantomModel,PufferfishBigModel,PufferfishMidModel,PufferfishSmallModel,RavagerModel,SalmonModel,ShulkerBulletModel,SilverfishModel,SlimeModel,SnowGolemModel,SpiderModel,SquidModel,StriderModel,VexModel,VillagerModel,WardenModel,WindChargeModel,WitherBossModel
-
Field Summary
FieldsFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidanimate(AnimationState p_233382_, AnimationDefinition p_233383_, float p_233384_) protected voidanimate(AnimationState p_233386_, AnimationDefinition p_233387_, float p_233388_, float p_233389_) protected voidanimateWalk(AnimationDefinition p_268159_, float p_268057_, float p_268347_, float p_268138_, float p_268165_) protected voidapplyStatic(AnimationDefinition p_288996_) getAnyDescendantWithName(String p_233394_) voidrenderToBuffer(PoseStack p_170625_, VertexConsumer p_170626_, int p_170627_, int p_170628_, float p_170629_, float p_170630_, float p_170631_, float p_170632_) abstract ModelPartroot()Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel, setupAnimMethods inherited from class net.minecraft.client.model.Model
renderType
-
Field Details
-
ANIMATION_VECTOR_CACHE
private static final org.joml.Vector3f ANIMATION_VECTOR_CACHE
-
-
Constructor Details
-
HierarchicalModel
public HierarchicalModel() -
HierarchicalModel
-
-
Method Details
-
renderToBuffer
public void renderToBuffer(PoseStack p_170625_, VertexConsumer p_170626_, int p_170627_, int p_170628_, float p_170629_, float p_170630_, float p_170631_, float p_170632_) - Specified by:
renderToBufferin classModel
-
root
-
getAnyDescendantWithName
-
animate
-
animateWalk
protected void animateWalk(AnimationDefinition p_268159_, float p_268057_, float p_268347_, float p_268138_, float p_268165_) -
animate
protected void animate(AnimationState p_233386_, AnimationDefinition p_233387_, float p_233388_, float p_233389_) -
applyStatic
-