net.minecraft.world.entity.ai.behavior

public class HarvestFarmland

extends Behavior<Villager>

ami
net.minecraft.world.entity.ai.behavior.HarvestFarmland
net.minecraft.class_4217
net.minecraft.entity.ai.brain.task.FarmerVillagerTask
net.minecraft.entity.ai.brain.task.FarmTask
net.minecraft.server.v1_15_R1.BehaviorFarm

Field summary

Modifier and TypeField
private BlockPos
a
aboveFarmlandPos
field_18858
field_220422_a
private boolean
b
canPlantStuff
field_18859
field_220423_b
private boolean
c
wantsToReapStuff
field_18860
field_220424_c
private long
d
nextOkStartTime
field_18861
field_220425_d
private int
e
timeWorkedSoFar
field_19239
field_220426_e
private final List<BlockPos>
f
validFarmlandAroundVillager
field_19351
field_223518_f

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected boolean
a(xd arg0, axt arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_19564(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
func_212832_a_(ServerWorld arg0, VillagerEntity arg1)
private BlockPos
a(xd arg0)
getValidFarmland(ServerLevel arg0)
method_20641(class_3218 arg0)
func_223517_a(ServerWorld arg0)
private boolean
a(fk arg0, xd arg1)
validPos(BlockPos arg0, ServerLevel arg1)
method_20640(class_2338 arg0, class_3218 arg1)
func_223516_a(BlockPos arg0, ServerWorld arg1)
protected void
a(xd arg0, axt arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_20392(class_3218 arg0, class_1646 arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212831_a_(ServerWorld arg0, VillagerEntity arg1, long arg2)
protected void
b(xd arg0, axt arg1, long arg2)
stop(ServerLevel arg0, Villager arg1, long arg2)
method_19566(class_3218 arg0, class_1646 arg1, long arg2)
finishRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212835_f_(ServerWorld arg0, VillagerEntity arg1, long arg2)
protected void
c(xd arg0, axt arg1, long arg2)
tick(ServerLevel arg0, Villager arg1, long arg2)
method_19565(class_3218 arg0, class_1646 arg1, long arg2)
keepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212833_d_(ServerWorld arg0, VillagerEntity arg1, long arg2)
protected boolean
d(xd arg0, axt arg1, long arg2)
canStillUse(ServerLevel arg0, Villager arg1, long arg2)
method_20394(class_3218 arg0, class_1646 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212834_g_(ServerWorld arg0, VillagerEntity arg1, long arg2)