Class BreedGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.BreedGoal
- Direct Known Subclasses:
Fox.FoxBreedGoal
,Panda.PandaBreedGoal
,Turtle.TurtleBreedGoal
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected Animal
protected Level
private int
protected Animal
private static TargetingConditions
private double
-
Constructor Summary
-
Method Summary
-
Field Details
-
PARTNER_TARGETING
-
animal
-
partnerClass
-
level
-
partner
-
loveTime
private int loveTime -
speedModifier
private final double speedModifier
-
-
Constructor Details
-
BreedGoal
-
BreedGoal
-
-
Method Details
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
stop
public void stop() -
tick
public void tick() -
getFreePartner
-
breed
protected void breed()
-