类 PathfinderMob

所有已实现的接口:
DataComponentGetter, SyncedDataHolder, Attackable, EquipmentUser, Leashable, Targeting, EntityAccess, UniquelyIdentifyable, Nameable, ScoreHolder, Waypoint, WaypointTransmitter, IAttachmentHolder, IEntityExtension, ILivingEntityExtension
直接已知子类:
AbstractGolem, AgeableMob, Allay, Monster, WaterAnimal

public abstract class PathfinderMob extends Mob
  • 字段详细资料

    • DEFAULT_WALK_TARGET_VALUE

      protected static final float DEFAULT_WALK_TARGET_VALUE
      另请参阅:
  • 构造器详细资料

  • 方法详细资料

    • getWalkTargetValue

      public float getWalkTargetValue(BlockPos p_21693_)
    • getWalkTargetValue

      public float getWalkTargetValue(BlockPos p_21688_, LevelReader p_21689_)
    • checkSpawnRules

      public boolean checkSpawnRules(LevelAccessor p_21686_, EntitySpawnReason p_361803_)
      覆盖:
      checkSpawnRules 在类中 Mob
    • isPathFinding

      public boolean isPathFinding()
    • isPanicking

      public boolean isPanicking()
    • shouldStayCloseToLeashHolder

      protected boolean shouldStayCloseToLeashHolder()
    • closeRangeLeashBehaviour

      public void closeRangeLeashBehaviour(Entity p_352153_)
    • whenLeashedTo

      public void whenLeashedTo(Entity p_418459_)
    • followLeashSpeed

      protected double followLeashSpeed()