public class FarmerWorkTask extends VillagerWorkTask
Task.Status
Modifier and Type | Field and Description |
---|---|
private static List<Item> |
COMPOSTABLES |
requiredMemoryStates
Constructor and Description |
---|
FarmerWorkTask() |
Modifier and Type | Method and Description |
---|---|
private void |
compostSeeds(ServerWorld world,
VillagerEntity entity,
GlobalPos pos,
BlockState composterState) |
private void |
craftAndDropBread(VillagerEntity entity) |
protected void |
performAdditionalWork(ServerWorld world,
VillagerEntity entity) |
run, shouldKeepRunning, shouldRun
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, stop, tick, toString, tryStarting
protected void performAdditionalWork(ServerWorld world, VillagerEntity entity)
performAdditionalWork
in class VillagerWorkTask
private void compostSeeds(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState)
private void craftAndDropBread(VillagerEntity entity)