net.minecraft.world.entity.ai.behavior

public class HarvestFarmland

extends Behavior<Villager>

All mapped superinterfaces:

BehaviorControl

bzq
net.minecraft.world.entity.ai.behavior.HarvestFarmland
net.minecraft.class_4217
net.minecraft.unmapped.C_xmrelysd
net.minecraft.entity.ai.brain.task.FarmerVillagerTask
net.minecraft.entity.ai.brain.task.FarmerVillagerTask

Field summary

Modifier and TypeField
private static final int
d
HARVEST_DURATION
field_30124
f_umjqfmuc
MAX_RUN_TIME
MAX_RUN_TIME
public static final float
c
SPEED_MODIFIER
field_30123
f_vuvdtvzv
WALK_SPEED
WALK_SPEED
private BlockPos
e
aboveFarmlandPos
field_18858
f_bzbnzngf
currentTarget
currentTarget
private long
f
nextOkStartTime
field_18861
f_ocybckfb
nextResponseTime
nextResponseTime
private int
g
timeWorkedSoFar
field_19239
f_pdgpqoud
ticksRan
ticksRan
private final List<BlockPos>
h
validFarmlandAroundVillager
field_19351
f_xitwmrde
targetPositions
targetPositions

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(arq arg0, cqo arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_19564(class_3218 arg0, class_1646 arg1)
m_rnxdtrlg(C_bdwnwhiu arg0, C_pdtkdbte arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
shouldRun(ServerWorld world, VillagerEntity arg1)
private BlockPos
a(arq arg0)
getValidFarmland(ServerLevel arg0)
method_20641(class_3218 arg0)
m_qwiktgih(C_bdwnwhiu arg0)
chooseRandomTarget(ServerWorld world)
chooseRandomTarget(ServerWorld world)
private boolean
a(iu arg0, arq arg1)
validPos(BlockPos arg0, ServerLevel arg1)
method_20640(class_2338 arg0, class_3218 arg1)
m_asmopgmc(C_hynzadkk arg0, C_bdwnwhiu arg1)
isSuitableTarget(BlockPos pos, ServerWorld world)
isSuitableTarget(BlockPos pos, ServerWorld world)
protected void
a(arq arg0, cqo arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_20392(class_3218 arg0, class_1646 arg1, long arg2)
m_taabfbfl(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
run(ServerWorld world, VillagerEntity arg1, long arg2)
protected void
b(arq arg0, cqo arg1, long arg2)
stop(ServerLevel arg0, Villager arg1, long arg2)
method_19566(class_3218 arg0, class_1646 arg1, long arg2)
m_zzkiqbxt(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
finishRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
finishRunning(ServerWorld world, VillagerEntity arg1, long arg2)
protected void
c(arq arg0, cqo arg1, long arg2)
tick(ServerLevel arg0, Villager arg1, long arg2)
method_19565(class_3218 arg0, class_1646 arg1, long arg2)
m_bibcvesz(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
keepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
keepRunning(ServerWorld world, VillagerEntity arg1, long arg2)
protected boolean
d(arq arg0, cqo arg1, long arg2)
canStillUse(ServerLevel arg0, Villager arg1, long arg2)
method_20394(class_3218 arg0, class_1646 arg1, long arg2)
m_hdpfilcb(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
shouldKeepRunning(ServerWorld world, VillagerEntity arg1, long arg2)