Class EntityAIEatTask

java.lang.Object
com.minecolonies.core.entity.ai.minimal.EntityAIEatTask
All Implemented Interfaces:
IStateAI

public class EntityAIEatTask extends Object implements IStateAI
The AI task for citizens to execute when they are supposed to eat.
  • Field Details

    • RESTAURANT_LIMIT

      public static final double RESTAURANT_LIMIT
      Limit to go to the restaurant.
      See Also:
  • Constructor Details

    • EntityAIEatTask

      public EntityAIEatTask(EntityCitizen citizen)
      Instantiates this task.
      Parameters:
      citizen - the citizen.