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, toStringprivate final MobEntity leaper
private LivingEntity leapTarget
private final float leapMotionY
public LeapAtTargetGoal(MobEntity leapingEntity, float leapMotionYIn)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic void startExecuting()
startExecuting in class Goal