Class EntityAIMournCitizen

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

public class EntityAIMournCitizen extends Object implements IStateAI
Citizen mourning goal. Has citizens randomly walk around townhall.
  • Constructor Details

    • EntityAIMournCitizen

      public EntityAIMournCitizen(EntityCitizen citizen, double speed)
      Instantiates this task.
      Parameters:
      citizen - the citizen.
      speed - the speed.
  • Method Details

    • reset

      public void reset()
    • getMournLocation

      protected IBuilding getMournLocation()
      Call this function to get the mourn location
      Returns:
      blockPos of the location to mourn at