Goal.Control
Modifier and Type | Field and Description |
---|---|
private CatEntity |
cat |
private PlayerEntity |
player |
closestPlayer, mob
Constructor and Description |
---|
TemptGoal(CatEntity cat,
double speed,
Ingredient food,
boolean canBeScared) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canBeScared() |
boolean |
canStart() |
void |
tick() |
isActive, isTemptedBy, shouldContinue, start, stop
canStop, getControls, setControls, toString
@Nullable private PlayerEntity player
private final CatEntity cat
public TemptGoal(CatEntity cat, double speed, Ingredient food, boolean canBeScared)