Thanks for the logo to Smabblis!
Mobs Properties Randomness
As the name states, this mod is able to alter mobs properties and make them random.
E.g. you want that Creepers have randomly between 20 to 100 health? You can do this!
E.g. you want that Zombies spawn with potion effects? Here you go!
A note on bug reporting / help requests
Please, if you're going to report a bug or need help with something send the JSON too (using a website like hastebin.com).
![]() |
How it works
It's pretty simple: inside the config folder you'll now find a MobsPropertiesRandomness folder where inside you can find the config file and a json folder where you can put your .json files.
You can reload jsons from in-game without need to restart the game with the command /mpr:reloadjson
There's a Wiki!
Now just go here, or click the Wiki button on top of this page, and check all you can do and how you can do things with the mod.
For the JSON-dummies there's a Web App
There's a Web App that will make you generate JSONs without need to touch a single JSON line.
This is heavily WIP: https://insane96.github.io/MobsPropertiesRandomness-GUI/
We want to know more!
Well there you go:
- Attributes
You can modify mobs attributes such as health, follow range, speed, attack damage, etc. You can specify a range of increase / decrease, world difficulty can increase / decrease this range too. You can learn more about Attributes here: https://minecraft.gamepedia.com/Attribute
ExampleWith this .json creepes will have between 50% and 100% more health, increased / decreased by difficulty.
{ "mob": "minecraft:creeper", "attributes": [ { "id": "generic.maxHealth", "modifier": { "min": 50, "max": 100 }, "affected_by_difficulty": true } ] }
- Potion Effects
You can add potion effects to mobs, with a chance and with different Potion levels. Chance can be increased / decreased by world dfficulty.
ExampleWith this .json creepes will have 20% chance to spawn with Speed I or Speed II.
{ "mob": "minecraft:creeper", "potion_effects": [ { "id": "minecraft:speed", "amplifier": { "min": 0, "max": 1 }, "chance": { "amount": 20 } } ] }
- Equipment
You can add items to mobs, like armor or weapons. Enchantments too!
ExampleWith this .json zombies will have 20% chance to spawn with either iron or diamond helmet. Iron begin more common than diamond. (70% iron, 30% diamond)
{ "mob_id": "minecraft:zombie", "equipment": { "head": { "chance": { "amount": 20 }, "items": [ { "id": "minecraft:iron_helmet", "weight": 7 }, { "id": "minecraft:diamond_helmet", "weight": 3 } ] } } }
- Mobs Specific Properties
Some mobs specific properties can be randomized like Creepers Fuse Time or Ghasts Fireball Power.
ExampleThis example make creeper explode between 1 (20 ticks) and 2 (40) seconds, instead of normal 1.5 (30). Have between 2 and 4 explosion power and have 5% chance to spawn powered.
{ "mob_id": "minecraft:creeper", "creeper": { "fuse": { "min": 20, "max": 40 }, "explosion_radius": { "min": 2, "max": 4 }, "powered_chance": { "amount": 5 } } }
Old Version 1.3.3 description
WRONG ITEMS, EFFECTS, ETC. MAY CAUSE YOUR WORLD TO BE UNRECOVERABLE! PLEASE, BACKUP YOUR WORLD AND CHECK THAT YOU WROTE ENTITIES, ITEMS, ETC. IN THE RIGHT WAY.
Any idea, bug, crash, etc. please report it in the Issues tab on top here
The mod is still in alpha, I need your ideas for more randomizable content. Right now is pretty basic as you can read below. SO, any idea is much appreciated.
The mod is pretty simple, in the config file you can change mobs properties.
Right now, those are the features:
Difficulty Wise (true/false)
Used to enable/disable the properties of mobs begin changed based on difficulty.
Makes randomness based on difficulty you're playing, so if you're a ... uhm ... not experienced player ... you can play in Easy difficulty and the game will be easier over who plays in Hard difficulty.
Difficulty Multiplier Easy, Normal, Hard (0.0 to ~2 billions)
Defines the multiplier that will be used on properties in each difficulty.
Properties (that are able to be multiplied by difficulty), will be multiplied by the easy, normal or hard value.
Local Difficulty Wise (true/false)
Used to enable/disable the properties begin multiplied by the local difficulty
Local Difficulty Multiplier (0 to ~2 billions)
Defines the multiplier to be applied to the Local difficulty before it's multiplied to the property
Stats
Values as Percentage (true/false)
If true, values in the Stats category will be percentages and not plain values.
E.g. Having a health increase by 50 and this true means that the mob will have 50% more health, instead with this as false, the mob will have 50 health (25 hearts) more.
Movement Speed, Health, Follow Range, Attack Damage, Knockback Resistance (list)
And that's where things get interesting. Here you can change Movement Speed, Knockback Resistance, Health, Follow range (if is hostile) and Attack Damage (if attacks) of every mob.
The format is simple: mob_id,min_increase,max_increase
mob_id is the mob you want to change property
min_increase and max_increase define how much between those two values the mobs will have increased Statistics.
E.g. in the health minecraft:zombie,25.0,50.0 - will make zombies have between 25% (increased/decreased by difficulty multiplier) and 50% (increased/decreased too) more health (if values as percentage is true otherwise between 25 and 50 more health).
Every line must have a mob.
NB: knockback resistance values must be between 0 and 1
Potion Effects (list)
Here you can add potion effects to mobs.
The format is simple: mob,chance,potion_id,min_amplifier,max_amplifier,ambient_particles,show_particles
mob is the mob you want to change property
chance is the chance to apply this effect
min_amplifier & max_amplifier are the minimum and the maximum level of the potion
ambient_particles if you want to display particles like beacon does
show_particles to show/hide particles
E.g. minecraft:zombie,15.0,minecraft:jump_boost,0,3,true,false will make zombies have 15% chance (multiplied by the difficulty multiplier) to have applied the jump boost effect from level 1 (0) to level 4 (3) and make particles be sightly transparent like beacon effects.
More than a potion effect can be added on the same mob type, just put it in a new line.
Equipment
Hand, Off-Hand, Helmet, Chestplate, Leggings, Boots (list)
Same as the Stats list, here you can write the mob, the chance to have an equipment and the equipment.
The format is: mob_id,percentage_chance,item1,item2,..
mob_id is the mob you want to change property
percentage_chance is the chance to make the mob get a random equipment. (increased by the difficulty multiplier)
item1,item2,... is a list of items that the mob can have.
E.g. in the Helmet list minecraft:zombie,10.0,minecraft:diamond_helmet,minecraft:iron_helmet will make zombies have 10% chance (increased/decreased by difficulty multiplier) to spawn with a diamond helmet or a iron helmet.
Every line must have a mob.
Mob Specific Properties
Creeper
Explosion Radius Min & Max (0 to 127)
Defines the minimum and maximum explosion power a creeper can spawn with. Is not affected by difficulty multiplier.
Fuse Min & Max (0 to 32k)
Defines the minimum and maximum fuse time (time that creepers hiss before exploding) that a creeper can spawn with. Is not affected by difficulty multiplier.
Powered Chance (0.0 to 100.0)
Chance for a creeper to spawn charged. (Affected by difficulty multiplier)
Ghast
Explosion Power Min & Max (0 to 127)
Defines the minimum and maximum explosion power of ghast's fireballs that a ghast can spawn with. Is not affected by difficulty multiplier.
Skeleton
Arrows List (list)
Same as the stats, you can write here a list of effects that will make skeletons spawn with the relative tipped arrow.
Format is: potion,duration,min_aplifier,max_aplifier
E.g. minecraft:slowness,10,0,2 will make skeletons have Arrow Chance chance to spawn with a slowness (level 1 (0) to level 3 (2)) tipped arrow.
Arrow Chance (0.0 to 100.0)
Chance for a skeleton to spawn with a tipped arrow (in Arrows list). (Affected by difficulty multiplier)
Zombie Pigman
Aggro Chance (0.0 to 100.0)
Chance for a pigman to spawn permanently aggroed. (Affected by difficulty multiplier)
Don't download this mod from any other website than Curse or the Twitch app. It might be scam and might harm your PC. Check https://stopmodreposts.org for more infos.
Is there a way to modify what a mob attacks?
The shark from Better Animals Plus attacks everything, I want to change it so that it can only attack the player and doesn't target other mobs.
Is it possible to give mobs an EXP multiplier?
In reply to Terra_McCloud:
Nice idea. Open an issue on GitHub please
Does this mod work with modded attributes?
In reply to commanderaiefu:
Definitely should
In reply to InsaneGames_:
okay, thx
I'am not that good with jsons, can you show me an example of how to give a piece of equipment 2 enchantments?
Thanks
Does this mod run properly on servers?
In reply to diabodeterno:
What do you mean?
In reply to InsaneGames_:
This mod works on multiplayer ?
Can I change mobs from other mods using "modname:mobname" ?
I'm kind of new on minecraft/modding
In reply to diabodeterno:
Yes and yes
I'm having trouble with the attackDamage attribute. Do I need to do it differently than the others? I used the Web App and also tried to do it myself, but neither worked. I have gotten others to work but this one is stumping me, anyone know how to do it?
In reply to diabetic_hotpocket:
Send the jsons used.
Pastebin pls
In reply to InsaneGames_:
{
"mob_id": "minecraft:zombie",
"attributes": [
{
"id": "generic.attackDamage",
"modifier": {
"min": 0,
"max": 5
},
"is_flat": true,
"affected_by_difficulty": false
}
]
}
I'm mostly trying to edit modded mob's attack damage, but I also tried the vanilla zombie and it also didn't work.
Sorry for the late response, I forgot to check if anyone had replied.
In reply to diabetic_hotpocket:
Have you tried with higher values to see if it actually works?
In reply to InsaneGames_:
yes, the min AND max are actually set to 5 on the json, i tried it with both min and max set to 20 and several other values with different entities a while back. no luck.
do you plan to go update this to the newer versions one day?
In reply to spinosgaming:
Yep
In reply to InsaneGames_:
Nice
is this server-sided?