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.).

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

Forge

implementation fg.deobf("curse.maven:loot-table-manager-1419382:7414382")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

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