Composter

A composter is a block that converts some biological material into bone meal. It also serves as a farmer villager's job site block.

Obtaining
Composters can be broken with any tool, though an axe is the fastest. The composter does not retain the compost inside; instead, it drops empty.

Natural generation
Composters generate in village farms.

Usage
Composters can be used to recycle food and plant items (excluding bamboo, poisonous potatoes , dead bushes , meat, and fish) into bone meal. To do so, the player must any of a selection of items on the composter. When an adjacent comparator is facing away from the composter, a comparator signal strength of up to 8 is emitted depending on the fullness of the block. Composters appear to have an empty interior. As such, entities can enter and exit a composter through the top, but not the sides or bottom. The composter has a "floor", whose height depends on the fullness. When the composter is completely empty, this floor is slightly above the block below, and when it is completely full, there is a slight dip on top. When the composter’s fullness increases, any entities inside are pushed up accordingly‌.

Composting
The composter can be filled with compost, which is done by adding compostable items to it. When successfully adding an item, a green particle appears. The table below lists supported items, which have different levels of compost-ability. The higher the percentage of an item, the more likely it is for it to add another layer of compost. Each layer of compost has a podzol-like appearance. When the composter reaches the 7th layer of compost, the compost changes appearance indicating that bone meal can be collected by the composter a final time.

The following table shows the items that can be used in a composter, the percent chance for an item to add a level of compost, and the average number of items needed to fill a composter. Smaller pieces (individual pieces of wheat, melon slices, etc.) produce more compost than the blocks or other items that can be made from them. The exception is cookies, because each recipe produces 8 cookies, and together those give more than 3 times the compost.

As of version 1.19.3, as many as 79 different items can be composted including the different types of flowers, mushrooms, etc.

Changing profession
If a village has a composter that has not been claimed by a villager, any resident villager who has not already chosen a job site block has a chance to change their profession to farmer.

Redstone component
A composter can act as a power source for a redstone comparator. With a composter behind it (either directly, or separated by an unpowered solid block), a comparator outputs a signal strength between 0 and 8, proportional to how full the composter is: 0 for empty, 1 for $1/7$ full, 2 for $2/7$ full, and so on to 6. 7 is for completely full but the bone meal is not ready to collect, and 8 for completely full and the bone meal is ready to collect. However, if there is a block between the composter and comparator, the comparator does not immediately update.

Hoppers
Composters can interact with hoppers. A hopper directly below a composter pulls bone meal from it. A hopper or dropper facing downward directly above a composter pushes items into it. See for more details.

Hoppers cannot interact with the sides of a composter.

Fuel
A composter can be used as fuel in a furnace to smelt 1.5 items.

Note Blocks
Composters can be placed under note blocks to produce "bass" sound.

Unique




ID




Trivia

 * The compost texture is based on the podzol texture.
 * If planting crops specifically for composting, potatoes produce somewhat more than beets, carrots, or wheat. However, melons offer nearly the same yield per field space, and do not require replanting after harvest.