File format: data -> yourthing -> mobspells -> profiles -> yourmobspells
{
"priority": 5,
"entities": ["minecraft:zombie", "minecraft:husk"],
"dimensions": ["minecraft:overworld", "minecraft:the_nether"],
"difficulties": ["normal", "hard"],
"chance": 1,
"interval_ticks": [120, 240],
"requires_target": true,
"range": [3, 20],
"line_of_sight": true,
"windup_ticks": 15,
"windup_sound": "minecraft:entity.blaze.ambient",
"spells": [
{ "spell": "irons_spellbooks:firebolt", "level": [1, 3], "weight": 3, "cooldown_ticks": 80 },
{ "spell": "irons_spellbooks:fireball", "level": 1, "weight": 1, "cooldown_ticks": 400, "range": [8, 30] },
{ "spell": "irons_spellbooks:shield", "level": 1, "weight": 1, "cooldown_ticks": 600, "requires_target": false, "max_health_pct": 0.5 }
]
}priority: effects with what rate it chooses to apply
entities: chooses entities (mandatory)
dimensions: what dimensions these are applied in
difficulties: what difficulties changes appear in
chance: what is the chance it shows (0-1)
interval_ticks: range of ticks between casts
requires_target: does it require a target to cast the spells
range: range a target can be within
line_of_sight: must the target be within sight
windup_ticks: how long it takes before it casts the spell, post windup _sound
windup_sound: define a sound that plays before it casts a spell
spells: defines what spells are casted
(everything below is part of spells)
spell: what spell (required)
level: what level the spell is casted at, supports multiple values
weight: likelyhood it is casted over other options (all spells the same = same chance for any of them.
cooldown_ticks: ticks before it can cast this spell again.
range: allows a spell to be casted only when at a certain range, overrides the default provided earlier
requires_target: does the spell require a target to be casted? (overrides previous default for this spell, great for utility spells a mob may cast.
max_health_pct: percentage of max health of mob for it to be able to cast this spell (0-1)
If you encounter a bug or find a unbalanced part of the mod, feel free to let me know with a comment on the Curseforge page or the Discord and I will do my best to get back to you and find a fix soon.
I've partnered with Wabbanode server hosting to give you guys a way to host a server through their affordable and high quality servers! Click the image to help support me and get yourself and awesome server to run Minecraft and other games aswell! Make sure to use my code "GAMKING" to get yourself a nice 25 percent off!