Class EntityAIMournCitizen
java.lang.Object
com.minecolonies.core.entity.ai.minimal.EntityAIMournCitizen
- All Implemented Interfaces:
IStateAI
Citizen mourning goal. Has citizens randomly walk around townhall.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDifferent mourning states. -
Constructor Summary
ConstructorsConstructorDescriptionEntityAIMournCitizen(EntityCitizen citizen, double speed) Instantiates this task. -
Method Summary
-
Constructor Details
-
EntityAIMournCitizen
Instantiates this task.- Parameters:
citizen- the citizen.speed- the speed.
-
-
Method Details
-
reset
public void reset() -
getMournLocation
Call this function to get the mourn location- Returns:
- blockPos of the location to mourn at
-