Class EntityAICitizenChild

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

public class EntityAICitizenChild extends Object implements IStateAI
AI which controls child behaviour and growing.
  • Field Details

  • Constructor Details

    • EntityAICitizenChild

      public EntityAICitizenChild(@NotNull @NotNull EntityCitizen citizen)
      Instantiates this task.
      Parameters:
      citizen - the citizen.
  • Method Details

    • canUse

      public boolean canUse()
      Returns whether the Goal should begin execution. True when age less than 100, when a random (120) is chosen correctly, and when a citizen is nearby.