Package btw.entity.mob.behavior
Class DireWolfHowlBehavior
java.lang.Object
net.minecraft.src.EntityAIBase
btw.entity.mob.behavior.DireWolfHowlBehavior
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DireWolfEntityprotected static final intprotected static final intprotected intprotected World -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether an in-progress EntityAIBase should continue executingvoidResets 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
getMutexBits, isContinuous, setMutexBits
-
Field Details
-
associatedWolf
-
world
-
howlCounter
protected int howlCounter -
CHANCE_OF_HOWLING
protected static final int CHANCE_OF_HOWLING- See Also:
-
HOWL_DURATION
protected static final int HOWL_DURATION- See Also:
-
-
Constructor Details
-
DireWolfHowlBehavior
-
-
Method Details
-
shouldExecute
public boolean shouldExecute()Description copied from class:EntityAIBaseReturns whether the EntityAIBase should begin execution.- Specified by:
shouldExecutein classEntityAIBase
-
continueExecuting
public boolean continueExecuting()Description copied from class:EntityAIBaseReturns whether an in-progress EntityAIBase should continue executing- Overrides:
continueExecutingin classEntityAIBase
-
startExecuting
public void startExecuting()Description copied from class:EntityAIBaseExecute a one shot task or start executing a continuous task- Overrides:
startExecutingin classEntityAIBase
-
resetTask
public void resetTask()Description copied from class:EntityAIBaseResets the task- Overrides:
resetTaskin classEntityAIBase
-
updateTask
public void updateTask()Description copied from class:EntityAIBaseUpdates the task- Overrides:
updateTaskin classEntityAIBase
-