net.minecraft.entity.ai.brain.task

public class FarmerWorkTask

extends VillagerWorkTask

All mapped superinterfaces:

Task

net.minecraft.world.entity.ai.behavior.WorkAtComposter
net.minecraft.class_4983
net.minecraft.entity.ai.brain.task.FarmerWorkTask

Field summary

Modifier and TypeField
private static final List<Item>
COMPOSTABLE_ITEMS
field_23226
COMPOSTABLES

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected void
useWorkstation(ServerLevel level, Villager body)
method_26335(class_3218 arg0, class_1646 arg1)
performAdditionalWork(ServerWorld arg0, VillagerEntity arg1)
private void
compostItems(ServerLevel level, Villager body, GlobalPos jobSitePos, BlockState blockState)
method_26334(class_3218 arg0, class_1646 arg1, class_4208 arg2, class_2680 arg3)
compostSeeds(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState)
private void
spawnComposterFillEffects(ServerLevel level, BlockState blockState, BlockPos pos, BlockState newState)
method_30232(class_3218 arg0, class_2680 arg1, class_2338 arg2, class_2680 arg3)
syncComposterEvent(ServerWorld world, BlockState oldState, BlockPos pos, BlockState newState)
private void
makeBread(ServerLevel level, Villager body)
method_26333(class_3218 arg0, class_1646 arg1)
craftAndDropBread(ServerWorld world, VillagerEntity villager)