File Details
loottablemanager-1.1.jar
- R
- Jan 3, 2026
- 35.37 KB
- 480
- 1.20.1
- Forge
File Name
loottablemanager-1.1.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
## [1.1] - 2026-01-04
### Added
- NBT tag support in loot tables via the `set_nbt` function
- Items can now have custom NBT data applied during loot generation
### Technical Changes
- Added `tag` field to `LootEntry.Function` class to store NBT tags
- Implemented NBT tag parsing and application via `TagParser.parseTag()`
- Error handling for invalid NBT tags (logs error without crashing)
### Example
```json
{
"type": "minecraft:item",
"name": "tacz:modern_kinetic_gun",
"weight": 5,
"functions": [
{
"function": "set_nbt",
"tag": "{GunCurrentAmmoCount:17,GunFireMode:'SEMI',GunId:'tacz:glock_17',HasBulletInBarrel:1b}"
},
{
"function": "set_count",
"count": {
"min": 1,
"max": 1
}
}
]
}
```

