net.minecraft.entity.ai.goal

public class VillagerFarmGoal

extends GoToBlockGoal

uk
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
villager
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()
shouldContinueExecuting()
public void
e()
method_2746()
tick()
updateTask()
protected boolean
a(ajs arg0, co arg1)
method_11012(class_1150 arg0, class_2552 arg1)
isValidTarget(World arg0, BlockPos arg1)
shouldMoveTo(World arg0, BlockPos arg1)