Package net.minecraft.entity.passive
Class BeeEntity.AttackPlayerGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.TargetGoal
-
- net.minecraft.entity.ai.goal.NearestAttackableTargetGoal<PlayerEntity>
-
- net.minecraft.entity.passive.BeeEntity.AttackPlayerGoal
-
- Enclosing class:
- BeeEntity
static class BeeEntity.AttackPlayerGoal extends NearestAttackableTargetGoal<PlayerEntity>
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.ai.goal.NearestAttackableTargetGoal
randomInterval, target, targetConditions, targetType
-
Fields inherited from class net.minecraft.entity.ai.goal.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks
-
-
Constructor Summary
Constructors Constructor Description AttackPlayerGoal(BeeEntity p_i225719_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
beeCanTarget()
boolean
canContinueToUse()
boolean
canUse()
-
Methods inherited from class net.minecraft.entity.ai.goal.NearestAttackableTargetGoal
findTarget, getTargetSearchArea, setTarget, start
-
Methods inherited from class net.minecraft.entity.ai.goal.TargetGoal
canAttack, getFollowDistance, setUnseenMemoryTicks, stop
-
-
-
-
Constructor Detail
-
AttackPlayerGoal
AttackPlayerGoal(BeeEntity p_i225719_1_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classNearestAttackableTargetGoal<PlayerEntity>
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classTargetGoal
-
beeCanTarget
private boolean beeCanTarget()
-
-