public class LeapAtTargetGoal extends Goal
Modifier and Type | Field and Description |
---|---|
private MobEntity |
leaper |
private float |
leapMotionY |
private LivingEntity |
leapTarget |
Constructor and Description |
---|
LeapAtTargetGoal(MobEntity leapingEntity,
float leapMotionYIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexFlags, isPreemptible, resetTask, setMutexFlags, tick, toString
private final MobEntity leaper
private LivingEntity leapTarget
private final float leapMotionY
public LeapAtTargetGoal(MobEntity leapingEntity, float leapMotionYIn)
public boolean shouldExecute()
shouldExecute
in class Goal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal
public void startExecuting()
startExecuting
in class Goal