作者:rebot | 分类:模组
Minecraft 版本: 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4
平台: fabric quilt
标签: game-mechanics mobs
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.请登录后举报
暂无评论,抢个沙发吧~