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

Mobs Properties Randomness

Randomize mobs properties. Add Potion Effects, Equipment, on hit effects and more!

36K загрузок30 подписчиковLicenseRef-All-Rights-Reservedforgeneoforge

Обновлён 18 июня 2026 г. · опубликован 1 октября 2023 г.

Summary

Mobs Properties Randomness lets you add/change many properties to mobs on spawn, and, with events, when other stuff happens, such as on attack, on tick or on death with data packs.

This mod requires InsaneLib

As of 5.0.0 and up the mod (and its dependencies) now work server side only, so with MPR server you can connect with a vanilla client.

The mod

The mod does nothing on its own, you have to make a data pack: click here to get started (please note this is for latest version, click here for a list of versions)
You can also find a video tutorial playlist below.

Some stuff you can do:

  • Potion Effects
  • Attribute Modifiers
  • Equipment
  • Effect immunity
  • NBT
  • Events (attack, kill, target change)
  • Presets (for creating stuff like bosses)

Links

Getting Started

Credits

Thanks for part of the logo to Smabblis

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
6.1.1.0-betaБета1.21.1neoforge18 июня 2026 г.Скачать (365 КБ)
6.1.0.0-alphaАльфа1.21.1neoforge15 июня 2026 г.Скачать (364 КБ)
5.1.7.3Релиз1.20.1forge25 мая 2026 г.Скачать (376 КБ)
6.0.1.3Релиз1.21.1neoforge25 мая 2026 г.Скачать (359 КБ)
5.1.7.2Релиз1.20.1forge6 марта 2026 г.Скачать (376 КБ)
6.0.1.2-betaБета1.21.1neoforge22 февраля 2026 г.Скачать (359 КБ)
6.0.1.1-betaБета1.21.1neoforge21 февраля 2026 г.Скачать (362 КБ)
6.0.1.0-betaБета1.21.1neoforge21 февраля 2026 г.Скачать (364 КБ)
6.0.0.0-alphaАльфа1.21.1neoforge19 февраля 2026 г.Скачать (358 КБ)
5.1.7.1Релиз1.20.1forge17 февраля 2026 г.Скачать (376 КБ)
5.1.7.0Релиз1.20.1forge17 февраля 2026 г.Скачать (376 КБ)
5.1.6.0Релиз1.20.1forge17 февраля 2026 г.Скачать (377 КБ)
5.1.5.0Релиз1.20.1forge11 января 2026 г.Скачать (377 КБ)
5.1.4.3Релиз1.20.1forge10 января 2026 г.Скачать (374 КБ)
5.1.4.0Релиз1.20.1forge10 января 2026 г.Скачать (374 КБ)

Показаны последние 15 из 59 версий.

Ченджлог

6.1.1.0-betaБета1.21.1 · 18 июня 2026 г.

6.1.1.0-beta

  • Changed some fields for Potion effects
    • hide_particles -> show_particles: defaults to true now
    • Added show_icon: defaults to true
  • Fixed attribute modifiers erroring (failing to spawn the mob) if a modifier with the same id is already applied

6.1.0.0-alpha

BREAKING CHANGES Please read carefully

  • More presets!
    • PLEASE NOTE that mobs presets now live in data/mobs_properties_randomness/presets/mobs/ instead of data/mobs_properties_randomness/presets/.
    • This version introduces modifiers, conditions and functions presets.
      These are used if you have multiple conditions, modifiers and functions that repeat, and instead you can write once and reference.
    • Example, you want to apply a global difficulty scaling modifier to many attribute values, but this is repetitive
      [
      {
          "property": "attribute_modifier",
          "attribute": "minecraft:generic.max_health",
          "id": "ns:bonus_health",
          "amount": {
              "value": 1,
              "modifiers": [
                  {
                      "modifier": "difficulty", 
                      "operation": "multiply", 
                      "easy": 0.75, 
                      "hard": 1.5 
                  }
              ]
          },
          "operation": "add_multiplied_base"
      },
      {
          "property": "attribute_modifier",
          "attribute": "minecraft:generic.movement_speed",
          "id": "ns:movement_speed",
          "amount": {
              "value": 0.10,
              "modifiers": [
                  { 
                      "modifier": "difficulty", 
                      "operation": "multiply", 
                      "easy": 0.75, 
                      "hard": 1.5 
                  }
              ]
          },
          "operation": "add_multiplied_base"
      }
      ]
      
      To avoid all this redundancy, you can use a modifier preset. in data/ns/presets/modifiers/difficulty_scaling.json. A modifier preset can contain as many modifiers as you want.
      [
          { "modifier": "difficulty", "operation": "multiply", "easy": 0.75, "hard": 1.5 }
      ]
      
      So the properties can become
      [
      {
          "property": "attribute_modifier",
          "attribute": "minecraft:generic.max_health",
          "id": "ns:bonus_health",
          "amount": {
              "value": 1,
              "modifiers": [
                  { "preset": "ns:difficulty_scaling" }
              ]
          },
          "operation": "add_multiplied_base"
      },
      {
          "property": "attribute_modifier",
          "attribute": "minecraft:generic.movement_speed",
          "id": "ns:movement_speed",
          "amount": {
              "value": 0.10,
              "modifiers": [
                  { "preset": "ns:difficulty_scaling" }
              ]
          },
          "operation": "add_multiplied_base"
      }
      ]
      
      This is a quite easy example, but another real example is:
      This is something that will heavily benefit from using presets.
  • Fixed summoning via /mpr command applying presets 5 times

6.0.1.3

  • Fixed multiple boss bars flickering

6.0.1.2-beta

  • Update to latest InsaneLib

6.0.1.1-beta

  • Update to latest InsaneLib

6.0.1.0-beta

  • Added set_component item function
    • You can set whatever data component you want on an item. The following example from the example data pack will make the target equip an iron ingot that can be eaten and used as a pickaxe. Numeric values can be replaced with #range object to generate random values.
    {
      "property": "equipment",
      "slot": "offhand",
      "items": [
        {
          "item": "minecraft:iron_ingot",
          "functions": [
            {
              "function": "set_component",
              "components": {
                "minecraft:food": {
                  "nutrition": {"#range": {"min": 2, "max": 6}},
                  "saturation": {"#range": 0.5}
                },
                "minecraft:tool": {
                  "rules": [
                    {
                      "blocks": "#mineable/pickaxe",
                      "speed": 6,
                      "correct_for_drops": true
                    }
                  ]
                },
                "minecraft:max_damage": 453,
                "minecraft:damage": 0
              }
            },
            {
              "function": "set_drop_chance",
              "drop_chance": 2
            }
          ]
        }
      ]
    }
    

6.0.0.0-alpha

Ported to 1.21.1

Mod support will be added back in the future. Let's see how this goes first.
I've also updated the Example Data Pack which was broken in 1.20.1 too. The only difference between 1.20.1 and 1.21.1 are attribute modifier operations.

Missing

  • Set (Raw) NBT for items
  • Scaling (pehkui is no longer needed (and seems to no longer work?) as scaling is now an attribute)
  • Serene Seasons support
  • Game stages (hasn't updated past 1.20.3)
6.1.0.0-alphaАльфа1.21.1 · 15 июня 2026 г.

6.1.0.0-alpha

BREAKING CHANGES Please read carefully

  • More presets!
    • PLEASE NOTE that mobs presets now live in data/mobs_properties_randomness/presets/mobs/ instead of data/mobs_properties_randomness/presets/.
    • This version introduces modifiers, conditions and functions presets.
      These are used if you have multiple conditions, modifiers and functions that repeat, and instead you can write once and reference.
    • Example, you want to apply a global difficulty scaling modifier to many attribute values, but this is repetitive
      [
      {
          "property": "attribute_modifier",
          "attribute": "minecraft:generic.max_health",
          "id": "ns:bonus_health",
          "amount": {
              "value": 1,
              "modifiers": [
                  {
                      "modifier": "difficulty", 
                      "operation": "multiply", 
                      "easy": 0.75, 
                      "hard": 1.5 
                  }
              ]
          },
          "operation": "add_multiplied_base"
      },
      {
          "property": "attribute_modifier",
          "attribute": "minecraft:generic.movement_speed",
          "id": "ns:movement_speed",
          "amount": {
              "value": 0.10,
              "modifiers": [
                  { 
                      "modifier": "difficulty", 
                      "operation": "multiply", 
                      "easy": 0.75, 
                      "hard": 1.5 
                  }
              ]
          },
          "operation": "add_multiplied_base"
      }
      ]
      
      To avoid all this redundancy, you can use a modifier preset. in data/ns/presets/modifiers/difficulty_scaling.json. A modifier preset can contain as many modifiers as you want.
      [
          { "modifier": "difficulty", "operation": "multiply", "easy": 0.75, "hard": 1.5 }
      ]
      
      So the properties can become
      [
      {
          "property": "attribute_modifier",
          "attribute": "minecraft:generic.max_health",
          "id": "ns:bonus_health",
          "amount": {
              "value": 1,
              "modifiers": [
                  { "preset": "ns:difficulty_scaling" }
              ]
          },
          "operation": "add_multiplied_base"
      },
      {
          "property": "attribute_modifier",
          "attribute": "minecraft:generic.movement_speed",
          "id": "ns:movement_speed",
          "amount": {
              "value": 0.10,
              "modifiers": [
                  { "preset": "ns:difficulty_scaling" }
              ]
          },
          "operation": "add_multiplied_base"
      }
      ]
      
      Another example is:
      This is something that will heavily benefit from using presets.
  • Fixed summoning via /mpr command applying presets 5 times

6.0.1.3

  • Fixed multiple boss bars flickering

6.0.1.2-beta

  • Update to latest InsaneLib

6.0.1.1-beta

  • Update to latest InsaneLib

6.0.1.0-beta

  • Added set_component item function
    • You can set whatever data component you want on an item. The following example from the example data pack will make the target equip an iron ingot that can be eaten and used as a pickaxe. Numeric values can be replaced with #range object to generate random values.
    {
      "property": "equipment",
      "slot": "offhand",
      "items": [
        {
          "item": "minecraft:iron_ingot",
          "functions": [
            {
              "function": "set_component",
              "components": {
                "minecraft:food": {
                  "nutrition": {"#range": {"min": 2, "max": 6}},
                  "saturation": {"#range": 0.5}
                },
                "minecraft:tool": {
                  "rules": [
                    {
                      "blocks": "#mineable/pickaxe",
                      "speed": 6,
                      "correct_for_drops": true
                    }
                  ]
                },
                "minecraft:max_damage": 453,
                "minecraft:damage": 0
              }
            },
            {
              "function": "set_drop_chance",
              "drop_chance": 2
            }
          ]
        }
      ]
    }
    

6.0.0.0-alpha

Ported to 1.21.1

Mod support will be added back in the future. Let's see how this goes first.
I've also updated the Example Data Pack which was broken in 1.20.1 too. The only difference between 1.20.1 and 1.21.1 are attribute modifier operations.

Missing

  • Set (Raw) NBT for items
  • Scaling (pehkui is no longer needed (and seems to no longer work?) as scaling is now an attribute)
  • Serene Seasons support
  • Game stages (hasn't updated past 1.20.3)
5.1.7.3Релиз1.20.1 · 25 мая 2026 г.
6.0.1.3Релиз1.21.1 · 25 мая 2026 г.

6.0.1.3

  • Fixed multiple boss bars flickering

6.0.1.2-beta

  • Update to latest InsaneLib

6.0.1.1-beta

  • Update to latest InsaneLib

6.0.1.0-beta

  • Added set_component item function
    • You can set whatever data component you want on an item. The following example from the example data pack will make the target equip an iron ingot that can be eaten and used as a pickaxe. Numeric values can be replaced with #range object to generate random values.
    {
      "property": "equipment",
      "slot": "offhand",
      "items": [
        {
          "item": "minecraft:iron_ingot",
          "functions": [
            {
              "function": "set_component",
              "components": {
                "minecraft:food": {
                  "nutrition": {"#range": {"min": 2, "max": 6}},
                  "saturation": {"#range": 0.5}
                },
                "minecraft:tool": {
                  "rules": [
                    {
                      "blocks": "#mineable/pickaxe",
                      "speed": 6,
                      "correct_for_drops": true
                    }
                  ]
                },
                "minecraft:max_damage": 453,
                "minecraft:damage": 0
              }
            },
            {
              "function": "set_drop_chance",
              "drop_chance": 2
            }
          ]
        }
      ]
    }
    

6.0.0.0-alpha

Ported to 1.21.1

Mod support will be added back in the future. Let's see how this goes first.
I've also updated the Example Data Pack which was broken in 1.20.1 too. The only difference between 1.20.1 and 1.21.1 are attribute modifier operations.

Missing

  • Set (Raw) NBT for items
  • Scaling (pehkui is no longer needed (and seems to no longer work?) as scaling is now an attribute)
  • Serene Seasons support
  • Game stages (hasn't updated past 1.20.3)
5.1.7.2Релиз1.20.1 · 6 марта 2026 г.
6.0.1.2-betaБета1.21.1 · 22 февраля 2026 г.

6.0.1.2-beta

  • Update to latest InsaneLib

6.0.1.1-beta

  • Update to latest InsaneLib

6.0.1.0-beta

  • Added set_component item function
    • You can set whatever data component you want on an item. The following example from the example data pack will make the target equip an iron ingot that can be eaten and used as a pickaxe. Numeric values can be replaced with #range object to generate random values.
    {
      "property": "equipment",
      "slot": "offhand",
      "items": [
        {
          "item": "minecraft:iron_ingot",
          "functions": [
            {
              "function": "set_component",
              "components": {
                "minecraft:food": {
                  "nutrition": {"#range": {"min": 2, "max": 6}},
                  "saturation": {"#range": 0.5}
                },
                "minecraft:tool": {
                  "rules": [
                    {
                      "blocks": "#mineable/pickaxe",
                      "speed": 6,
                      "correct_for_drops": true
                    }
                  ]
                },
                "minecraft:max_damage": 453,
                "minecraft:damage": 0
              }
            },
            {
              "function": "set_drop_chance",
              "drop_chance": 2
            }
          ]
        }
      ]
    }
    

6.0.0.0-alpha

Ported to 1.21.1

Mod support will be added back in the future. Let's see how this goes first.
I've also updated the Example Data Pack which was broken in 1.20.1 too. The only difference between 1.20.1 and 1.21.1 are attribute modifier operations.

Missing

  • Set (Raw) NBT for items
  • Scaling (pehkui is no longer needed (and seems to no longer work?) as scaling is now an attribute)
  • Serene Seasons support
  • Game stages (hasn't updated past 1.20.3)
6.0.1.1-betaБета1.21.1 · 21 февраля 2026 г.

Changelog

6.0.1.1-beta

  • Update to latest InsaneLib

6.0.1.0-beta

  • Added set_component item function
    • You can set whatever data component you want on an item. The following example from the example data pack will make the target equip an iron ingot that can be eaten and used as a pickaxe. Numeric values can be replaced with #range object to generate random values.
    {
      "property": "equipment",
      "slot": "offhand",
      "items": [
        {
          "item": "minecraft:iron_ingot",
          "functions": [
            {
              "function": "set_component",
              "components": {
                "minecraft:food": {
                  "nutrition": {"#range": {"min": 2, "max": 6}},
                  "saturation": {"#range": 0.5}
                },
                "minecraft:tool": {
                  "rules": [
                    {
                      "blocks": "#mineable/pickaxe",
                      "speed": 6,
                      "correct_for_drops": true
                    }
                  ]
                },
                "minecraft:max_damage": 453,
                "minecraft:damage": 0
              }
            },
            {
              "function": "set_drop_chance",
              "drop_chance": 2
            }
          ]
        }
      ]
    }
    

6.0.0.0-alpha

Ported to 1.21.1

Mod support will be added back in the future. Let's see how this goes first.
I've also updated the Example Data Pack which was broken in 1.20.1 too. The only difference between 1.20.1 and 1.21.1 are attribute modifier operations.

Missing

  • Set (Raw) NBT for items
  • Scaling (pehkui is no longer needed (and seems to no longer work?) as scaling is now an attribute)
  • Serene Seasons support
  • Game stages (hasn't updated past 1.20.3)
6.0.1.0-betaБета1.21.1 · 21 февраля 2026 г.

Changelog

6.0.1.0-beta

  • Added set_component item function
    • You can set whatever data component you want on an item. The following example from the example data pack will make the target equip an iron ingot that can be eaten and used as a pickaxe. Numeric values can be replaced with #range object to generate random values.
    {
      "property": "equipment",
      "slot": "offhand",
      "items": [
        {
          "item": "minecraft:iron_ingot",
          "functions": [
            {
              "function": "set_component",
              "components": {
                "minecraft:food": {
                  "nutrition": {"#range": {"min": 2, "max": 6}},
                  "saturation": {"#range": 0.5}
                },
                "minecraft:tool": {
                  "rules": [
                    {
                      "blocks": "#mineable/pickaxe",
                      "speed": 6,
                      "correct_for_drops": true
                    }
                  ]
                },
                "minecraft:max_damage": 453,
                "minecraft:damage": 0
              }
            },
            {
              "function": "set_drop_chance",
              "drop_chance": 2
            }
          ]
        }
      ]
    }
    

6.0.0.0-alpha

Ported to 1.21.1

Mod support will be added back in the future. Let's see how this goes first.
I've also updated the Example Data Pack which was broken in 1.20.1 too. The only difference between 1.20.1 and 1.21.1 are attribute modifier operations.

Missing

  • Set (Raw) NBT for items
  • Scaling (pehkui is no longer needed (and seems to no longer work?) as scaling is now an attribute)
  • Serene Seasons support
  • Game stages (hasn't updated past 1.20.3)

Комментарии

Загружаем…