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) |
private void |
method_30232(ServerWorld serverWorld,
BlockState blockState,
BlockPos blockPos,
BlockState blockState2) |
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 method_30232(ServerWorld serverWorld, BlockState blockState, BlockPos blockPos, BlockState blockState2)
private void craftAndDropBread(VillagerEntity entity)