Package btw.entity.mob.behavior
Class WildWolfTargetIfStarvingOrHostileBehavior
java.lang.Object
net.minecraft.src.EntityAIBase
net.minecraft.src.EntityAITarget
net.minecraft.src.EntityAINearestAttackableTarget
btw.entity.mob.behavior.WildWolfTargetIfStarvingOrHostileBehavior
-
Field Summary
Fields inherited from class net.minecraft.src.EntityAITarget
ignoreTargetsOutsideHome, shouldCheckSight, taskOwner -
Constructor Summary
ConstructorsConstructorDescriptionWildWolfTargetIfStarvingOrHostileBehavior(EntityWolf wolf, Class targetClass, float fTargetRange, int iChanceOfTargeting, boolean bCheckLineOfSight) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether an in-progress EntityAIBase should continue executingbooleanReturns whether the EntityAIBase should begin execution.Methods inherited from class net.minecraft.src.EntityAINearestAttackableTarget
getTargetDistance, startExecutingMethods inherited from class net.minecraft.src.EntityAITarget
isSuitableTarget, resetTaskMethods inherited from class net.minecraft.src.EntityAIBase
getMutexBits, isContinuous, setMutexBits, updateTask
-
Constructor Details
-
WildWolfTargetIfStarvingOrHostileBehavior
public WildWolfTargetIfStarvingOrHostileBehavior(EntityWolf wolf, Class targetClass, float fTargetRange, int iChanceOfTargeting, boolean bCheckLineOfSight)
-
-
Method Details
-
continueExecuting
public boolean continueExecuting()Description copied from class:EntityAITargetReturns whether an in-progress EntityAIBase should continue executing- Overrides:
continueExecutingin classEntityAITarget
-
shouldExecute
public boolean shouldExecute()Description copied from class:EntityAINearestAttackableTargetReturns whether the EntityAIBase should begin execution.- Overrides:
shouldExecutein classEntityAINearestAttackableTarget
-