Перейти к содержимому
Mineforgian

Brutes Drop Scraps

Piglin Brutes have a chance of dropping Netherite Scraps.

35K загрузок109 подписчиковGPL-3.0-onlydatapackfabricforgequilt

Обновлён 8 июня 2023 г. · опубликован 7 февраля 2023 г.

  • Two Piglin Brutes mourning the loss of their friends.

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.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.1+modРелиз1.20.1, 1.20.2, 1.20.3, 1.20.4fabric, quilt8 июня 2023 г..jar (123 КБ)
1.1+modРелиз1.20.1, 1.20.2, 1.20.3, 1.20.4forge8 июня 2023 г..jar (124 КБ)
1.1Релиз1.20.1, 1.20.2, 1.20.3, 1.20.4datapack21 февраля 2023 г..jar (61 КБ)
1.0Релиз1.19.1, 1.19.2, 1.19.3, 1.19.4datapack7 февраля 2023 г..jar (61 КБ)

Ченджлог

1.1+modРелиз1.20.2, 1.20.3, 1.20.4 · 8 июня 2023 г.

1.20

1.1+modРелиз1.20.2, 1.20.3, 1.20.4 · 8 июня 2023 г.

1.20

1.1Релиз1.20.2, 1.20.3, 1.20.4 · 21 февраля 2023 г.

1.1 - Increased drop rate

1.0Релиз1.19.2, 1.19.3, 1.19.4 · 7 февраля 2023 г.

Initial Release

Полная история изменений — на Modrinth.

Комментарии

Загружаем…