类 EnderMan.EndermanLookForPlayerGoal
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<Player>
net.minecraft.world.entity.monster.EnderMan.EndermanLookForPlayerGoal
- 封闭类:
EnderMan
-
嵌套类概要
-
字段概要
字段修饰符和类型字段说明private int
private final TargetingConditions
private final EnderMan
private final TargetingConditions.Selector
private Player
private final TargetingConditions
private int
从类继承的字段 net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
randomInterval, target, targetConditions, targetType
从类继承的字段 net.minecraft.world.entity.ai.goal.target.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTarget
从类继承的方法 net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, getFollowDistance, setUnseenMemoryTicks
从类继承的方法 net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
字段详细资料
-
enderman
-
pendingTarget
-
aggroTime
private int aggroTime -
teleportTime
private int teleportTime -
startAggroTargetConditions
-
continueAggroTargetConditions
-
isAngerInducing
-
-
构造器详细资料
-
EndermanLookForPlayerGoal
public EndermanLookForPlayerGoal(EnderMan p_32573_, @Nullable TargetingConditions.Selector p_369637_)
-
-
方法详细资料
-
canUse
public boolean canUse()- 覆盖:
canUse
在类中NearestAttackableTargetGoal<Player>
-
start
public void start()- 覆盖:
start
在类中NearestAttackableTargetGoal<Player>
-
stop
public void stop()- 覆盖:
stop
在类中TargetGoal
-
canContinueToUse
public boolean canContinueToUse()- 覆盖:
canContinueToUse
在类中TargetGoal
-
tick
public void tick()
-