public class EntityAILeapAtTarget extends EntityAIBase
Modifier and Type | Field and Description |
---|---|
(package private) EntityLiving |
leaper
The entity that is leaping.
|
(package private) float |
leapMotionY
The entity's motionY after leaping.
|
(package private) EntityLivingBase |
leapTarget
The entity that the leaper is leaping towards.
|
Constructor and Description |
---|
EntityAILeapAtTarget(EntityLiving leapingEntity,
float leapMotionYIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
continueExecuting()
Returns whether an in-progress EntityAIBase should continue executing
|
boolean |
shouldExecute()
Returns whether the EntityAIBase should begin execution.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
getMutexBits, isInterruptible, resetTask, setMutexBits, updateTask
EntityLiving leaper
EntityLivingBase leapTarget
float leapMotionY
public EntityAILeapAtTarget(EntityLiving leapingEntity, float leapMotionYIn)
public boolean shouldExecute()
shouldExecute
in class EntityAIBase
public boolean continueExecuting()
continueExecuting
in class EntityAIBase
public void startExecuting()
startExecuting
in class EntityAIBase