net.minecraft.world.entity.ai.behavior

public class WorkAtPoi

extends Behavior<Villager>

bgd
net.minecraft.world.entity.ai.behavior.WorkAtPoi
net.minecraft.class_4133
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
a
CHECK_COOLDOWN
field_30192
RUN_TIME
f_148046_
private static final double
d
DISTANCE
field_30193
MAX_DISTANCE
f_148047_
private long
e
lastCheck
field_19426
lastCheckedTime
f_24804_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
b(afo arg0, bss arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_21641(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
m_6114_(C_12_ p_24828_, C_1118_ arg1)
protected void
a(afo arg0, bss arg1, 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_6735_(C_12_ p_24817_, C_1118_ p_24818_, long arg2)
protected void
a(afo arg0, bss arg1)
useWorkstation(ServerLevel arg0, Villager arg1)
method_26335(class_3218 arg0, class_1646 arg1)
performAdditionalWork(ServerWorld world, VillagerEntity entity)
m_5628_(C_12_ p_24814_, C_1118_ arg1)
protected boolean
b(afo arg0, bss arg1, 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_6737_(C_12_ p_24831_, C_1118_ p_24832_, long arg2)