droprateapi-1.0.1+patch1_1.16.5-forge.jar
Curse Maven Snippet
What's new
Changelog - DropRateAPI Mod
Version 1.0.1+patch1 - [DATE]
๐ New Features & Improvements
Added Config Reloading Command 1. Implemented
/droprate_reloadcommand to reloaddroprate.config.jsonwithout restarting the game. 2. Now developers can test drop changes in real-time!Added Drop Removal API
- New method
DropRateAPI.removeDrop(EntityType<?>, Item)allows developers to remove specific drops from mobs. - This feature is useful for modifying existing drop tables dynamically.
- Ensures greater flexibility in drop management without overriding entire loot tables.
- Example:
- New method
```DropRateAPI.removeDrop(EntityType.ZOMBIE, Items.ROTTEN_FLESH);```
- Improved Debugging & Error Handling
- Added error messages when invalid item IDs are detected in
droprate.config.json. - Now, if an incorrect item ID is provided, a warning is logged to help troubleshoot issues.
- Example log message:
- Added error messages when invalid item IDs are detected in
[DropRate] WARNING: Item "minecraft:golden_potato" does not exist!
๐ ๏ธ Bug Fixes & Code Refactor
- Fixed Package Name Issues
- Updated all references from
th.tamkungz.droprate.api.DropRateAPItoth.tamkungz.droprateapi.api.DropRateAPIfor consistency.
- Updated all references from
๐ Previous Changes
- Refactored DropRateAPI to store multiple drop entries per entity.
- Added JSON-based configuration for defining custom mob drops.
- Improved cross-mod compatibility.
๐ Keep customizing your mob drops with DropRate!
This mod has no additional files

