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, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
animate
(AnimationState pAnimationState, AnimationDefinition pAnimationDefinition, float pAgeInTicks) protected void
animate
(AnimationState pAnimationState, AnimationDefinition pAnimationDefinition, float pAgeInTicks, float pSpeed) protected void
animate
(AnimationState animationState, AnimationHolder animation, float ageInTicks) protected void
animate
(AnimationState animationState, AnimationHolder animation, float ageInTicks, float speed) protected void
animateWalk
(AnimationDefinition pAnimationDefinition, float pLimbSwing, float pLimbSwingAmount, float pMaxAnimationSpeed, float pAnimationScaleFactor) protected void
animateWalk
(AnimationHolder animation, float limbSwing, float limbSwingAmount, float maxAnimationSpeed, float animationScaleFactor) protected void
applyStatic
(AnimationDefinition pAnimationDefinition) protected void
applyStatic
(AnimationHolder animation) protected static AnimationHolder
getAnyDescendantWithName
(String pName) void
renderToBuffer
(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, int pColor) abstract ModelPart
root()
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel, setupAnim
Methods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
ANIMATION_VECTOR_CACHE
private static final org.joml.Vector3f ANIMATION_VECTOR_CACHE
-
-
Constructor Details
-
HierarchicalModel
public HierarchicalModel() -
HierarchicalModel
-
-
Method Details
-
getAnimation
-
renderToBuffer
public void renderToBuffer(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, int pColor) - Specified by:
renderToBuffer
in classModel
-
root
-
getAnyDescendantWithName
-
animate
protected void animate(AnimationState pAnimationState, AnimationDefinition pAnimationDefinition, float pAgeInTicks) -
animate
-
animateWalk
protected void animateWalk(AnimationDefinition pAnimationDefinition, float pLimbSwing, float pLimbSwingAmount, float pMaxAnimationSpeed, float pAnimationScaleFactor) -
animateWalk
protected void animateWalk(AnimationHolder animation, float limbSwing, float limbSwingAmount, float maxAnimationSpeed, float animationScaleFactor) -
animate
protected void animate(AnimationState pAnimationState, AnimationDefinition pAnimationDefinition, float pAgeInTicks, float pSpeed) -
animate
protected void animate(AnimationState animationState, AnimationHolder animation, float ageInTicks, float speed) -
applyStatic
-
applyStatic
-