net.minecraft.world.entity.ai.behavior

public class UseBonemeal

extends Behavior<Villager>

All mapped superinterfaces:

BehaviorControl

cbx
net.minecraft.world.entity.ai.behavior.UseBonemeal
net.minecraft.class_4982
net.minecraft.unmapped.C_xemvzzla
net.minecraft.entity.ai.brain.task.BoneMealTask
net.minecraft.entity.ai.brain.task.BoneMealTask

Field summary

Modifier and TypeField
private static final int
c
BONEMEALING_DURATION
field_30184
f_lsdchkjc
MAX_DURATION
MAX_DURATION
private long
d
nextWorkCycleTime
field_23222
f_revrmggu
startTime
startTime
private long
e
lastBonemealingSession
field_23223
f_yhpujdbv
lastEndEntityAge
lastEndEntityAge
private int
f
timeWorkedSoFar
field_23224
f_lisydeoe
duration
duration
private Optional<BlockPos>
g
cropPos
field_23225
f_fyijqeak
pos
pos

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(arq arg0, cqo arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_26327(class_3218 arg0, class_1646 arg1)
m_ykmjwhti(C_bdwnwhiu arg0, C_pdtkdbte arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
shouldRun(ServerWorld world, VillagerEntity arg1)
protected boolean
a(arq arg0, cqo arg1, long arg2)
canStillUse(ServerLevel arg0, Villager arg1, long arg2)
method_26328(class_3218 arg0, class_1646 arg1, long arg2)
m_ttczagyy(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
shouldKeepRunning(ServerWorld world, VillagerEntity arg1, long arg2)
private Optional<BlockPos>
b(arq arg0, cqo arg1)
pickNextTarget(ServerLevel arg0, Villager arg1)
method_26329(class_3218 arg0, class_1646 arg1)
m_qzemzbtc(C_bdwnwhiu arg0, C_pdtkdbte arg1)
findBoneMealPos(ServerWorld world, VillagerEntity entity)
findBoneMealPos(ServerWorld world, VillagerEntity entity)
private boolean
a(iu arg0, arq arg1)
validPos(BlockPos arg0, ServerLevel arg1)
method_26326(class_2338 arg0, class_3218 arg1)
m_wyolsrxs(C_hynzadkk arg0, C_bdwnwhiu arg1)
canBoneMeal(BlockPos pos, ServerWorld world)
canBoneMeal(BlockPos pos, ServerWorld world)
protected void
b(arq arg0, cqo arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_26330(class_3218 arg0, class_1646 arg1, long arg2)
m_wfqutvxv(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
run(ServerWorld world, VillagerEntity arg1, long arg2)
private void
a(cqo arg0)
setCurrentCropAsTarget(Villager arg0)
method_26324(class_1646 arg0)
m_utwybmec(C_pdtkdbte arg0)
addLookWalkTargets(VillagerEntity villager)
addLookWalkTargets(VillagerEntity villager)
protected void
c(arq arg0, cqo arg1, long arg2)
stop(ServerLevel arg0, Villager arg1, long arg2)
method_26331(class_3218 arg0, class_1646 arg1, long arg2)
m_zcvsdpxp(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
finishRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
finishRunning(ServerWorld world, VillagerEntity arg1, long arg2)
protected void
d(arq arg0, cqo arg1, long arg2)
tick(ServerLevel arg0, Villager arg1, long arg2)
method_26332(class_3218 arg0, class_1646 arg1, long arg2)
m_bwvalwvr(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
keepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
keepRunning(ServerWorld world, VillagerEntity arg1, long arg2)