Package net.minecraft.entity.passive
Class BeeEntity.AngerGoal
- 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.BeeEntity.AngerGoal
-
- Enclosing class:
- BeeEntity
class BeeEntity.AngerGoal extends HurtByTargetGoal
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.ai.goal.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
alertOther(MobEntity p_220793_1_, LivingEntity p_220793_2_)
boolean
canContinueToUse()
-
Methods inherited from class net.minecraft.entity.ai.goal.HurtByTargetGoal
alertOthers, canUse, setAlertOthers, start
-
Methods inherited from class net.minecraft.entity.ai.goal.TargetGoal
canAttack, getFollowDistance, setUnseenMemoryTicks, stop
-
-
-
-
Constructor Detail
-
AngerGoal
AngerGoal(BeeEntity p_i225726_2_)
-
-
Method Detail
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classTargetGoal
-
alertOther
protected void alertOther(MobEntity p_220793_1_, LivingEntity p_220793_2_)
- Overrides:
alertOther
in classHurtByTargetGoal
-
-