The Composter is a block used to convert certain plant items into bone meal, which is a fertilizer that accelerates the growth of crops and saplings. Players can place organic materials, such as vegetables, fruits, and bread, into the composter. With each item added, there's a chance the compost level will rise. Once the composter reaches the seventh layer, bone meal can be collected from it, effectively turning excess plant-based resources into something beneficial for agricultural endeavors.
This item has no numerical item ID, therefore you must use the item ID to spawn the item. Numerical item IDs were removed in Minecraft version 1.13.
The item id for Composter is minecraft:composter
The item ID for Composter is minecraft:composter
This is the spawn command to give yourself Composter in Minecraft which includes the Minecraft /give command. If you are using the Essentials plugin you will need to use /minecraft:give instead of /give