Class Bee.BeeHurtByOtherGoal
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.Bee.BeeHurtByOtherGoal
- Enclosing class:
Bee
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidalertOther(Mob p_28035_, LivingEntity p_28036_) booleanMethods inherited from class net.minecraft.world.entity.ai.goal.target.HurtByTargetGoal
alertOthers, canUse, setAlertOthers, startMethods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, getFollowDistance, setUnseenMemoryTicks, stopMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Constructor Details
-
BeeHurtByOtherGoal
BeeHurtByOtherGoal(Bee p_28033_)
-
-
Method Details
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUsein classTargetGoal
-
alertOther
- Overrides:
alertOtherin classHurtByTargetGoal
-