Class EntityCreature

    • Field Detail

      • FLEEING_SPEED_MODIFIER_UUID

        public static final EaglercraftUUID FLEEING_SPEED_MODIFIER_UUID
      • FLEEING_SPEED_MODIFIER

        public static final AttributeModifier FLEEING_SPEED_MODIFIER
    • Constructor Detail

      • EntityCreature

        public EntityCreature​(World worldIn)
    • Method Detail

      • getBlockPathWeight

        public float getBlockPathWeight​(BlockPos pos)
      • getCanSpawnHere

        public boolean getCanSpawnHere()
        + Checks if the entity's current position is a valid location to spawn this entity.
        Overrides:
        getCanSpawnHere in class EntityLiving
      • hasPath

        public boolean hasPath()
        + if the entity got a PathEntity it returns true, else false
      • isWithinHomeDistanceCurrentPosition

        public boolean isWithinHomeDistanceCurrentPosition()
      • isWithinHomeDistanceFromPosition

        public boolean isWithinHomeDistanceFromPosition​(BlockPos pos)
      • setHomePosAndDistance

        public void setHomePosAndDistance​(BlockPos pos,
                                          int distance)
        + Sets home position and max distance for it
      • getHomePosition

        public BlockPos getHomePosition()
      • getMaximumHomeDistance

        public float getMaximumHomeDistance()
      • detachHome

        public void detachHome()
      • hasHome

        public boolean hasHome()
        + Returns whether a home area is defined for this entity.
      • updateLeashedState

        protected void updateLeashedState()
        + Applies logic related to leashes, for example dragging the entity or breaking the leash.
        Overrides:
        updateLeashedState in class EntityLiving
      • func_142017_o

        protected void func_142017_o​(float parFloat1)