Skip to Content
Gemstone Logo

Legendary
Gemstones

Datapack Configuration

Drops

Controls all Gemstones world drops from all sources except Geodes.

settings.json

Global gemstone quality distribution and loot tables affected by Loot Touch.

gemstones_drop_quality controls drop chances for gemstone quality from all sources except Geodes.

data/gemstones/drops/settings.json
{
  "gemstones_drop_quality": {
    "CRUDE": 0.6,
    "REFINED": 0.25,
    "FLAWLESS": 0.1,
    "RADIANT": 0.05
  },
  "touch_drops": [
    "minecraft:chests/simple_dungeon",
    "minecraft:chests/shipwreck_supply",
    "minecraft:chests/abandoned_mineshaft"
  ]
}

Prop

Type

Gemstones that only exist as Mythic skip the quality roll entirely.


block_drops.json

Adds gemstone drops to specific block loot tables. Vanilla drops are preserved.

data/gemstones/drops/block_drops.json
{
  "block_drops": {
    "minecraft:blocks/obsidian": {
      "entries": [{ "gemstone_type": "OBSIDIAN_SHARD", "chance": 0.1 }]
    },
    "minecraft:blocks/crying_obsidian": {
      "entries": [{ "gemstone_type": "OBSIDIAN_SHARD", "chance": 0.15 }]
    },
    "minecraft:blocks/gold_ore": {
      "entries": [{ "gemstone_type": "AMBER", "chance": 0.01 }]
    },
    "minecraft:blocks/deepslate_gold_ore": {
      "entries": [{ "gemstone_type": "AMBER", "chance": 0.03 }]
    },
    "minecraft:blocks/nether_gold_ore": {
      "entries": [{ "gemstone_type": "AMBER", "chance": 0.03 }]
    },
    "minecraft:blocks/nether_quartz_ore": {
      "entries": [{ "gemstone_type": "ZIRCON", "chance": 0.03 }]
    }
  }
}

Prop

Type


entities_loot.json

Injects gemstone pools into entity death loot tables.

data/gemstones/drops/entities_loot.json
{
  "entities_loot": [
    {
      "loot_tables": ["minecraft:entities/elder_guardian"],
      "pools": [{ "gemstone_type": "SAPPHIRE", "chance": 0.75 }]
    },
    {
      "loot_tables": ["minecraft:entities/wither"],
      "pools": [
        { "gemstone_type": "WITHER_SHELL", "chance": 1.0 }
      ]
    }
  ]
}

Prop

Type


structures_loot.json

Injects gemstone pools into chest/structure loot tables. Same format as entities.

data/gemstones/drops/structures_loot.json
{
  "structures_loot": [
    {
      "loot_tables": ["minecraft:chests/jungle_temple"],
      "pools": [{ "gemstone_type": "JADE", "chance": 1.0 }]
    },
    {
      "loot_tables": ["minecraft:chests/bastion_treasure"],
      "pools": [
        { "gemstone_type": "RUBY", "chance": 0.45 },
        { "gemstone_type": "PYRITE", "chance": 0.5 }
      ]
    },
    {
      "loot_tables": ["minecraft:chests/desert_pyramid"],
      "pools": [{ "gemstone_type": "TOPAZ", "chance": 0.4 }]
    },
    {
      "loot_tables": ["minecraft:chests/end_city_treasure"],
      "pools": [
        { "gemstone_type": "POLYCHROME_CRYSTAL", "chance": 0.35 },
        { "gemstone_type": "ONYX", "chance": 0.25 },
        { "gemstone_type": "ASTRALITE", "chance": 0.25 }
      ]
    },
    {
      "loot_tables": ["minecraft:chests/stronghold_library"],
      "pools": [
        {
          "gemstone_type": "CRYSTALLIZED_EXPERIENCE",
          "chance": 0.05
        }
      ]
    },
    {
      "loot_tables": ["minecraft:chests/trial_chambers/reward"],
      "pools": [{ "gemstone_type": "RESTLESS_FLAME", "chance": 0.4 }]
    },
    {
      "loot_tables": ["minecraft:chests/trial_chambers/supply"],
      "pools": [{ "gemstone_type": "RESTLESS_FLAME", "chance": 0.2 }]
    },
    {
      "loot_tables": ["minecraft:chests/trial_chambers/entrance"],
      "pools": [{ "gemstone_type": "RESTLESS_FLAME", "chance": 0.15 }]
    },
    {
      "loot_tables": ["minecraft:chests/simple_dungeon"],
      "pools": [{ "gemstone_type": "RESTLESS_FLAME", "chance": 0.1 }]
    },
    {
      "loot_tables": ["minecraft:chests/buried_treasure"],
      "pools": [{ "gemstone_type": "SAPPHIRE", "chance": 0.5 }]
    }
  ]
}

Prop

Type


special_drops.json

Trigger-based drops that don't use standard loot tables.

data/gemstones/drops/special_drops.json
{
  "special_drops": [
    {
      "trigger": "experience_bottle",
      "gemstone_type": "CRYSTALLIZED_EXPERIENCE",
      "chance": 0.02,
      "min_count": 1,
      "max_count": 1
    },
    {
      "trigger": "ender_dragon_death",
      "gemstone_type": "ENDER_SCALE",
      "chance": 1.0,
      "min_count": 1,
      "max_count": 2
    }
  ]
}

Prop

Type


mossy_box_loot.json

Defines the Mossy Box loot pools. Each pool rolls a configurable number of times and picks weighted random entries.

data/gemstones/drops/mossy_box_loot.json
{
  "mossy_box_loot": [
    {
      "min_rolls": 1.0,
      "max_rolls": 2.0,
      "entries": [
        {
          "item": "minecraft:carrot",
          "weight": 5,
          "min_count": 1,
          "max_count": 3
        }
      ]
    }
  ]
}

Prop

Type

On this page