net.minecraft.entity.ai
Class EntityAIMoveTwardsRestriction

java.lang.Object
  extended by net.minecraft.entity.ai.EntityAIBase
      extended by net.minecraft.entity.ai.EntityAIMoveTwardsRestriction

public class EntityAIMoveTwardsRestriction
extends EntityAIBase


Constructor Summary
EntityAIMoveTwardsRestriction(EntityCreature par1EntityCreature, float par2)
           
 
Method Summary
 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
 
Methods inherited from class net.minecraft.entity.ai.EntityAIBase
getMutexBits, isContinuous, resetTask, setMutexBits, updateTask
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityAIMoveTwardsRestriction

public EntityAIMoveTwardsRestriction(EntityCreature par1EntityCreature,
                                     float par2)
Method Detail

shouldExecute

public boolean shouldExecute()
Returns whether the EntityAIBase should begin execution.

Specified by:
shouldExecute in class EntityAIBase

continueExecuting

public boolean continueExecuting()
Returns whether an in-progress EntityAIBase should continue executing

Overrides:
continueExecuting in class EntityAIBase

startExecuting

public void startExecuting()
Execute a one shot task or start executing a continuous task

Overrides:
startExecuting in class EntityAIBase