Package btw.entity.mob.behavior
Class SkeletonArrowAttackBehavior
java.lang.Object
net.minecraft.src.EntityAIBase
btw.entity.mob.behavior.SkeletonArrowAttackBehavior
-
Constructor Summary
ConstructorsConstructorDescriptionSkeletonArrowAttackBehavior(IRangedAttackMob rangedAttackMob, float fMoveSpeed, int iAttackInterval, float fAttackRange) SkeletonArrowAttackBehavior(IRangedAttackMob rangedAttackMob, float fMoveSpeed, int iAttackInterval, float fAttackRange, boolean likesToSpreadFire) -
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
-
SkeletonArrowAttackBehavior
public SkeletonArrowAttackBehavior(IRangedAttackMob rangedAttackMob, float fMoveSpeed, int iAttackInterval, float fAttackRange) -
SkeletonArrowAttackBehavior
public SkeletonArrowAttackBehavior(IRangedAttackMob rangedAttackMob, float fMoveSpeed, int iAttackInterval, float fAttackRange, boolean likesToSpreadFire)
-
-
Method Details
-
shouldExecute
public boolean shouldExecute()Description copied from class:EntityAIBaseReturns whether the EntityAIBase should begin execution.- Specified by:
shouldExecutein classEntityAIBase
-
continueExecuting
public boolean continueExecuting()Description copied from class:EntityAIBaseReturns whether an in-progress EntityAIBase should continue executing- Overrides:
continueExecutingin classEntityAIBase
-
resetTask
public void resetTask()Description copied from class:EntityAIBaseResets the task- Overrides:
resetTaskin classEntityAIBase
-
updateTask
public void updateTask()Description copied from class:EntityAIBaseUpdates the task- Overrides:
updateTaskin classEntityAIBase
-