- Hotfix for 1.2.5: Fixed loaded loot bags being cleared in single-player mode
- Fix possible crashes caused by certain classes being preloaded before startup
- Fix LootBagEntry cannot get bag entry during loading loot tables
- Fixed the issue of unavailability on the server (avoid loading client-side classes)
- Add error messages
- Add new content type:
loot-bag:effect
- Add new loot entry:
loot-bag:loot_bag
- Support writing the item id as the texture of the icon.
NOTES❗❗❗
In version 1.2.0 I rewrote almost the entire mod. What's different from before?
- The mod now no longer depends on any other dependency mod other than the fabric api.
- It is now configured via datapack instead of config files. (Don't update if you're not ready to rewrite the config file as a datapack!)
- Every loot bag used to be a new item, this was done to accommodate some operations such as the vanilla recipe output that did not support writing NBT on items. But this practice was costly, introduced BRRP as a dependency, and defied conventional logic. Now all loot bags are the same item, and the loot bag data is stored in the item's NBT tag.
- The mod is now extensible in code, if you are a mod developer you can generate your datapack using the provider class provided by the mod and even add more loot bag types.
- Now supports running commands when opening bags.
- The previously auto-generated config file is no longer valid and may even cause errors. Please delete them before entering the game.