simple loot piles
ModLicenseRef-All-Rights-Reserved

simple loot piles

a simple loot pile mod for random loot

148
Downloads
0
Followers
2 years ago
Updated
📦
1
Versions

📖About simple loot piles

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": []
}