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
FieldsModifier and TypeFieldDescriptionprotected final Animalprotected final Levelprivate intprotected Animalprivate static final TargetingConditionsprivate final double - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, start, toString 
- 
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:
 canContinueToUsein classGoal
 - 
stop
public void stop() - 
tick
public void tick() - 
getFreePartner
 - 
breed
protected void breed() 
 -