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 SummaryFieldsFields inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoalrandomInterval, target, targetConditions, targetTypeFields inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoalmob, mustSee, targetMob, unseenMemoryTicks
- 
Constructor SummaryConstructorsConstructorDescriptionNearestHealableRaiderTargetGoal(Raider p_26087_, Class<T> p_26088_, boolean p_26089_, Predicate<LivingEntity> p_26090_)
- 
Method SummaryMethods inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoalfindTarget, getTargetSearchArea, setTargetMethods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoalcanAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stop
- 
Field Details- 
DEFAULT_COOLDOWNprivate static final int DEFAULT_COOLDOWN- See Also:
- Constant Field Values
 
- 
cooldownprivate int cooldown
 
- 
- 
Constructor Details- 
NearestHealableRaiderTargetGoalpublic NearestHealableRaiderTargetGoal(Raider p_26087_, Class<T> p_26088_, boolean p_26089_, @Nullable Predicate<LivingEntity> p_26090_)
 
- 
- 
Method Details- 
getCooldownpublic int getCooldown()
- 
decrementCooldownpublic void decrementCooldown()
- 
canUsepublic boolean canUse()- Overrides:
- canUsein class- NearestAttackableTargetGoal<T extends LivingEntity>
 
- 
startpublic void start()- Overrides:
- startin class- NearestAttackableTargetGoal<T extends LivingEntity>
 
 
-