static class PandaEntity.AttackGoal extends MeleeAttackGoal
Goal.Control
Modifier and Type | Field and Description |
---|---|
private PandaEntity |
panda |
attackIntervalTicks, mob, ticksUntilAttack
Constructor and Description |
---|
AttackGoal(PandaEntity panda,
double speed,
boolean pauseWhenMobIdle) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
attack, getSquaredMaxAttackDistance, shouldContinue, start, stop, tick
canStop, getControls, setControls, toString
private final PandaEntity panda
public AttackGoal(PandaEntity panda, double speed, boolean pauseWhenMobIdle)
public boolean canStart()
canStart
in class MeleeAttackGoal