Class CitizenAI
java.lang.Object
com.minecolonies.core.entity.ai.workers.CitizenAI
- All Implemented Interfaces:
IStateAI
High level AI for citizens, which switches between all the different AI states like sleeping,working,fleeing etc
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CitizenAI
-
-
Method Details
-
shouldEat
public boolean shouldEat()Checks if the citizen should be eating- Returns:
-