Defaulted Drops
This library enables blocks without loot tables to drop themselves as items. The modification only affects mods that explicitly opt-in to this functionality.
How It Works
When a mod integrates Defaulted Drops through the fabric.mod.json file, all its blocks lacking loot tables will drop as corresponding items when broken. This is particularly useful for mods that add decorative or technical blocks without their own drop systems.
Technical Features
- Works on servers and in single-player mode
- Compatible with Fabric and Quilt loaders
- Does not affect vanilla blocks or mods that don't integrate the library
- Lightweight solution without unnecessary dependencies
For Developers
The library is distributed under the MIT license, allowing free use and modification of the code. If you create a port or make changes to the project, it would be helpful to include a link to the original page, though this is not a mandatory requirement.