
Mobs Properties Randomness
Randomize mobs properties. Add Potion Effects, Equipment, on hit effects and more!
Обновлён 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.1 | neoforge | 18 июня 2026 г. | Скачать (365 КБ) |
| 6.1.0.0-alpha | Альфа | 1.21.1 | neoforge | 15 июня 2026 г. | Скачать (364 КБ) |
| 5.1.7.3 | Релиз | 1.20.1 | forge | 25 мая 2026 г. | Скачать (376 КБ) |
| 6.0.1.3 | Релиз | 1.21.1 | neoforge | 25 мая 2026 г. | Скачать (359 КБ) |
| 5.1.7.2 | Релиз | 1.20.1 | forge | 6 марта 2026 г. | Скачать (376 КБ) |
| 6.0.1.2-beta | Бета | 1.21.1 | neoforge | 22 февраля 2026 г. | Скачать (359 КБ) |
| 6.0.1.1-beta | Бета | 1.21.1 | neoforge | 21 февраля 2026 г. | Скачать (362 КБ) |
| 6.0.1.0-beta | Бета | 1.21.1 | neoforge | 21 февраля 2026 г. | Скачать (364 КБ) |
| 6.0.0.0-alpha | Альфа | 1.21.1 | neoforge | 19 февраля 2026 г. | Скачать (358 КБ) |
| 5.1.7.1 | Релиз | 1.20.1 | forge | 17 февраля 2026 г. | Скачать (376 КБ) |
| 5.1.7.0 | Релиз | 1.20.1 | forge | 17 февраля 2026 г. | Скачать (376 КБ) |
| 5.1.6.0 | Релиз | 1.20.1 | forge | 17 февраля 2026 г. | Скачать (377 КБ) |
| 5.1.5.0 | Релиз | 1.20.1 | forge | 11 января 2026 г. | Скачать (377 КБ) |
| 5.1.4.3 | Релиз | 1.20.1 | forge | 10 января 2026 г. | Скачать (374 КБ) |
| 5.1.4.0 | Релиз | 1.20.1 | forge | 10 января 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 ofdata/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
To avoid all this redundancy, you can use a modifier preset. in[ { "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" } ]data/ns/presets/modifiers/difficulty_scaling.json. A modifier preset can contain as many modifiers as you want.
So the properties can become[ { "modifier": "difficulty", "operation": "multiply", "easy": 0.75, "hard": 1.5 } ]
This is a quite easy example, but another real example is:[ { "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 something that will heavily benefit from using presets.
- PLEASE NOTE that mobs presets now live in
- Fixed summoning via
/mprcommand 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_componentitem 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 ofdata/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
To avoid all this redundancy, you can use a modifier preset. in[ { "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" } ]data/ns/presets/modifiers/difficulty_scaling.json. A modifier preset can contain as many modifiers as you want.
So the properties can become[ { "modifier": "difficulty", "operation": "multiply", "easy": 0.75, "hard": 1.5 } ]
Another example is:[ { "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 something that will heavily benefit from using presets.
- PLEASE NOTE that mobs presets now live in
- Fixed summoning via
/mprcommand 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_componentitem 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_componentitem 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_componentitem 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_componentitem 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_componentitem 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)
Комментарии
Загружаем…