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.entity.ai.brain.task.VillagerWorkTask
net.minecraft.world.entity.ai.behavior.BehaviorWork

Field summary

Modifier and TypeField
private static final int
c
CHECK_COOLDOWN
field_30192
RUN_TIME
private static final double
d
DISTANCE
field_30193
MAX_DISTANCE
private long
e
lastCheck
field_19426
lastCheckedTime

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)
shouldRun(ServerWorld arg0, VillagerEntity 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)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
protected void
a(ash arg0, cpj arg1)
useWorkstation(ServerLevel arg0, Villager arg1)
method_26335(class_3218 arg0, class_1646 arg1)
performAdditionalWork(ServerWorld world, VillagerEntity entity)
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)
shouldKeepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)