net.minecraft.world.entity.ai.behavior

public class AnimalMakeLove

extends Behavior<Animal>

All mapped superinterfaces:

BehaviorControl

bhj
net.minecraft.world.entity.ai.behavior.AnimalMakeLove
net.minecraft.class_4806
net.minecraft.entity.ai.brain.task.BreedTask
net.minecraft.src.C_564_
net.minecraft.world.entity.ai.behavior.BehaviorMakeLoveAnimal

Field summary

Modifier and TypeField
private static final int
c
BREED_RANGE
field_30104
MAX_RANGE
f_147376_
private static final int
d
MIN_DURATION
field_30105
MIN_BREED_TIME
f_147377_
private static final int
e
MAX_DURATION
field_30106
RUN_TIME
f_147378_
private final EntityType<? extends Animal>
f
partnerType
field_22283
targetType
f_22387_
private final float
g
speedModifier
field_23129
speed
f_22388_
private long
h
spawnChildAtTime
field_22284
breedTime
f_22389_

Constructor summary

ModifierConstructor
public (EntityType<? extends Animal> targetType, float speed)

Method summary

Modifier and TypeMethod
protected boolean
a(aip arg0, brj arg1)
checkExtraStartConditions(ServerLevel arg0, Animal arg1)
method_24543(class_3218 arg0, class_1429 arg1)
shouldRun(ServerWorld arg0, AnimalEntity arg1)
m_6114_(C_12_ p_22402_, C_801_ arg1)
protected void
a(aip arg0, brj arg1, long arg2)
start(ServerLevel arg0, Animal arg1, long arg2)
method_24544(class_3218 arg0, class_1429 arg1, long arg2)
run(ServerWorld arg0, AnimalEntity arg1, long arg2)
m_6735_(C_12_ p_22405_, C_801_ p_22406_, long arg2)
protected boolean
b(aip arg0, brj arg1, long arg2)
canStillUse(ServerLevel arg0, Animal arg1, long arg2)
method_24547(class_3218 arg0, class_1429 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, AnimalEntity arg1, long arg2)
m_6737_(C_12_ p_22417_, C_801_ p_22418_, long arg2)
protected void
c(aip arg0, brj arg1, long arg2)
tick(ServerLevel arg0, Animal arg1, long arg2)
method_24549(class_3218 arg0, class_1429 arg1, long arg2)
keepRunning(ServerWorld arg0, AnimalEntity arg1, long arg2)
m_6725_(C_12_ p_22429_, C_801_ p_22430_, long arg2)
protected void
d(aip arg0, brj arg1, long arg2)
stop(ServerLevel arg0, Animal arg1, long arg2)
method_24550(class_3218 arg0, class_1429 arg1, long arg2)
finishRunning(ServerWorld arg0, AnimalEntity arg1, long arg2)
m_6732_(C_12_ p_22439_, C_801_ p_22440_, long arg2)
private Animal
a(brj arg0)
getBreedTarget(Animal arg0)
method_24542(class_1429 arg0)
getBreedTarget(AnimalEntity animal)
m_22409_(C_801_ arg0)
private boolean
b(brj arg0)
hasBreedTargetOfRightType(Animal arg0)
method_24546(class_1429 arg0)
hasBreedTarget(AnimalEntity animal)
m_22421_(C_801_ arg0)
private Optional<? extends Animal>
c(brj arg0)
findValidBreedPartner(Animal arg0)
method_24548(class_1429 arg0)
findBreedTarget(AnimalEntity animal)
m_22431_(C_801_ arg0)