public class EntityAIDefendVillage extends EntityAITarget
shouldCheckSight, target, taskOwner, unseenMemoryTicks| Constructor and Description |
|---|
EntityAIDefendVillage(EntityIronGolem ironGolemIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
continueExecuting, getTargetDistance, isSuitableTarget, isSuitableTarget, resetTask, setUnseenMemoryTicksgetMutexBits, isInterruptible, setMutexBits, updateTaskpublic EntityAIDefendVillage(EntityIronGolem ironGolemIn)
public boolean shouldExecute()
shouldExecute in class EntityAIBasepublic void startExecuting()
startExecuting in class EntityAITarget