Package net.minecraft.src
Class EntityAICreeperSwell
java.lang.Object
net.minecraft.src.EntityAIBase
net.minecraft.src.EntityAICreeperSwell
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe creeper's attack target.The creeper that is swelling. -
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 taskvoidUpdates the taskMethods inherited from class net.minecraft.src.EntityAIBase
continueExecuting, getMutexBits, isContinuous, setMutexBits
-
Field Details
-
swellingCreeper
The creeper that is swelling. -
creeperAttackTarget
The creeper's attack target. This is used for the changing of the creeper's state.
-
-
Constructor Details
-
EntityAICreeperSwell
-
-
Method Details
-
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
-
shouldExecute
public boolean shouldExecute()Description copied from class:EntityAIBaseReturns whether the EntityAIBase should begin execution.- Specified by:
shouldExecutein classEntityAIBase
-
updateTask
public void updateTask()Description copied from class:EntityAIBaseUpdates the task- Overrides:
updateTaskin classEntityAIBase
-