Package net.minecraft.entity.passive
Class PolarBearEntity.HurtByTargetGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.TargetGoal
-
- net.minecraft.entity.ai.goal.HurtByTargetGoal
-
- net.minecraft.entity.passive.PolarBearEntity.HurtByTargetGoal
-
- Enclosing class:
- PolarBearEntity
class PolarBearEntity.HurtByTargetGoal extends HurtByTargetGoal
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.ai.goal.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
-
Constructor Summary
Constructors Constructor Description HurtByTargetGoal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
alertOther(MobEntity p_220793_1_, LivingEntity p_220793_2_)
void
start()
-
Methods inherited from class net.minecraft.entity.ai.goal.HurtByTargetGoal
alertOthers, canUse, setAlertOthers
-
Methods inherited from class net.minecraft.entity.ai.goal.TargetGoal
canAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicks, stop
-
-
-
-
Method Detail
-
start
public void start()
- Overrides:
start
in classHurtByTargetGoal
-
alertOther
protected void alertOther(MobEntity p_220793_1_, LivingEntity p_220793_2_)
- Overrides:
alertOther
in classHurtByTargetGoal
-
-