works with 1.19
for multi dimensional use on bukkit, spigot or paper, you should add those dimensions by adding more "execute in ..." commands
1.19 uses another datatype than 1.16 - 1,18
changelog:
The type of the field Id in the mob effect structure (for example, in the ActiveEffects list on entities) has been changed from byte to int