net.minecraft.world.entity.ai.goal

public class BreedGoal

extends Goal

bco
net.minecraft.world.entity.ai.goal.BreedGoal
net.minecraft.class_1341
net.minecraft.entity.ai.goal.AnimalMateGoal
net.minecraft.src.C_675_
net.minecraft.world.entity.ai.goal.PathfinderGoalBreed

Field summary

Modifier and TypeField
private static final TargetingConditions
d
PARTNER_TARGETING
field_18086
VALID_MATE_PREDICATE
f_25116_
protected final Animal
a
animal
field_6404
animal
f_25113_
private final Class<? extends Animal>
e
partnerClass
field_6403
entityClass
f_25117_
protected final Level
b
level
field_6405
world
f_25114_
protected Animal
c
partner
field_6406
mate
f_25115_
private int
f
loveTime
field_6402
timer
f_25118_
private final double
g
speedModifier
field_6407
chance
f_25119_

Constructor summary

ModifierConstructor
public (Animal animal, double chance)
public (Animal animal, double chance, Class<? extends Animal> entityClass)

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
m_8036_()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
m_8045_()
public void
d()
stop()
method_6270()
stop()
m_8041_()
public void
e()
tick()
method_6268()
tick()
m_8037_()
private Animal
i()
getFreePartner()
method_6250()
findMate()
m_25132_()
protected void
g()
breed()
method_6249()
breed()
m_8026_()