static class BeeEntity.AttackPlayerGoal extends NearestAttackableTargetGoal<PlayerEntity>
nearestTarget, targetChance, targetClass, targetEntitySelectorgoalOwner, shouldCheckSight, target, unseenMemoryTicks| Constructor and Description |
|---|
AttackPlayerGoal(BeeEntity beeIn) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
canSting() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
findNearestTarget, getTargetableArea, startExecutinggetTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicksgetMutexFlags, isPreemptible, setMutexFlags, tick, toStringAttackPlayerGoal(BeeEntity beeIn)
public boolean shouldExecute()
shouldExecute in class NearestAttackableTargetGoal<PlayerEntity>public boolean shouldContinueExecuting()
shouldContinueExecuting in class TargetGoalprivate boolean canSting()