Class CreatureEntity

All Implemented Interfaces:
ICommandSource, INameable, ICapabilityProvider, ICapabilitySerializable<CompoundNBT>, IForgeEntity, INBTSerializable<CompoundNBT>
Direct Known Subclasses:
AgeableEntity, GolemEntity, MonsterEntity, WaterMobEntity

public abstract class CreatureEntity extends MobEntity
  • Constructor Details

  • Method Details

    • getWalkTargetValue

      public float getWalkTargetValue(BlockPos p_180484_1_)
    • getWalkTargetValue

      public float getWalkTargetValue(BlockPos p_205022_1_, IWorldReader p_205022_2_)
    • checkSpawnRules

      public boolean checkSpawnRules(IWorld p_213380_1_, SpawnReason p_213380_2_)
      Overrides:
      checkSpawnRules in class MobEntity
    • isPathFinding

      public boolean isPathFinding()
    • tickLeash

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

      protected double followLeashSpeed()
    • onLeashDistance

      protected void onLeashDistance(float p_142017_1_)