Class PolarBear.PolarBearHurtByTargetGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.target.TargetGoal
net.minecraft.world.entity.ai.goal.target.HurtByTargetGoal
net.minecraft.world.entity.animal.PolarBear.PolarBearHurtByTargetGoal
- Enclosing class:
PolarBear
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
alertOther
(Mob p_29580_, LivingEntity p_29581_) void
start()
Methods inherited from class net.minecraft.world.entity.ai.goal.target.HurtByTargetGoal
alertOthers, canUse, setAlertOthers
Methods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stop
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Constructor Details
-
PolarBearHurtByTargetGoal
public PolarBearHurtByTargetGoal()
-
-
Method Details
-
start
public void start()- Overrides:
start
in classHurtByTargetGoal
-
alertOther
- Overrides:
alertOther
in classHurtByTargetGoal
-