Package api.entity.mob.behavior
Class FindShadeBehavior
java.lang.Object
net.minecraft.src.EntityAIBase
net.minecraft.src.EntityAIFleeSun
api.entity.mob.behavior.FindShadeBehavior
-
Field Summary
Fields inherited from class net.minecraft.src.EntityAIFleeSun
movementSpeed, shelterHorizontalSearchRange, shelterVerticalSearchRange, shelterX, shelterY, shelterZ, theCreature, theWorld -
Constructor Summary
ConstructorsConstructorDescriptionFindShadeBehavior(EntityCreature creature, double moveSpeedModifier, int horizontalSearch, int verticalSearch) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the EntityAIBase should begin execution.Methods inherited from class net.minecraft.src.EntityAIFleeSun
continueExecuting, findPossibleShelter, startExecutingMethods inherited from class net.minecraft.src.EntityAIBase
getMutexBits, isContinuous, resetTask, setMutexBits, updateTask
-
Constructor Details
-
FindShadeBehavior
public FindShadeBehavior(EntityCreature creature, double moveSpeedModifier, int horizontalSearch, int verticalSearch)
-
-
Method Details
-
shouldExecute
public boolean shouldExecute()Description copied from class:EntityAIFleeSunReturns whether the EntityAIBase should begin execution.- Overrides:
shouldExecutein classEntityAIFleeSun
-