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, targetTypeFields inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTarget, startMethods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, canContinueToUse, setUnseenMemoryTicks, stopMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString 
- 
Constructor Details
- 
PolarBearAttackPlayersGoal
public PolarBearAttackPlayersGoal() 
 - 
 - 
Method Details
- 
canUse
public boolean canUse()- Overrides:
 canUsein classNearestAttackableTargetGoal<Player>
 - 
getFollowDistance
protected double getFollowDistance()- Overrides:
 getFollowDistancein classTargetGoal
 
 -