promotional bannermobile promotional banner

Loot Table Manager

LootTable Manager is a Minecraft mod that allows you to add, replace, or customize loot tables for any block that contains an inventory, including vanilla blocks and blocks added by other mods (furniture, cupboards, drawers, shelves, etc.).
Back to Files

loottablemanager-1.1.jar

File nameloottablemanager-1.1.jar
Uploaded
Jan 3, 2026
Downloads
904
Size
35.4 KB
Mod Loaders
Forge
File ID
7414382
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:loot-table-manager-1419382:7414382")

Learn more about Curse Maven

What's new

## [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
      }
    }
  ]
}
```

This mod has no additional files