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.Panda.PandaHurtByTargetGoal
- Enclosing class:
Panda
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidalertOther(Mob other, LivingEntity hurtByMob) booleanMethods inherited from class HurtByTargetGoal
alertOthers, canUse, setAlertOthers, startMethods inherited from class TargetGoal
canAttack, getFollowDistance, setUnseenMemoryTicks, stopMethods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Field Details
-
panda
-
-
Constructor Details
-
PandaHurtByTargetGoal
-
-
Method Details
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUsein classTargetGoal
-
alertOther
- Overrides:
alertOtherin classHurtByTargetGoal
-