Package api.entity.mob.behavior
Class MoveToLooseFoodBehavior
java.lang.Object
net.minecraft.src.EntityAIBase
api.entity.mob.behavior.MoveToLooseFoodBehavior
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether an in-progress EntityAIBase should continue executingbooleanvoidResets the taskbooleanReturns whether the EntityAIBase should begin execution.voidUpdates the taskMethods inherited from class net.minecraft.src.EntityAIBase
getMutexBits, isContinuous, setMutexBits, startExecuting
-
Field Details
-
myAnimal
-
moveSpeed
protected float moveSpeed
-
-
Constructor Details
-
MoveToLooseFoodBehavior
-
-
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
-
updateTask
public void updateTask()Description copied from class:EntityAIBaseUpdates the task- Overrides:
updateTaskin classEntityAIBase
-
resetTask
public void resetTask()Description copied from class:EntityAIBaseResets the task- Overrides:
resetTaskin classEntityAIBase
-
isWithinEatBox
public boolean isWithinEatBox()
-