Class Bee.BeeBecomeAngryTargetGoal
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.NearestAttackableTargetGoal<Player>
net.minecraft.world.entity.animal.Bee.BeeBecomeAngryTargetGoal
- Enclosing class:
- Bee
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
randomInterval, target, targetConditions, targetType
Fields inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTarget, start
Methods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, getFollowDistance, setUnseenMemoryTicks, stop
-
Constructor Details
-
BeeBecomeAngryTargetGoal
BeeBecomeAngryTargetGoal(Bee p_27966_)
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classNearestAttackableTargetGoal<Player>
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classTargetGoal
-
beeCanTarget
private boolean beeCanTarget()
-