Package api.entity.mob.behavior
Class GrazeBehavior
java.lang.Object
net.minecraft.src.EntityAIBase
api.entity.mob.behavior.GrazeBehavior
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether an in-progress EntityAIBase should continue executingvoidResets the taskbooleanReturns whether the EntityAIBase should begin execution.voidExecute a one shot task or start executing a continuous taskvoidUpdates the taskMethods inherited from class net.minecraft.src.EntityAIBase
getMutexBits, isContinuous, setMutexBits
-
Constructor Details
-
GrazeBehavior
-
-
Method Details
-
shouldExecute
public boolean shouldExecute()Description copied from class:EntityAIBaseReturns whether the EntityAIBase should begin execution.- Specified by:
shouldExecutein classEntityAIBase
-
startExecuting
public void startExecuting()Description copied from class:EntityAIBaseExecute a one shot task or start executing a continuous task- Overrides:
startExecutingin classEntityAIBase
-
resetTask
public void resetTask()Description copied from class:EntityAIBaseResets the task- Overrides:
resetTaskin classEntityAIBase
-
continueExecuting
public boolean continueExecuting()Description copied from class:EntityAIBaseReturns whether an in-progress EntityAIBase should continue executing- Overrides:
continueExecutingin classEntityAIBase
-
updateTask
public void updateTask()Description copied from class:EntityAIBaseUpdates the task- Overrides:
updateTaskin classEntityAIBase
-