net.minecraft.world.entity.ai.behavior

public class VillagerMakeLove

extends Behavior<Villager>

bck
net.minecraft.world.entity.ai.behavior.VillagerMakeLove
net.minecraft.class_4111
net.minecraft.entity.ai.brain.task.VillagerBreedTask
net.minecraft.src.C_651_
net.minecraft.world.entity.ai.behavior.BehaviorMakeLove

Field summary

Modifier and TypeField
private static final int
a
INTERACT_DIST_SQR
field_30190
MAX_DISTANCE
f_148042_
private static final float
c
SPEED_MODIFIER
field_30191
APPROACH_SPEED
f_148043_
private long
d
birthTimestamp
field_18368
breedEndTime
f_24613_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(adw arg0, bnw arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_19571(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
m_6114_(C_12_ p_24624_, C_1118_ arg1)
protected boolean
a(adw arg0, bnw arg1, long arg2)
canStillUse(ServerLevel arg0, Villager arg1, long arg2)
method_18973(class_3218 arg0, class_1646 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_6737_(C_12_ p_24627_, C_1118_ p_24628_, long arg2)
protected void
b(adw arg0, bnw arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_18974(class_3218 arg0, class_1646 arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_6735_(C_12_ p_24653_, C_1118_ p_24654_, long arg2)
protected void
c(adw arg0, bnw arg1, long arg2)
tick(ServerLevel arg0, Villager arg1, long arg2)
method_18975(class_3218 arg0, class_1646 arg1, long arg2)
keepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_6725_(C_12_ p_24668_, C_1118_ p_24669_, long arg2)
private void
a(adw arg0, bnw arg1, bnw arg2)
tryToGiveBirth(ServerLevel arg0, Villager arg1, Villager arg2)
method_20643(class_3218 arg0, class_1646 arg1, class_1646 arg2)
goHome(ServerWorld world, VillagerEntity first, VillagerEntity second)
m_24629_(C_12_ p_24631_, C_1118_ p_24632_, C_1118_ arg2)
protected void
d(adw arg0, bnw arg1, long arg2)
stop(ServerLevel arg0, Villager arg1, long arg2)
method_18976(class_3218 arg0, class_1646 arg1, long arg2)
finishRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_6732_(C_12_ p_24676_, C_1118_ p_24677_, long arg2)
private boolean
a(bnw arg0)
isBreedingPossible(Villager arg0)
method_18972(class_1646 arg0)
isReadyToBreed(VillagerEntity villager)
m_24639_(C_1118_ arg0)
private Optional<BlockPos>
b(adw arg0, bnw arg1)
takeVacantBed(ServerLevel arg0, Villager arg1)
method_19573(class_3218 arg0, class_1646 arg1)
getReachableHome(ServerWorld world, VillagerEntity villager)
m_24648_(C_12_ p_24650_, C_1118_ arg1)
private boolean
a(bnw arg0, gj arg1)
canReach(Villager arg0, BlockPos arg1)
method_20642(class_1646 arg0, class_2338 arg1)
canReachHome(VillagerEntity villager, BlockPos pos)
m_24641_(C_1118_ p_24643_, C_4675_ arg1)
private Optional<Villager>
b(adw arg0, bnw arg1, bnw arg2)
breed(ServerLevel arg0, Villager arg1, Villager arg2)
method_18970(class_3218 arg0, class_1646 arg1, class_1646 arg2)
createChild(ServerWorld world, VillagerEntity parent, VillagerEntity partner)
m_24655_(C_12_ p_24657_, C_1118_ p_24658_, C_1118_ arg2)
private void
a(adw arg0, bnw arg1, gj arg2)
giveBedToChild(ServerLevel arg0, Villager arg1, BlockPos arg2)
method_19572(class_3218 arg0, class_1646 arg1, class_2338 arg2)
setChildHome(ServerWorld world, VillagerEntity child, BlockPos pos)
m_24633_(C_12_ p_24635_, C_1118_ p_24636_, C_4675_ arg2)