Currently, the random effect granted for enemy upon spawning cannot be nulled and must have a single effect, this makes the option where there's a guarantee potion effect for an enemy if the developer doesn't want to have one.
Versions: 1.18 and 1.19
Something like this:
randomEffects = [".9=null", ".5=minecraft:speed,1", ".3=minecraft:speed,2", ".1=minecraft:speed,3"]
Currently, the random effect granted for enemy upon spawning cannot be nulled and must have a single effect, this makes the option where there's a guarantee potion effect for an enemy if the developer doesn't want to have one.
Versions: 1.18 and 1.19
Something like this:
randomEffects = [".9=null", ".5=minecraft:speed,1", ".3=minecraft:speed,2", ".1=minecraft:speed,3"]