Package net.minecraft.entity.passive
Class TurtleEntity.MateGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.AnimalMateGoal
net.minecraft.entity.passive.TurtleEntity.MateGoal
- Enclosing class:
- TurtleEntity
static class TurtleEntity.MateGoal extends AnimalMateGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields Modifier and Type Field Description private TurtleEntity
turtle
Fields inherited from class net.minecraft.entity.ai.goal.AnimalMateGoal
animal, mate, world
-
Constructor Summary
Constructors Constructor Description MateGoal(TurtleEntity turtle, double speed)
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.AnimalMateGoal
shouldContinue, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, start, toString
-
Field Details
-
turtle
-
-
Constructor Details
-
MateGoal
MateGoal(TurtleEntity turtle, double speed)
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classAnimalMateGoal
-
breed
protected void breed()- Overrides:
breed
in classAnimalMateGoal
-