Package net.minecraft.src
Class EntityAIMoveTowardsRestriction
java.lang.Object
net.minecraft.src.EntityAIBase
net.minecraft.src.EntityAIMoveTowardsRestriction
-
Constructor Summary
ConstructorsConstructorDescriptionEntityAIMoveTowardsRestriction(EntityCreature par1EntityCreature, double par2) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether an in-progress EntityAIBase should continue executingbooleanReturns whether the EntityAIBase should begin execution.voidExecute a one shot task or start executing a continuous taskMethods inherited from class net.minecraft.src.EntityAIBase
getMutexBits, isContinuous, resetTask, setMutexBits, updateTask
-
Constructor Details
-
EntityAIMoveTowardsRestriction
-
-
Method Details
-
shouldExecute
public boolean shouldExecute()Returns whether the EntityAIBase should begin execution.- Specified by:
shouldExecutein classEntityAIBase
-
continueExecuting
public boolean continueExecuting()Returns whether an in-progress EntityAIBase should continue executing- Overrides:
continueExecutingin classEntityAIBase
-
startExecuting
public void startExecuting()Execute a one shot task or start executing a continuous task- Overrides:
startExecutingin classEntityAIBase
-