net.minecraft.world.entity.ai.goal

public class BreedGoal

extends Goal

ccq
net.minecraft.world.entity.ai.goal.BreedGoal
net.minecraft.class_1341
net.minecraft.entity.ai.goal.AnimalMateGoal
net.minecraft.world.entity.ai.goal.PathfinderGoalBreed

Field summary

Modifier and TypeField
private static final TargetingConditions
d
PARTNER_TARGETING
field_18086
VALID_MATE_PREDICATE
protected final Animal
a
animal
field_6404
animal
private final Class<? extends Animal>
e
partnerClass
field_6403
entityClass
protected final ServerLevel
b
level
field_6405
world
protected Animal
c
partner
field_6406
mate
private int
f
loveTime
field_6402
timer
private final double
g
speedModifier
field_6407
speed

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
canStart()
public boolean
c()
canContinueToUse()
method_6266()
shouldContinue()
public void
e()
stop()
method_6270()
stop()
public void
a()
tick()
method_6268()
tick()
private Animal
h()
getFreePartner()
method_6250()
findMate()
protected void
g()
breed()
method_6249()
breed()