Download Brutes Drop Scraps — Minecraft Mods — MetaMods
Brutes Drop Scraps

Brutes Drop Scraps

Active

Downloads

0

Last update

2 years ago

Versions

1.16.2 — 1.20.4
Server
Fabric
Forge
Quilt
Game mechanics
Mobs

Brutes Drop Scraps

This mod adds the possibility of obtaining Netherite Scraps when defeating Piglin Brutes in the Nether. Now these formidable opponents can leave behind valuable resources needed for crafting Netherite equipment.

Drop Rate Configuration

You can independently adjust the chance of obtaining scraps. For Minecraft versions 1.20.4 and older, open the mod's datapack and navigate to the data/minecraft/loot_tables/entities folder. Find the piglin_brute.json file with the following content:

{
  "type": "minecraft:entity",
  "pools": [
    {
      "bonus_rolls": 0.0,
      "entries": [
        {
          "type": "minecraft:item",
          "functions": [
            {
              "add": false,
              "count": {
                "type": "minecraft:uniform",
                "max": 1,
                "min": 0
              },
              "function": "minecraft:set_count"
            },
            {
              "count": {
                "type": "minecraft:uniform",
                "max": 0.2,
                "min": 0
              },
              "function": "minecraft:looting_enchant"
            }
          ],
          "name": "minecraft:netherite_scrap"
        }
      ],
      "rolls": 1.0
    }
  ]
}

How to Configure Parameters:

  • The "function": "minecraft:set_count" parameter determines the base drop probability without the Looting enchantment
  • The "function": "minecraft:looting_enchant" parameter controls the probability with the Looting enchantment
  • The "max" value sets the maximum drop chance
  • The `"min"" value determines the minimum drop chance

To change the probability, simply edit the numerical values. For example, increasing "max": 1 to "max": 1.1 will raise the maximum drop chance, while decreasing it to "max": 0.9 will lower it.

Project members
greenclawer

greenclawer

Developer

greenclaw

greenclaw

Developer

Created: 8 Feb 2023

ID: 3685