Skip to content

simple loot piles

a simple loot pile mod for random loot

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

simple loot piles

a simple loot pile mod for random loot
that has a editable config

how to use

you can get them by doing /give @s loots:loot_pile
when you right click them it opens a screen
you can change if they respawn or what tier they are
check the tier by pressing f3 and looking at the block
the tier corresponds to the config tier so only tier 2 blocks will drop tier 2 items

config example

{
  "0": [
    {
      "item": "minecraft:dirt",
      "chance": 100,
      "nbt": {},
      "amount": 10
    },
    {
      "item": "minecraft:cobblestone",
      "chance": 10,
      "nbt": {},
      "amount": 5
    }
  ],
  "1": [
    {
      "item": "minecraft:iron_ingot",
      "chance": 90,
      "nbt": {},
      "amount": 5
    }
  ],
  "2": [
    {
      "item": "minecraft:enchanted_golden_apple",
      "chance": 15,
      "nbt": {},
      "amount": 10
    }
  ]
}

and it supports items with nbt

{
  "0": [
    {
      "item": "minecraft:dirt",
      "chance": 100.0,
      "nbt": {
        "Enchantments": [
          {
            "id": "blast_protection",
            "lvl": 2
          }
        ]
      },
      "amount": 10
    }
  ],
  "1": [],
  "2": []
}