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
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Constructor Details
-
HurtByTargetGoal
public HurtByTargetGoal()
-
-
Method Details
-
start
public void start()- Overrides:
start
in classHurtByTargetGoal
-
alertOther
- Overrides:
alertOther
in classHurtByTargetGoal
-