Описание
## Players
### Mechanics
Much like Minecraft Dungeons, souls are obtained by killing enemies. You can hold up to 8192 souls; yes, it's an awfully binary number. These souls can come in handy, as they possess a strange power.
### I got some souls. Now what?
Well, this mod is a library, so it needs a data pack or mod to work. Thankfully, it comes with some enchantments built right in!
### ~~NeoForge support?~~
~~Short Answer: ***yes, but not natively.*** I've tested it with [Sinytra Connector](https://modrinth.com/mod/connector), but be warned that _it can be pretty janky sometimes._~~ \
**NeoForge support is currently unavailable because Sinytra's Forgified Fabric API hasn't been updated to FAPI 0.107.0 just yet. Until then, you should use the Fabric Loader for now.**
## Devs
### Expanding Vanilla
#### Items
Soul Gathering can be added via a simple tag or through components.
**Example using /give:** `/give @s minecraft:netherite_hoe[soul_gathering:gathering=99]`
The Fabric API has utilities for adding components automatically.
#### Enchantments
Here's an example that makes an enchantment consume souls.
```
{
"enchanted": "attacker",
"affected": "attacker",
"effect": {
"type": "soul_gathering:remove_souls",
"min_souls": 3,
"max_souls": 16
}
}
```
Making an enchantment with a `soul_gathering:add_souls` effect or tagging one with `soul_gathering:soul_enchantments` will increase the amount of souls provided by the item component; if there's no component, nothing will happen.