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