类 HierarchicalModel<E extends Entity>

直接已知子类:
AgeableHierarchicalModel, AllayModel, BatModel, BlazeModel, 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, WitherBossModel

public abstract class HierarchicalModel<E extends Entity> extends EntityModel<E>
  • 字段详细资料

    • ANIMATION_VECTOR_CACHE

      private static final org.joml.Vector3f ANIMATION_VECTOR_CACHE
  • 构造器详细资料

  • 方法详细资料

    • renderToBuffer

      public void renderToBuffer(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, float pRed, float pGreen, float pBlue, float pAlpha)
      指定者:
      renderToBuffer 在类中 Model
    • root

      public abstract ModelPart root()
    • getAnyDescendantWithName

      public Optional<ModelPart> getAnyDescendantWithName(String pName)
    • animate

      protected void animate(AnimationState pAnimationState, AnimationDefinition pAnimationDefinition, float pAgeInTicks)
    • animateWalk

      protected void animateWalk(AnimationDefinition pAnimationDefinition, float pLimbSwing, float pLimbSwingAmount, float pMaxAnimationSpeed, float pAnimationScaleFactor)
    • animate

      protected void animate(AnimationState pAnimationState, AnimationDefinition pAnimationDefinition, float pAgeInTicks, float pSpeed)
    • applyStatic

      protected void applyStatic(AnimationDefinition pAnimationDefinition)