Misty World

Misty World

512k Downloads

[SUGGESTION] Blacklist for mobs not affected by acid

DevTimur opened this issue ยท 7 comments

commented

Please add blacklist config for mobs that is will not be affected by mist and acid rain.

commented

Once again I want to ask to add configurable list of mobs not being affected by mist.

commented

Oh! Sorry for not answering ...
I'm very busy with the port of the mod for version 1.16.5, so I don't really want to be distracted.
However, to make any mobs immune to fog, you can simply use the damage event.
Just cancel the "mist.in_fog" or "mist.dissolution" damage for specific mobs.

commented

It apears he used Crafttweaker script to prevent damage

Here is link to a script he used to protect certain mobs from receiving damage. I will leave it here for anyone with same issue:
https://github.com/thephoenixlodge/Heavens-of-Sorcery/blob/1fe701a215d77310b62bd611818cd679b4f28df4/scripts/mist_damage.zs

commented

How can i do that?
I want to prevent mobs from other mod from suffocation.

commented

Thephoenixlodge did it.
I think you can ask him.
He is on the MW discord server )))

commented

Oops...
The script worked fine, i will close this issue.

commented

I also expanded script by adding additional check for DISSOLUTION damage

image

That prevented mobs from getting damage by rain aswell