File Details
recraft-1.0.1-forge-1.20.1.jar
- R
- Mar 31, 2026
- 654.14 KB
- 30
- 1.20.1
- Forge
File Name
recraft-1.0.1-forge-1.20.1.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
🎒 Loot Bag System: Dynamic Quantity Update
✨ New Feature: Stackable Rewards
-
Custom Item Amounts: You can now define a specific quantity for each entry in your loot tables (e.g., granting 16 diamonds instead of just one).
-
New Data Format: Migrated the storage backend to a triple-parameter format:
ID:Weight:Quantity.-
Example:
minecraft:gold_ingot:10:32(Weight of 10, drops 32 ingots).
-
-
Dynamic Feedback: The in-game success message now accurately displays the number of items received (e.g., "You have obtained: 16x Diamond").
🛠️ Command Enhancements (/lt)
-
Updated
/lt add: Added a new mandatory argument for the item amount:-
Usage:
/lt <number> add <weight> <quantity> <itemid>
-
-
Improved
/lt list: The list view now includes a dedicated "Qty" column to visualize your settings at a glance. -
Smart Suggestions: The
/lt removecommand now features intelligent auto-completion, suggesting only items that are currently present in the selected table.
🔧 Technical Fixes & Optimizations
-
"Air Item" Fix: Resolved a registry lookup issue where empty items would occasionally appear due to incorrect parsing of the new quantity data.
-
Enhanced String Parsing: Improved the splitting logic to correctly handle IDs containing colons (
namespace:path) while isolating weight and quantity parameters. -
Inventory Safety: The system now respects the maximum stack size (64) and correctly drops any overflow on the ground if the player's inventory is full.
-
Hand Handling Fix: Corrected a bug where right-clicking would trigger the loot bag twice (off-hand is now properly ignored).
Note: Existing loot tables may need to be updated or reset to match the new 3-parameter format (ID:Weight:Quantity) for the system to function correctly.