Package net.minecraft.src
Class EntityAISit
java.lang.Object
net.minecraft.src.EntityAIBase
net.minecraft.src.EntityAISit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidResets the taskvoidsetSitting(boolean par1) Sets the sitting flag.booleanReturns whether the EntityAIBase should begin execution.voidExecute a one shot task or start executing a continuous taskMethods inherited from class net.minecraft.src.EntityAIBase
continueExecuting, getMutexBits, isContinuous, setMutexBits, updateTask
-
Constructor Details
-
EntityAISit
-
-
Method Details
-
shouldExecute
public boolean shouldExecute()Returns whether the EntityAIBase should begin execution.- Specified by:
shouldExecutein classEntityAIBase
-
startExecuting
public void startExecuting()Execute a one shot task or start executing a continuous task- Overrides:
startExecutingin classEntityAIBase
-
resetTask
public void resetTask()Resets the task- Overrides:
resetTaskin classEntityAIBase
-
setSitting
public void setSitting(boolean par1) Sets the sitting flag. -
isTryingToSit
public boolean isTryingToSit()
-