static class BeeEntity.AttackPlayerGoal extends NearestAttackableTargetGoal<PlayerEntity>
nearestTarget, targetChance, targetClass, targetEntitySelector
goalOwner, shouldCheckSight, target, unseenMemoryTicks
Constructor and Description |
---|
AttackPlayerGoal(BeeEntity beeIn) |
Modifier and Type | Method and Description |
---|---|
private boolean |
canSting() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
findNearestTarget, getTargetableArea, startExecuting
getTargetDistance, isSuitableTarget, resetTask, setUnseenMemoryTicks
getMutexFlags, isPreemptible, setMutexFlags, tick, toString
AttackPlayerGoal(BeeEntity beeIn)
public boolean shouldExecute()
shouldExecute
in class NearestAttackableTargetGoal<PlayerEntity>
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class TargetGoal
private boolean canSting()