类 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>
-
嵌套类概要
-
字段概要
字段从类继承的字段 net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
randomInterval, target, targetConditions, targetType
从类继承的字段 net.minecraft.world.entity.ai.goal.target.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
构造器概要
构造器构造器说明NearestAttackableWitchTargetGoal
(Raider p_26076_, Class<T> p_26077_, int p_26078_, boolean p_26079_, boolean p_26080_, TargetingConditions.Selector p_363276_) -
方法概要
从类继承的方法 net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTarget, start
从类继承的方法 net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stop
从类继承的方法 net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
字段详细资料
-
canAttack
private boolean canAttack
-
-
构造器详细资料
-
NearestAttackableWitchTargetGoal
public NearestAttackableWitchTargetGoal(Raider p_26076_, Class<T> p_26077_, int p_26078_, boolean p_26079_, boolean p_26080_, @Nullable TargetingConditions.Selector p_363276_)
-
-
方法详细资料
-
setCanAttack
public void setCanAttack(boolean p_26084_) -
canUse
public boolean canUse()- 覆盖:
canUse
在类中NearestAttackableTargetGoal<T extends LivingEntity>
-