Class PathfinderMob

All Implemented Interfaces:
CommandSource, EntityAccess, Nameable, ICapabilityProvider, ICapabilitySerializable<CompoundTag>, IForgeEntity, INBTSerializable<CompoundTag>
Direct Known Subclasses:
AbstractGolem, AgeableMob, Monster, WaterAnimal

public abstract class PathfinderMob extends Mob
  • Constructor Details

  • Method Details

    • getWalkTargetValue

      public float getWalkTargetValue(BlockPos p_21693_)
    • getWalkTargetValue

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

      public boolean checkSpawnRules(LevelAccessor p_21686_, MobSpawnType p_21687_)
      Overrides:
      checkSpawnRules in class Mob
    • isPathFinding

      public boolean isPathFinding()
    • tickLeash

      protected void tickLeash()
      Overrides:
      tickLeash in class Mob
    • followLeashSpeed

      protected double followLeashSpeed()
    • onLeashDistance

      protected void onLeashDistance(float p_21694_)