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, shouldRunfinishRunning, getStatus, isTimeLimitExceeded, keepRunning, stop, tick, toString, tryStartingprotected void performAdditionalWork(ServerWorld world, VillagerEntity entity)
performAdditionalWork in class VillagerWorkTaskprivate void compostSeeds(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState)
private void craftAndDropBread(VillagerEntity entity)