Piglin Brutes have a chance of dropping Netherite Scraps.
How to change drop rate in 1.20.4 and older
Open the datapack, then go data/minecraft/loot_tables/entities and open the piglin_brute json file. This is what's written in the json file:
{
"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
}
]
}
Above the "function": "minecraft:set_count" is the normal drop rate without the Looting enchantment. While above the "function": "minecraft:looting_enchant" is the drop rate with the Looting enchantment.
"max" dictates the maximum drop rate of Scraps dropped by Brutes, while the "min" dictates the minimum drop rate of Scraps dropped by Brutes. To change the drop rate, you just have to change the number to an higher or lower number.
For example... changing "max": 1 to "max": 1.1 or higher increases the maximum drop rate, while changing it to "max": 0.9 or lower decreases the maximum drop rate. "min" works the same, but for the minimum drop rate.
How to Install Brutes Drop Scraps (Datapack)
Brutes Drop Scraps by greenclaw is verified for Datapack, Fabric, Forge, Quilt across Minecraft versions 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1 (latest release: 1.1+mod, file size: 123 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1) and platform (Datapack, Fabric, Forge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Quilt.
- Move the downloaded Brutes Drop Scraps file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.