Class PolarBear.PolarBearAttackPlayersGoal
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.animal.PolarBear.PolarBearAttackPlayersGoal
- Enclosing class:
- PolarBear
-
Nested Class Summary
-
Field Summary
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
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTarget, start
Methods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, canContinueToUse, setUnseenMemoryTicks, stop
-
Constructor Details
-
PolarBearAttackPlayersGoal
public PolarBearAttackPlayersGoal()
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classNearestAttackableTargetGoal<Player>
-
getFollowDistance
protected double getFollowDistance()- Overrides:
getFollowDistance
in classTargetGoal
-