Class PathfinderMob

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

public abstract class PathfinderMob extends Mob
  • Field Details

    • DEFAULT_WALK_TARGET_VALUE

      protected static final float DEFAULT_WALK_TARGET_VALUE
      See Also:
  • 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_)