Package btw.entity.mob.behavior
Class ZombieBreakBarricadeBehavior
java.lang.Object
net.minecraft.src.EntityAIBase
btw.entity.mob.behavior.ZombieBreakBarricadeBehavior
- Direct Known Subclasses:
ZombieBreakBarricadeBehaviorHostile
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EntityLivingprotected intprotected intprotected intprotected intprotected intprotected Block -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether an in-progress EntityAIBase should continue executingvoidResets the taskprotected BlockshouldBreakBarricadeAtPos(World world, int i, int j, int k, boolean advancedBreaker) booleanReturns 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
-
associatedEntity
-
doorPosX
protected int doorPosX -
doorPosY
protected int doorPosY -
doorPosZ
protected int doorPosZ -
targetBlock
-
breakingTime
protected int breakingTime -
field_75358_j
protected int field_75358_j
-
-
Constructor Details
-
ZombieBreakBarricadeBehavior
-
-
Method Details
-
shouldExecute
public boolean shouldExecute()Description copied from class:EntityAIBaseReturns whether the EntityAIBase should begin execution.- Specified by:
shouldExecutein classEntityAIBase
-
startExecuting
public void startExecuting()Description copied from class:EntityAIBaseExecute a one shot task or start executing a continuous task- Overrides:
startExecutingin classEntityAIBase
-
continueExecuting
public boolean continueExecuting()Description copied from class:EntityAIBaseReturns whether an in-progress EntityAIBase should continue executing- Overrides:
continueExecutingin 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
-
shouldBreakBarricadeAtPos
-