Package net.minecraft.src
Class EntityAIDefendVillage
java.lang.Object
net.minecraft.src.EntityAIBase
net.minecraft.src.EntityAITarget
net.minecraft.src.EntityAIDefendVillage
-
Field Summary
Fields inherited from class net.minecraft.src.EntityAITarget
ignoreTargetsOutsideHome, shouldCheckSight, taskOwner -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the EntityAIBase should begin execution.voidExecute a one shot task or start executing a continuous taskMethods inherited from class net.minecraft.src.EntityAITarget
continueExecuting, getTargetDistance, isSuitableTarget, resetTaskMethods inherited from class net.minecraft.src.EntityAIBase
getMutexBits, isContinuous, setMutexBits, updateTask
-
Constructor Details
-
EntityAIDefendVillage
-
-
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 classEntityAITarget
-