- check_circle Advancements
- check_circle Functions
- 25,013 views, 14 today
- 5,539 downloads, 4 today
105
Important: the link above is just for Minecraft 1.21+. If you are using an older version, check the table at the bottom of this page.
This datapack aims to add composting mechanics to all vanilla items which should be compostable, being as close as possible to vanilla mechanics.
Note: composting items by dropping them inside composters can be disabled (see the "Available commands" section)
WARNING: Custom-composting via hoppers only works with composters that are placed by players. This means that it wont work with world-generated composters, with composters summoned via commands, or with composters placed before the datapack was installed. Simply break a composter and place it again manually to make the datapack register it.
- Sugar
- Honeycomb
- Spider eye
- Fermented spider eye
- Phantom membrane
- Turtle and armadillo scutes
- Rabbit hide
- Bamboo
- String
- Feather
- Slimeball
- Magma cream
- Ink Sac (both glow and regular)
- Any dye
- Stick
- Carpets
- Chorus fruit
- Popped chorus fruit
- Chorus flower
- Honey block
- Honeycomb block
- Rotten flesh
- Egg
- Turtle egg
- Leather
- Dead bush
- Charcoal
- Wool
- Slime block
- Nautilus shell
- Paper
- Cobweb
- Goat horn
- Muddy mangrove roots
- Cooked chicken, cod, mutton, porkchop, rabbit, beef, and salmon
- Crimson/warped nylium
- Poisonous potato
- Corals (dead or alive)
- Bee nest
- Beetroot soup
- Mushroom/rabbit/suspicious stew
- Coral blocks (dead or alive)
- Sculk vein
- Mycelium
- Sculk
- Sculk catalyst/shrieker/sensor/calibrated sensor
You can find more info on this datapack's Github repository and on my website.
This datapack aims to add composting mechanics to all vanilla items which should be compostable, being as close as possible to vanilla mechanics.
Features
New compostable items, including rotten flesh, poisonous potatoes, foods, and many more (see the list below). These new items are compostable in the following ways:- By putting them in a hopper on top of a composter, the same way you would do with vanilla-compostable items.
- By dropping them inside a composter (vanilla items are also given this feature).
Note: composting items by dropping them inside composters can be disabled (see the "Available commands" section)
WARNING: Custom-composting via hoppers only works with composters that are placed by players. This means that it wont work with world-generated composters, with composters summoned via commands, or with composters placed before the datapack was installed. Simply break a composter and place it again manually to make the datapack register it.
Full list of new compostable items:
10% chance:
- Sugar
- Honeycomb
- Spider eye
- Fermented spider eye
- Phantom membrane
- Turtle and armadillo scutes
- Rabbit hide
- Bamboo
- String
- Feather
- Slimeball
- Magma cream
- Ink Sac (both glow and regular)
- Any dye
- Stick
- Carpets
30% chance:
- Chorus fruit
- Popped chorus fruit
- Chorus flower
- Honey block
- Honeycomb block
- Rotten flesh
- Egg
- Turtle egg
- Leather
- Dead bush
- Charcoal
- Wool
- Slime block
- Nautilus shell
- Paper
- Cobweb
- Goat horn
- Muddy mangrove roots
50% chance:
- Cooked chicken, cod, mutton, porkchop, rabbit, beef, and salmon
- Crimson/warped nylium
65% chance:
- Poisonous potato
- Corals (dead or alive)
- Bee nest
85% chance:
- Beetroot soup
- Mushroom/rabbit/suspicious stew
- Coral blocks (dead or alive)
- Sculk vein
100% chance:
- Mycelium
- Sculk
- Sculk catalyst/shrieker/sensor/calibrated sensor
Other info:
Customization
This datapack provides item tags for 10%, 30%, 50%, 65%, 85%, and 100% composting chances. You can find their .json files in <this datapack>/data/dnv.compost/tags/items/. If you want to customize the datapack for your own use, edit those files however you want (simply add/remove any item you want in those lists and it will become compostable/uncompostable).
Warning: there is another item tag for vanilla-compostable items, do not edit that one unless you know what you are doing. It is used to detect when a hopper is containing them as to not overlap vanilla-composting with custom-composting, otherwise, both mechanics would function at the same time, breaking the intended effect of this datapack.
Warning: there is another item tag for vanilla-compostable items, do not edit that one unless you know what you are doing. It is used to detect when a hopper is containing them as to not overlap vanilla-composting with custom-composting, otherwise, both mechanics would function at the same time, breaking the intended effect of this datapack.
Available commands
There are some commands that you can optionally use with this datapack:
- "/function dnv.compost:dropping_toggle": enables or disables compost-by-dropping (on by default). Disable it if you don't want compostable items that drop inside a composter to be composted.
- "/function dnv.compost:uninstall": removes all the entities and scoreboard objectives created by this datapack. Run this function if you want to stop using the datapack to ensure it leaves no trace. All composter markers will be removed, meaning that if you want to use the datapack again after uninstalling it, you will have to manually replace already existing composters in order for the datapack to register them again.
- "/function dnv.compost:dropping_toggle": enables or disables compost-by-dropping (on by default). Disable it if you don't want compostable items that drop inside a composter to be composted.
- "/function dnv.compost:uninstall": removes all the entities and scoreboard objectives created by this datapack. Run this function if you want to stop using the datapack to ensure it leaves no trace. All composter markers will be removed, meaning that if you want to use the datapack again after uninstalling it, you will have to manually replace already existing composters in order for the datapack to register them again.
Legal terms
You are allowed to:
- Download, use, and edit this datapack* for personal use.
- Use this datapack or variations of it in a Minecraft server.
- Publish audiovisual content that uses this datapack or variations of it (e.g. gameplay videos on online platforms), as long as you acknowledge me (Daenvil) as the author of this datapack and provide a link to this PlanetMinecraft page or to its webpage.
- Share this datapack or variations of it privately (e.g. transferring the files to friends), as long as there is no financial profit involved, the files are not publicly available, and this text is included with the files you share.
You are not allowed to:
- Publish this datapack or variations of it without explicit permission from me.
*For all legal purposes, "this datapack" refers to all the files (source code, images, and any other) present in this repository (https://github.com/daenvil/more_compostable_items) or downloadable from this page's Download button.
- Download, use, and edit this datapack* for personal use.
- Use this datapack or variations of it in a Minecraft server.
- Publish audiovisual content that uses this datapack or variations of it (e.g. gameplay videos on online platforms), as long as you acknowledge me (Daenvil) as the author of this datapack and provide a link to this PlanetMinecraft page or to its webpage.
- Share this datapack or variations of it privately (e.g. transferring the files to friends), as long as there is no financial profit involved, the files are not publicly available, and this text is included with the files you share.
You are not allowed to:
- Publish this datapack or variations of it without explicit permission from me.
*For all legal purposes, "this datapack" refers to all the files (source code, images, and any other) present in this repository (https://github.com/daenvil/more_compostable_items) or downloadable from this page's Download button.
Older versions
Supported Minecraft versions | Tested in | Donwload link |
1.21 or superior | 1.21 | Use the download button on this page. |
1.20.5–1.20.6 | 1.20.6 | |
1.20–1.20.4 | 1.20.4 | |
1.16.2–1.19.4 | 1.16.5, 1.17.1, 1.18.2, 1.19.3 |
You can find more info on this datapack's Github repository and on my website.
Compatibility | Minecraft 1.16 |
to | Minecraft 1.21 |
Tags |
5 Update Logs
v1.3.1 update - for Minecraft 1.21+ : by daenvil 06/14/2024 8:15:14 amJun 14th
- Slightly optimized datapack functions
- Adapted to new 1.21 pack format
- Adapted to new 1.21 pack format
LOAD MORE LOGS
5450947
119
Create an account or sign in to comment.
i always have so much of these items and has to constantly build trash cans.
Edit: since Minecraft 1.20.5, the datapack should now be more optimized thanks to new datapack features