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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidalertOther(MobEntity p_220793_1_, LivingEntity p_220793_2_) voidstart()Methods inherited from class net.minecraft.entity.ai.goal.HurtByTargetGoal
alertOthers, canUse, setAlertOthersMethods 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:
startin classHurtByTargetGoal
-
alertOther
- Overrides:
alertOtherin classHurtByTargetGoal
-