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