类 Fox.DefendTrustedTargetGoal
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<LivingEntity>
net.minecraft.world.entity.animal.Fox.DefendTrustedTargetGoal
- 封闭类:
Fox
-
嵌套类概要
-
字段概要
字段从类继承的字段 net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
randomInterval, target, targetConditions, targetType
从类继承的字段 net.minecraft.world.entity.ai.goal.target.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
构造器概要
构造器构造器说明DefendTrustedTargetGoal
(Class<LivingEntity> p_28634_, boolean p_28635_, boolean p_28636_, TargetingConditions.Selector p_376538_) -
方法概要
从类继承的方法 net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTarget
从类继承的方法 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
-
字段详细资料
-
trustedLastHurtBy
-
trustedLastHurt
-
timestamp
private int timestamp
-
-
构造器详细资料
-
DefendTrustedTargetGoal
public DefendTrustedTargetGoal(Class<LivingEntity> p_28634_, boolean p_28635_, boolean p_28636_, @Nullable TargetingConditions.Selector p_376538_)
-
-
方法详细资料
-
canUse
public boolean canUse() -
start
public void start()- 覆盖:
start
在类中NearestAttackableTargetGoal<LivingEntity>
-