net.minecraft.world.entity.ai.behavior

public class WorkAtPoi

extends Behavior<Villager>

All mapped superinterfaces:

BehaviorControl

cbk
net.minecraft.world.entity.ai.behavior.WorkAtPoi
net.minecraft.class_4133
net.minecraft.unmapped.C_isvayoox
net.minecraft.entity.ai.brain.task.VillagerWorkTask
net.minecraft.entity.ai.brain.task.VillagerWorkTask
net.minecraft.src.C_659_
net.minecraft.world.entity.ai.behavior.BehaviorWork

Field summary

Modifier and TypeField
private static final int
c
CHECK_COOLDOWN
field_30192
f_vrwcbfla
RUN_TIME
RUN_TIME
f_148046_
private static final double
d
DISTANCE
field_30193
f_fmjlfrvz
MAX_DISTANCE
MAX_DISTANCE
f_148047_
private long
e
lastCheck
field_19426
f_efdoofeq
lastCheckedTime
lastCheckedTime
f_24804_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
b(ash arg0, cpj arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_21641(class_3218 arg0, class_1646 arg1)
m_lplcihdq(C_bdwnwhiu arg0, C_pdtkdbte arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
shouldRun(ServerWorld world, VillagerEntity arg1)
m_6114_(C_12_ p_24828_, C_1118_ arg1)
protected void
a(ash arg0, cpj arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_21642(class_3218 arg0, class_1646 arg1, long arg2)
m_wlwzvoeq(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
run(ServerWorld world, VillagerEntity arg1, long arg2)
m_6735_(C_12_ p_24817_, C_1118_ p_24818_, long arg2)
protected void
a(ash arg0, cpj arg1)
useWorkstation(ServerLevel arg0, Villager arg1)
method_26335(class_3218 arg0, class_1646 arg1)
m_qhdceqhk(C_bdwnwhiu arg0, C_pdtkdbte arg1)
performAdditionalWork(ServerWorld world, VillagerEntity entity)
performAdditionalWork(ServerWorld world, VillagerEntity entity)
m_5628_(C_12_ p_24814_, C_1118_ arg1)
protected boolean
b(ash arg0, cpj arg1, long arg2)
canStillUse(ServerLevel arg0, Villager arg1, long arg2)
method_26336(class_3218 arg0, class_1646 arg1, long arg2)
m_khhwnyfv(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
shouldKeepRunning(ServerWorld world, VillagerEntity arg1, long arg2)
m_6737_(C_12_ p_24831_, C_1118_ p_24832_, long arg2)