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
FieldsModifier and TypeFieldDescriptionprivate intprivate final TargetingConditionsprivate final EnderManprivate final Predicate<LivingEntity> private Playerprivate final TargetingConditionsprivate intFields inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
randomInterval, target, targetConditions, targetTypeFields inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks -
Constructor Summary
ConstructorsConstructorDescriptionEndermanLookForPlayerGoal(EnderMan p_32573_, Predicate<LivingEntity> p_32574_) -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTargetMethods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, getFollowDistance, setUnseenMemoryTicksMethods 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:
canUsein classNearestAttackableTargetGoal<Player>
-
start
public void start()- Overrides:
startin classNearestAttackableTargetGoal<Player>
-
stop
public void stop()- Overrides:
stopin classTargetGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUsein classTargetGoal
-
tick
public void tick()
-