Class EntityAIEatTask
java.lang.Object
com.minecolonies.core.entity.ai.minimal.EntityAIEatTask
- All Implemented Interfaces:
IStateAI
The AI task for citizens to execute when they are supposed to eat.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe different types of AIStates related to eating. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleLimit to go to the restaurant. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RESTAURANT_LIMIT
public static final double RESTAURANT_LIMITLimit to go to the restaurant.- See Also:
-
-
Constructor Details
-
EntityAIEatTask
Instantiates this task.- Parameters:
citizen- the citizen.
-