static class VindicatorEntity.JohnnyAttackGoal extends NearestAttackableTargetGoal<LivingEntity>
nearestTarget, targetChance, targetClass, targetEntitySelector
goalOwner, shouldCheckSight, target, unseenMemoryTicks
Constructor and Description |
---|
JohnnyAttackGoal(VindicatorEntity vindicator) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldExecute() |
void |
startExecuting() |
findNearestTarget, getTargetableArea
getTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks, shouldContinueExecuting
getMutexFlags, isPreemptible, setMutexFlags, tick, toString
public JohnnyAttackGoal(VindicatorEntity vindicator)
public boolean shouldExecute()
shouldExecute
in class NearestAttackableTargetGoal<LivingEntity>
public void startExecuting()
startExecuting
in class NearestAttackableTargetGoal<LivingEntity>