net.minecraft.world.entity.ai.behavior

public class VillagerMakeLove

extends Behavior<Villager>

All mapped superinterfaces:

BehaviorControl

cbg
net.minecraft.world.entity.ai.behavior.VillagerMakeLove
net.minecraft.class_4111
net.minecraft.entity.ai.brain.task.VillagerBreedTask
net.minecraft.world.entity.ai.behavior.BehaviorMakeLove

Field summary

Modifier and TypeField
private long
c
birthTimestamp
field_18368
breedEndTime

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(ash arg0, cpj arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_19571(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
protected boolean
a(ash arg0, cpj 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)
protected void
b(ash arg0, cpj 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)
protected void
c(ash arg0, cpj 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)
private void
a(ash arg0, cpj arg1, cpj 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)
protected void
d(ash arg0, cpj 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)
private boolean
a(cpj arg0)
isBreedingPossible(Villager arg0)
method_18972(class_1646 arg0)
isReadyToBreed(VillagerEntity villager)
private Optional<BlockPos>
b(ash arg0, cpj arg1)
takeVacantBed(ServerLevel arg0, Villager arg1)
method_19573(class_3218 arg0, class_1646 arg1)
getReachableHome(ServerWorld world, VillagerEntity villager)
private boolean
a(cpj arg0, jh arg1, jq<chn> arg2)
canReach(Villager arg0, BlockPos arg1, Holder<PoiType> arg2)
method_20642(class_1646 arg0, class_2338 arg1, class_6880<class_4158> arg2)
canReachHome(VillagerEntity villager, BlockPos pos, RegistryEntry<PointOfInterestType> poiType)
private Optional<Villager>
b(ash arg0, cpj arg1, cpj 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)
private void
a(ash arg0, cpj arg1, jh 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)