Topic category: Help with Minecraft modding (Java Edition)
I basically created a procedure that detects whenever a zombie spawns, and when that happens, it equips them with a random armor from my mod. However, I wanted this to be configurable, so I created a gamerule called "DoZombiesGetArmor." I set it up so that if the gamerule is set to "true," the procedure would work as intended, something like this: "IF get logic game rule DoZombiesGetArmor = true, do this". In any case, it should be functioning properly, but even when the gamerule is set to "false," the zombies still appear with the armor. However, they still catch fire and don't have the armor's protection, so it seems like a cosmetic armor/phantom armor/illusion because they don't actually have the armor, but it still visually appears on their bodies for some reason
try putting the procedure to give them armor in "if(not(is provided world client-side))"
that should fix it.
work on the first try man, thank you!!