Package net.minecraft.entity.passive
Class PolarBearEntity.PolarBearRevengeGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.RevengeGoal
net.minecraft.entity.passive.PolarBearEntity.PolarBearRevengeGoal
- Enclosing class:
- PolarBearEntity
class PolarBearEntity.PolarBearRevengeGoal extends RevengeGoal
-
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.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
Constructor Summary
Constructors Constructor Description PolarBearRevengeGoal()
-
Method Summary
Modifier and Type Method Description protected void
setMobEntityTarget(MobEntity mob, LivingEntity target)
void
start()
Methods inherited from class net.minecraft.entity.ai.goal.RevengeGoal
callSameTypeForRevenge, canStart, setGroupRevenge
Methods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, getFollowRange, setMaxTimeWithoutVisibility, shouldContinue, stop
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Constructor Details
-
PolarBearRevengeGoal
public PolarBearRevengeGoal()
-
-
Method Details
-
start
public void start()- Overrides:
start
in classRevengeGoal
-
setMobEntityTarget
- Overrides:
setMobEntityTarget
in classRevengeGoal
-