Thelnfamous1 / Better-Mob-Combat

An add-on mod to Better Combat that allows it to work with (humanoid) mobs.
Creative Commons Zero v1.0 Universal
5 stars 2 forks source link

Blacklist "whitelist" does not work for Guard Villagers #24

Open seefourr opened 2 months ago

seefourr commented 2 months ago

For some reason when I put "guardvillagers:guard" in the config backlist and set the "use blacklist as whitelist" field to true, the guard villagers do not use the better mob combat animations.

However, leaving the field as a blacklist and empty does result in all mobs using the mob animations, and putting only "minecraft:zombified_piglin" in the list and setting it to a whitelist results in only zombified piglins using the better combat animations.

This is an issue because in my server I intend to have only the guard villagers use the better combat as I don't like hostile mobs using it, but I don't think adding every hostile mob in a large modpack manually to the list is a very feasible solution. Alternatively, some sort of regex implementation for the blacklist could be helpful, e.g. "minecraft:*" blacklists all minecraft mobs etc, although I don't know if you already have this implemented as it wasn't working for me.

This may still be some sort of mod conflict issue, though i don't think so as the guard villagers did use the better combat when the blacklist was empty

Thelnfamous1 commented 1 month ago

Do you have any mods that alter the attack AI of guard villagers?

Thelnfamous1 commented 1 month ago

I have verified in my development modpack that when Guard Villagers are whitelisted, they do in fact utilize the Better Combat system. I suggest figuring out which mod in your pack alters the attack AI of Guard Villagers.