public class EntityAIDefendVillage extends EntityAITarget
Modifier and Type | Field and Description |
---|---|
(package private) EntityIronGolem |
irongolem |
(package private) EntityLivingBase |
villageAgressorTarget |
shouldCheckSight, target, taskOwner, unseenMemoryTicks
Constructor and Description |
---|
EntityAIDefendVillage(EntityIronGolem ironGolemIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldExecute() |
void |
startExecuting() |
getTargetDistance, isSuitableTarget, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecuting
getMutexBits, isInterruptible, setMutexBits, updateTask
EntityIronGolem irongolem
EntityLivingBase villageAgressorTarget
public EntityAIDefendVillage(EntityIronGolem ironGolemIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAITarget