static class TurtleEntity.MateGoal extends AnimalMateGoal
Goal.Control| Modifier and Type | Field and Description |
|---|---|
private TurtleEntity |
turtle |
animal, mate, world| Constructor and Description |
|---|
MateGoal(TurtleEntity turtle,
double speed) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
breed() |
boolean |
canStart() |
shouldContinue, stop, tickcanStop, getControls, setControls, start, toStringprivate final TurtleEntity turtle
MateGoal(TurtleEntity turtle, double speed)
public boolean canStart()
canStart in class AnimalMateGoalprotected void breed()
breed in class AnimalMateGoal