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.PolarBear.PolarBearHurtByTargetGoal
- Enclosing class:
PolarBear
-
Nested Class Summary
-
Field Summary
Fields inherited from class TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidalertOther(Mob other, LivingEntity hurtByMob) voidstart()Methods inherited from class HurtByTargetGoal
alertOthers, canUse, setAlertOthersMethods inherited from class TargetGoal
canAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stopMethods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Constructor Details
-
PolarBearHurtByTargetGoal
public PolarBearHurtByTargetGoal()
-
-
Method Details
-
start
public void start()- Overrides:
startin classHurtByTargetGoal
-
alertOther
- Overrides:
alertOtherin classHurtByTargetGoal
-