net.minecraft.entity.ai.brain.task

public class VillagerWorkTask

extends MultiTickTask<VillagerEntity>

All mapped superinterfaces:

Task

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

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
b(axf o, dcx arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_21641(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
m_iztnfkhb(C_bdwnwhiu arg0, C_pdtkdbte arg1)
shouldRun(ServerWorld world, VillagerEntity waypoint)
m_6114_(C_12_ p_450212_, C_433019_ arg1)
protected void
a(axf o, dcx o, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_21642(class_3218 arg0, class_1646 arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_hvvrfttz(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
run(ServerWorld world, VillagerEntity waypoint, long arg2)
m_6735_(C_12_ p_458701_, C_433019_ p_24818_, long arg2)
protected void
a(axf o, dcx arg1)
useWorkstation(ServerLevel arg0, Villager arg1)
method_26335(class_3218 arg0, class_1646 arg1)
performAdditionalWork(ServerWorld world, VillagerEntity entity)
m_qhdceqhk(C_bdwnwhiu arg0, C_pdtkdbte arg1)
performAdditionalWork(ServerWorld world, VillagerEntity entity)
m_5628_(C_12_ p_451987_, C_433019_ arg1)
protected boolean
b(axf o, dcx o, long arg2)
canStillUse(ServerLevel arg0, Villager arg1, long arg2)
method_26336(class_3218 arg0, class_1646 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_twzytftk(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
shouldKeepRunning(ServerWorld world, VillagerEntity waypoint, long arg2)
m_6737_(C_12_ p_460171_, C_433019_ p_24832_, long arg2)