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 animationState, AnimationDefinition animationDefinition, float ageInTicks) protected void
animate
(AnimationState animationState, AnimationDefinition animationDefinition, float ageInTicks, float speed) protected void
animate
(AnimationState animationState, AnimationHolder animation, float ageInTicks) protected void
animate
(AnimationState animationState, AnimationHolder animation, float ageInTicks, float speed) protected void
animateWalk
(AnimationDefinition animationDefinition, float limbSwing, float limbSwingAmount, float maxAnimationSpeed, float animationScaleFactor) protected void
animateWalk
(AnimationHolder animation, float limbSwing, float limbSwingAmount, float maxAnimationSpeed, float animationScaleFactor) protected void
applyStatic
(AnimationDefinition animationDefinition) protected void
applyStatic
(AnimationHolder animation) protected static AnimationHolder
void
renderToBuffer
(PoseStack poseStack, VertexConsumer buffer, int packedLight, int packedOverlay, int color) 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 poseStack, VertexConsumer buffer, int packedLight, int packedOverlay, int color) - Specified by:
renderToBuffer
in classModel
-
root
-
getAnyDescendantWithName
-
animate
protected void animate(AnimationState animationState, AnimationDefinition animationDefinition, float ageInTicks) -
animate
-
animateWalk
protected void animateWalk(AnimationDefinition animationDefinition, float limbSwing, float limbSwingAmount, float maxAnimationSpeed, float animationScaleFactor) -
animateWalk
protected void animateWalk(AnimationHolder animation, float limbSwing, float limbSwingAmount, float maxAnimationSpeed, float animationScaleFactor) -
animate
protected void animate(AnimationState animationState, AnimationDefinition animationDefinition, float ageInTicks, float speed) -
animate
protected void animate(AnimationState animationState, AnimationHolder animation, float ageInTicks, float speed) -
applyStatic
-
applyStatic
-