net.minecraft.world.entity.ai.behavior

public class AnimalMakeLove

extends Behavior<Animal>

bdi
net.minecraft.world.entity.ai.behavior.AnimalMakeLove
net.minecraft.class_4806
net.minecraft.unmapped.C_lpflbwqv
net.minecraft.entity.ai.brain.task.BreedTask
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
a
BREED_RANGE
field_30104
f_jcmxthoo
MAX_RANGE
MAX_RANGE
f_147376_
private static final int
d
MIN_DURATION
field_30105
f_pbycpgau
MIN_BREED_TIME
MIN_BREED_TIME
f_147377_
private static final int
e
MAX_DURATION
field_30106
f_clirszgh
RUN_TIME
RUN_TIME
f_147378_
private final EntityType<? extends Animal>
f
partnerType
field_22283
f_kndztwig
targetType
targetType
f_22387_
private final float
g
speedModifier
field_23129
f_rxukkkfq
speed
speed
f_22388_
private long
h
spawnChildAtTime
field_22284
f_xmtofvyr
breedTime
breedTime
f_22389_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(agg arg0, bne arg1)
checkExtraStartConditions(ServerLevel arg0, Animal arg1)
method_24543(class_3218 arg0, class_1429 arg1)
m_pymswcat(C_bdwnwhiu arg0, C_tprvtfff arg1)
shouldRun(ServerWorld arg0, AnimalEntity arg1)
shouldRun(ServerWorld arg0, AnimalEntity arg1)
m_6114_(C_12_ p_22402_, C_801_ arg1)
protected void
a(agg arg0, bne arg1, long arg2)
start(ServerLevel arg0, Animal arg1, long arg2)
method_24544(class_3218 arg0, class_1429 arg1, long arg2)
m_hqnsdcpg(C_bdwnwhiu arg0, C_tprvtfff arg1, long arg2)
run(ServerWorld arg0, AnimalEntity 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(agg arg0, bne arg1, long arg2)
canStillUse(ServerLevel arg0, Animal arg1, long arg2)
method_24547(class_3218 arg0, class_1429 arg1, long arg2)
m_etbblhvz(C_bdwnwhiu arg0, C_tprvtfff arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, AnimalEntity 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(agg arg0, bne arg1, long arg2)
tick(ServerLevel arg0, Animal arg1, long arg2)
method_24549(class_3218 arg0, class_1429 arg1, long arg2)
m_obtrxmnr(C_bdwnwhiu arg0, C_tprvtfff arg1, long arg2)
keepRunning(ServerWorld arg0, AnimalEntity 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(agg arg0, bne arg1, long arg2)
stop(ServerLevel arg0, Animal arg1, long arg2)
method_24550(class_3218 arg0, class_1429 arg1, long arg2)
m_ysqwcwzx(C_bdwnwhiu arg0, C_tprvtfff arg1, long arg2)
finishRunning(ServerWorld arg0, AnimalEntity 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(bne arg0)
getBreedTarget(Animal arg0)
method_24542(class_1429 arg0)
m_fdefamyp(C_tprvtfff arg0)
getBreedTarget(AnimalEntity animal)
getBreedTarget(AnimalEntity animal)
m_22409_(C_801_ arg0)
private boolean
b(bne arg0)
hasBreedTargetOfRightType(Animal arg0)
method_24546(class_1429 arg0)
m_wvgnftdl(C_tprvtfff arg0)
hasBreedTarget(AnimalEntity animal)
hasBreedTarget(AnimalEntity animal)
m_22421_(C_801_ arg0)
private Optional<? extends Animal>
c(bne arg0)
findValidBreedPartner(Animal arg0)
method_24548(class_1429 arg0)
m_gyzzrwfo(C_tprvtfff arg0)
findBreedTarget(AnimalEntity animal)
findBreedTarget(AnimalEntity animal)
m_22431_(C_801_ arg0)