Package net.minecraft.entity.passive
Class PolarBearEntity.ProtectBabiesGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.ActiveTargetGoal<PlayerEntity>
net.minecraft.entity.passive.PolarBearEntity.ProtectBabiesGoal
- Enclosing class:
PolarBearEntity
A target goal on players when this polar bear is near a baby polar bear.
- Mappings:
Namespace Name named net/minecraft/entity/passive/PolarBearEntity$ProtectBabiesGoalintermediary net/minecraft/class_1456$class_1457official cfw$a
-
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.ActiveTargetGoal
reciprocalChance, targetClass, targetEntity, targetPredicateFields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.ActiveTargetGoal
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, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
-
Constructor Details
-
ProtectBabiesGoal
public ProtectBabiesGoal()
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classActiveTargetGoal<PlayerEntity>- Mappings:
Namespace Name Mixin selector named canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Zofficial bLcam;b()Z
-
getFollowRange
protected double getFollowRange()- Overrides:
getFollowRangein classTrackTargetGoal- Mappings:
Namespace Name Mixin selector named getFollowRangeLnet/minecraft/entity/ai/goal/TrackTargetGoal;getFollowRange()Dintermediary method_6326Lnet/minecraft/class_1405;method_6326()Dofficial lLccm;l()D
-