Class 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
- Enclosing class:
- EnderMan
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private TargetingConditions
private EnderMan
private Player
private TargetingConditions
private int
Fields inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
randomInterval, target, targetConditions, targetType
Fields inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
Constructor Summary
ConstructorDescriptionEndermanLookForPlayerGoal(EnderMan p_32573_, Predicate<LivingEntity> p_32574_)
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTarget
Methods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, getFollowDistance, setUnseenMemoryTicks
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
enderman
-
pendingTarget
-
aggroTime
private int aggroTime -
teleportTime
private int teleportTime -
startAggroTargetConditions
-
continueAggroTargetConditions
-
-
Constructor Details
-
EndermanLookForPlayerGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classNearestAttackableTargetGoal<Player>
-
start
public void start()- Overrides:
start
in classNearestAttackableTargetGoal<Player>
-
stop
public void stop()- Overrides:
stop
in classTargetGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classTargetGoal
-
tick
public void tick()
-