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 final TargetingConditions
private final EnderMan
private final Predicate<LivingEntity>
private Player
private final 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
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
enderman
-
pendingTarget
-
aggroTime
private int aggroTime -
teleportTime
private int teleportTime -
startAggroTargetConditions
-
continueAggroTargetConditions
-
isAngerInducing
-
-
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()
-