类 PathfinderMob

所有已实现的接口:
CommandSource, Attackable, Targeting, EntityAccess, Nameable, 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 pPos)
    • getWalkTargetValue

      public float getWalkTargetValue(BlockPos pPos, LevelReader pLevel)
    • checkSpawnRules

      public boolean checkSpawnRules(LevelAccessor pLevel, MobSpawnType pSpawnReason)
      覆盖:
      checkSpawnRules 在类中 Mob
    • isPathFinding

      public boolean isPathFinding()
    • tickLeash

      protected void tickLeash()
      覆盖:
      tickLeash 在类中 Mob
    • shouldStayCloseToLeashHolder

      protected boolean shouldStayCloseToLeashHolder()
    • followLeashSpeed

      protected double followLeashSpeed()
    • onLeashDistance

      protected void onLeashDistance(float pDistance)