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$ProtectBabiesGoal- intermediary - net/minecraft/class_1456$class_1457- official - chr$a
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.entity.ai.goal.GoalGoal.Control
- 
Field SummaryFields inherited from class net.minecraft.entity.ai.goal.ActiveTargetGoalreciprocalChance, targetClass, targetEntity, targetPredicateFields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoalcheckVisibility, maxTimeWithoutVisibility, mob, target
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.entity.ai.goal.ActiveTargetGoalfindClosestTarget, getSearchBox, setTargetEntity, startMethods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoalcanTrack, setMaxTimeWithoutVisibility, shouldContinue, stopMethods inherited from class net.minecraft.entity.ai.goal.GoalcanStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, shouldRunEveryTick, tick, toGoalTicks, toString
- 
Constructor Details- 
ProtectBabiesGoalpublic ProtectBabiesGoal()
 
- 
- 
Method Details- 
canStartpublic boolean canStart()- Overrides:
- canStartin class- ActiveTargetGoal<PlayerEntity>
- Mappings:
- Namespace - Name - Mixin selector - named - canStart- Lnet/minecraft/entity/ai/goal/Goal;canStart()Z- intermediary - method_6264- Lnet/minecraft/class_1352;method_6264()Z- official - b- Lccg;b()Z
 
- 
getFollowRangeprotected double getFollowRange()- Overrides:
- getFollowRangein class- TrackTargetGoal
- Mappings:
- Namespace - Name - Mixin selector - named - getFollowRange- Lnet/minecraft/entity/ai/goal/TrackTargetGoal;getFollowRange()D- intermediary - method_6326- Lnet/minecraft/class_1405;method_6326()D- official - l- Lceg;l()D
 
 
-