Package net.minecraft.src
Class EntityAIArrowAttack
java.lang.Object
net.minecraft.src.EntityAIBase
net.minecraft.src.EntityAIArrowAttack
-
Constructor Summary
ConstructorsConstructorDescriptionEntityAIArrowAttack(IRangedAttackMob par1IRangedAttackMob, double par2, int par4, float par5) EntityAIArrowAttack(IRangedAttackMob par1IRangedAttackMob, double par2, int par4, int par5, float par6) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether an in-progress EntityAIBase should continue executingvoidResets the taskbooleanReturns whether the EntityAIBase should begin execution.voidUpdates the taskMethods inherited from class net.minecraft.src.EntityAIBase
getMutexBits, isContinuous, setMutexBits, startExecuting
-
Constructor Details
-
EntityAIArrowAttack
public EntityAIArrowAttack(IRangedAttackMob par1IRangedAttackMob, double par2, int par4, float par5) -
EntityAIArrowAttack
public EntityAIArrowAttack(IRangedAttackMob par1IRangedAttackMob, double par2, int par4, int par5, float par6)
-
-
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
-
resetTask
public void resetTask()Resets the task- Overrides:
resetTaskin classEntityAIBase
-
updateTask
public void updateTask()Updates the task- Overrides:
updateTaskin classEntityAIBase
-