Package net.minecraft.src
Class EntityAIFleeSun
java.lang.Object
net.minecraft.src.EntityAIBase
net.minecraft.src.EntityAIFleeSun
- Direct Known Subclasses:
FindShadeBehavior
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleprotected intprotected intprotected doubleprotected doubleprotected doubleprotected EntityCreatureprotected World -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether an in-progress EntityAIBase should continue executingprotected Vec3booleanReturns whether the EntityAIBase should begin execution.voidExecute a one shot task or start executing a continuous taskMethods inherited from class net.minecraft.src.EntityAIBase
getMutexBits, isContinuous, resetTask, setMutexBits, updateTask
-
Field Details
-
theCreature
-
shelterX
protected double shelterX -
shelterY
protected double shelterY -
shelterZ
protected double shelterZ -
shelterHorizontalSearchRange
protected int shelterHorizontalSearchRange -
shelterVerticalSearchRange
protected int shelterVerticalSearchRange -
movementSpeed
protected double movementSpeed -
theWorld
-
-
Constructor Details
-
EntityAIFleeSun
-
-
Method Details
-
shouldExecute
public boolean shouldExecute()Returns whether the EntityAIBase should begin execution.- Specified by:
shouldExecutein classEntityAIBase
-
continueExecuting
public boolean continueExecuting()Returns whether an in-progress EntityAIBase should continue executing- Overrides:
continueExecutingin classEntityAIBase
-
startExecuting
public void startExecuting()Execute a one shot task or start executing a continuous task- Overrides:
startExecutingin classEntityAIBase
-
findPossibleShelter
-