public class DefendVillageTargetGoal extends TargetGoal
| Modifier and Type | Field and Description | 
|---|---|
| private EntityPredicate | field_223190_c | 
| private IronGolemEntity | irongolem | 
| private LivingEntity | villageAgressorTarget | 
goalOwner, shouldCheckSight, target, unseenMemoryTicks| Constructor and Description | 
|---|
| DefendVillageTargetGoal(IronGolemEntity ironGolemIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | shouldExecute() | 
| void | startExecuting() | 
getTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecutinggetMutexFlags, isPreemptible, setMutexFlags, tick, toStringprivate final IronGolemEntity irongolem
private LivingEntity villageAgressorTarget
private final EntityPredicate field_223190_c
public DefendVillageTargetGoal(IronGolemEntity ironGolemIn)
public boolean shouldExecute()
shouldExecute in class Goalpublic void startExecuting()
startExecuting in class TargetGoal