Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Loot Modifier

Loot Modifier

Add new pools to existing loot tables

39
1
Library
AboutChangelogVersions

Loot Modifier

A mod to allow datapacks to modify existing loot tables

Loot table modifiers should be defined in data/<namespace>/lootmodifier/loot_table_modifier/<name>.json

JSON Format

target: A loot table identifier, or list of loot table identifiers, to modify.

pools: A list of pools to add to the loot tables. Uses vanilla loot pool format.

Example

Gives dirt and grass blocks a 10% chance to drop a diamond when mined

{
  "target": [
    "minecraft:blocks/dirt",
    "minecraft:blocks/grass_block"
  ],
  "pools": [
    {
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.1
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond"
        }
      ],
      "rolls": 1.0
    }
  ]
}

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

Platforms

Fabric

Supported environments

Server-side

Links

Report issues View source

Creators

hbop
hbop Member

Details

Licensed MIT
Published 2 months ago
Updated 2 months ago

Modrinth is open source.

main@a0bd011

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.