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, shouldContinueExecutinggetMutexBits, isInterruptible, setMutexBits, updateTaskEntityIronGolem irongolem
EntityLivingBase villageAgressorTarget
public EntityAIDefendVillage(EntityIronGolem ironGolemIn)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAITarget