I've been trying to use a command block on java version 1.14.1 on a realm (yes, command blocks are turned on for the realm) to create an 100 block radius around itself that gives all players resistance 255 for 10 seconds and I have been trying using the commands: effect give @a[distance=..100] resistance 10 255
execute if entity @a[distance=..100] run effect give @a[distance=..100] resistance 10 255
The 2 commands works in 1.14, although the second is same as the first, but longer.
Make sure you use the right configuration, I guess that's the problem... Also make sure the command block is well activated
Rollback Post to RevisionRollBack
If you know there is a contest for winning a minecraft account, I'm interrested!
Otherwise, if you are interrested to buy an account for me in exchange of command/datapack making, I'll be happy to work for you!