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
-
Field Summary
Fields Modifier and Type Field Description private TurtleEntityturtle -
Constructor Summary
Constructors Constructor Description MateGoal(TurtleEntity turtle, double speed) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, start, toString
-
Field Details
-
Constructor Details
-
MateGoal
MateGoal(TurtleEntity turtle, double speed)
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classAnimalMateGoal
-
breed
protected void breed()- Overrides:
breedin classAnimalMateGoal
-