Class Panda.PandaHurtByTargetGoal
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.Panda.PandaHurtByTargetGoal
- Enclosing class:
- Panda
-
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_29295_, LivingEntity p_29296_)
boolean
Methods inherited from class net.minecraft.world.entity.ai.goal.target.HurtByTargetGoal
alertOthers, canUse, setAlertOthers, start
Methods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, getFollowDistance, setUnseenMemoryTicks, stop
-
Field Details
-
panda
-
-
Constructor Details
-
PandaHurtByTargetGoal
-
-
Method Details
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classTargetGoal
-
alertOther
- Overrides:
alertOther
in classHurtByTargetGoal
-