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
class PolarBearEntity.FollowPlayersGoal extends FollowTargetGoal<PlayerEntity>
- Mappings:
Namespace Name official bbz$aintermediary net/minecraft/class_1456$class_1457named 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, targetPredicateFields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target -
Constructor Summary
Constructors Constructor Description FollowPlayersGoal() -
Method Summary
Modifier and Type Method Description booleancanStart()protected doublegetFollowRange()Methods inherited from class net.minecraft.entity.ai.goal.FollowTargetGoal
findClosestTarget, getSearchBox, setTargetEntity, startMethods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, setMaxTimeWithoutVisibility, shouldContinue, stopMethods 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:
canStartin classFollowTargetGoal<PlayerEntity>- Mappings:
Namespace Name Mixin selector official aLawx;a()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
getFollowRange
protected double getFollowRange()- Overrides:
getFollowRangein classTrackTargetGoal- Mappings:
Namespace Name Mixin selector official kLayz;k()Dintermediary method_6326Lnet/minecraft/class_1405;method_6326()Dnamed getFollowRangeLnet/minecraft/entity/ai/goal/TrackTargetGoal;getFollowRange()D
-