Package net.minecraft.entity.passive
Class PolarBearEntity.FollowPlayersGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.FollowTargetGoal<PlayerEntity>
net.minecraft.entity.passive.PolarBearEntity.FollowPlayersGoal
- Enclosing class:
- PolarBearEntity
- Mappings:
Namespace Name official ben$a
intermediary net/minecraft/class_1456$class_1457
named net/minecraft/entity/passive/PolarBearEntity$FollowPlayersGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.FollowTargetGoal
reciprocalChance, targetClass, targetEntity, targetPredicate
Fields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.FollowTargetGoal
findClosestTarget, getSearchBox, setTargetEntity, start
Methods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, setMaxTimeWithoutVisibility, shouldContinue, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Constructor Details
-
FollowPlayersGoal
public FollowPlayersGoal()
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classFollowTargetGoal<PlayerEntity>
- Mappings:
Namespace Name Mixin selector official a
Lazo;a()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
getFollowRange
protected double getFollowRange()- Overrides:
getFollowRange
in classTrackTargetGoal
- Mappings:
Namespace Name Mixin selector official k
Lbbn;k()D
intermediary method_6326
Lnet/minecraft/class_1405;method_6326()D
named getFollowRange
Lnet/minecraft/entity/ai/goal/TrackTargetGoal;getFollowRange()D
-