类 PathfinderMob

所有已实现的接口:
SyncedDataHolder, Attackable, EquipmentUser, Leashable, Targeting, EntityAccess, Nameable, ScoreHolder, ICapabilityProvider, ICapabilityProviderImpl<Entity>, ICapabilitySerializable<CompoundTag>, IForgeEntity, IForgeLivingEntity, INBTSerializable<CompoundTag>
直接已知子类:
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_368415_)
      覆盖:
      checkSpawnRules 在类中 Mob
    • isPathFinding

      public boolean isPathFinding()
    • isPanicking

      public boolean isPanicking()
    • shouldStayCloseToLeashHolder

      protected boolean shouldStayCloseToLeashHolder()
    • closeRangeLeashBehaviour

      public void closeRangeLeashBehaviour(Entity p_343614_)
    • handleLeashAtDistance

      public boolean handleLeashAtDistance(Entity p_342865_, float p_344226_)
    • followLeashSpeed

      protected double followLeashSpeed()