net.minecraft.entity.ai.goal

public class VillagerFarmGoal

extends GoToBlockGoal

tm
net.minecraft.class_2614
net.minecraft.entity.ai.goal.VillagerFarmGoal
net.minecraft.entity.ai.EntityAIHarvestFarmland

Field summary

Modifier and TypeField
private final VillagerEntity
c
field_11933
villager
theVillager
private boolean
d
field_11934
hasPlantableItems
hasFarmItem
private boolean
e
field_11935
hasRoomForHarvest
wantsToReapStuff
private int
f
field_11936
harvestDelay
currentTask

Constructor summary

ModifierConstructor
public (VillagerEntity villager, double speed)

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
shouldExecute()
public boolean
b()
method_2744()
shouldContinue()
continueExecuting()
public void
c()
method_2747()
start()
startExecuting()
public void
d()
method_2745()
stop()
resetTask()
public void
e()
method_2746()
tick()
updateTask()
protected boolean
a(aht arg0, cl arg1)
method_11012(class_1150 arg0, class_2552 arg1)
isValidTarget(World arg0, BlockPos arg1)
shouldMoveTo(World arg0, BlockPos arg1)