Описание
## Features
Makes a lot of vanilla items compostable, including rotten flesh, poisonous potatoes, foods, and many more (see the list below). These 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). *Composting by right-clicking is not possible due to datapack limitations*.
_[Youtube video showcasing this datapack](https://youtu.be/S8mXr1R7Kl0)_
This datapack was tested in a multiplayer server with ~10 players and performed well without any noticeable performance issue.
### 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
Chicken eggs
Turtle egg
Leather
Dead bush
Charcoal
Wool
Slime block
Nautilus shell
Paper
Cobweb
Goat horn
Muddy mangrove roots
Pale moss carpet
Pale hanging moss
Bush and firefly bush
Cactus flower
Dry grass
Leaf litter
Wildflowers
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
This datapack aims to contain all vanilla items which should be compostable in a realistic way, so if you find any item that is missing or should be changed, please contact me.
### FAQ
The composter isn't working when I right click on it
Read the description: right-clicking is only supported for items that are compostable in vanilla. The ones added by this pack are only compostable via hoppers or by *dropping* them inside the composter.
It's working on some composters but not on others
Custom-composting via hoppers only works with composters that are placed by players. This means that it won't 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.
The datapack might have trouble detecting a placed composter if you are moving very fast while placing it. This shouldn't be a problem as long as you are not MLG-360-no-scoping composters. If a composter is not working, just break it and place it again while not moving.
Compatibility with other mods
Some things are hardcoded in this datapack, which means that it can interact in unexpected ways with mods that alter vanilla mechanics: such as mods that alter the vanilla behaviour of hopper cooldowns or mods that add new compostable items or modify the vanilla ones. Nothing game-breaking should happen, though.
### Available commands
There are some commands that you can optionally use with this datapack (if you have admin privileges):
- **/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.