static class OcelotEntity.OcelotTemptGoal extends TemptGoal
Goal.Control| Modifier and Type | Field and Description |
|---|---|
private OcelotEntity |
ocelot |
closestPlayer, mob| Constructor and Description |
|---|
OcelotTemptGoal(OcelotEntity ocelot,
double speed,
Ingredient food,
boolean canBeScared) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canBeScared() |
canStart, isActive, isTemptedBy, shouldContinue, start, stop, tickcanStop, getControls, setControls, toStringprivate final OcelotEntity ocelot
public OcelotTemptGoal(OcelotEntity ocelot, double speed, Ingredient food, boolean canBeScared)
protected boolean canBeScared()
canBeScared in class TemptGoal