I've recently returned to a map I made a while ago, and the command blocks aren't working anymore. I gathered from other places that I can use
/execute at @a if block -38 201 -41 air run effect give @p blindness 6 1 true
to make it so that if they go to that block they get the effect, but is there a way to make a radius around this block that would also give the effect?
For XYZ coords, you must insert "positioned" instead of "at", which is only for entities
Rollback Post to RevisionRollBack
I got into chiptune music composition.
You can listen to them on my Youtube channel : https://www.youtube.com/channel/UCjWYbJGk7nvNDbnCvMlZGkw
Descriptions are in french, you'd just need some google translation copy-paste...
Also made some more or less complicated datapacks, shared here (planetminecraft).
I've recently returned to a map I made a while ago, and the command blocks aren't working anymore. I gathered from other places that I can use
to make it so that if they go to that block they get the effect, but is there a way to make a radius around this block that would also give the effect?
Command block engineer // Developer // #TeamTrees
This didn't work. after "at" it needs a target, but the target can only be @a @e @p @r @s or a specific player.
For XYZ coords, you must insert "positioned" instead of "at", which is only for entities
I got into chiptune music composition.
You can listen to them on my Youtube channel :
https://www.youtube.com/channel/UCjWYbJGk7nvNDbnCvMlZGkw
Descriptions are in french, you'd just need some google translation copy-paste...
Also made some more or less complicated datapacks, shared here (planetminecraft).
Right, my bad. I edited my post.
Command block engineer // Developer // #TeamTrees