Package net.minecraft.src
Class EntityAIRestrictSun
java.lang.Object
net.minecraft.src.EntityAIBase
net.minecraft.src.EntityAIRestrictSun
- Direct Known Subclasses:
RestrictSunWithoutTargetBehavior
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidResets the taskbooleanReturns 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
-
Field Details
-
theEntity
-
-
Constructor Details
-
EntityAIRestrictSun
-
-
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
-