Class NearestHealableRaiderTargetGoal<T extends LivingEntity>
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.target.TargetGoal
net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal<T>
net.minecraft.world.entity.ai.goal.target.NearestHealableRaiderTargetGoal<T>
public class NearestHealableRaiderTargetGoal<T extends LivingEntity>
extends NearestAttackableTargetGoal<T>
- 
Nested Class Summary
 - 
Field Summary
FieldsFields inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
randomInterval, target, targetConditions, targetTypeFields inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks - 
Constructor Summary
ConstructorsConstructorDescriptionNearestHealableRaiderTargetGoal(Raider p_26087_, Class<T> p_26088_, boolean p_26089_, Predicate<LivingEntity> p_26090_)  - 
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTargetMethods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stopMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString 
- 
Field Details
- 
DEFAULT_COOLDOWN
private static final int DEFAULT_COOLDOWN- See Also:
 
 - 
cooldown
private int cooldown 
 - 
 - 
Constructor Details
- 
NearestHealableRaiderTargetGoal
public NearestHealableRaiderTargetGoal(Raider p_26087_, Class<T> p_26088_, boolean p_26089_, @Nullable Predicate<LivingEntity> p_26090_)  
 - 
 - 
Method Details
- 
getCooldown
public int getCooldown() - 
decrementCooldown
public void decrementCooldown() - 
canUse
public boolean canUse()- Overrides:
 canUsein classNearestAttackableTargetGoal<T extends LivingEntity>
 - 
start
public void start()- Overrides:
 startin classNearestAttackableTargetGoal<T extends LivingEntity>
 
 -