static class VindicatorEntity.JohnnyAttackGoal extends NearestAttackableTargetGoal<LivingEntity>
nearestTarget, targetChance, targetClass, targetEntitySelectorgoalOwner, shouldCheckSight, target, unseenMemoryTicks| Constructor and Description |
|---|
JohnnyAttackGoal(VindicatorEntity vindicator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldExecute() |
void |
startExecuting() |
findNearestTarget, getTargetableAreagetTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecutinggetMutexFlags, isPreemptible, setMutexFlags, tick, toStringpublic JohnnyAttackGoal(VindicatorEntity vindicator)
public boolean shouldExecute()
shouldExecute in class NearestAttackableTargetGoal<LivingEntity>public void startExecuting()
startExecuting in class NearestAttackableTargetGoal<LivingEntity>