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 SummaryFieldsModifier and TypeFieldDescriptionprotected final Animalprotected final Levelprivate intprotected Animalprivate static final TargetingConditionsprivate final double
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.world.entity.ai.goal.GoaladjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, start, toString
- 
Field Details- 
PARTNER_TARGETING
- 
animal
- 
partnerClass
- 
level
- 
partner
- 
loveTimeprivate int loveTime
- 
speedModifierprivate final double speedModifier
 
- 
- 
Constructor Details- 
BreedGoal
- 
BreedGoal
 
- 
- 
Method Details- 
canUsepublic boolean canUse()
- 
canContinueToUsepublic boolean canContinueToUse()- Overrides:
- canContinueToUsein class- Goal
 
- 
stoppublic void stop()
- 
tickpublic void tick()
- 
getFreePartner
- 
breedprotected void breed()
 
-