Class NearestAttackableWitchTargetGoal<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.NearestAttackableWitchTargetGoal<T>
public class NearestAttackableWitchTargetGoal<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 SummaryConstructorsConstructorDescriptionNearestAttackableWitchTargetGoal(Raider p_26076_, Class<T> p_26077_, int p_26078_, boolean p_26079_, boolean p_26080_, Predicate<LivingEntity> p_26081_)
- 
Method SummaryMethods inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoalfindTarget, getTargetSearchArea, setTarget, startMethods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoalcanAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stop
- 
Field Details- 
canAttackprivate boolean canAttack
 
- 
- 
Constructor Details- 
NearestAttackableWitchTargetGoalpublic NearestAttackableWitchTargetGoal(Raider p_26076_, Class<T> p_26077_, int p_26078_, boolean p_26079_, boolean p_26080_, @Nullable Predicate<LivingEntity> p_26081_)
 
- 
- 
Method Details- 
setCanAttackpublic void setCanAttack(boolean p_26084_)
- 
canUsepublic boolean canUse()- Overrides:
- canUsein class- NearestAttackableTargetGoal<T extends LivingEntity>
 
 
-