So, for some backstory, I'm building an office building. I want to make it so that, when you enter one cubicle, you get an effect and are unable to see the surrounding cubicles except for the one you're in.
I'm pretty familiar with commands and command blocks, but this stumped me. (I'm on version 1.12.2)
on a Repeat "Always Active" command block. However, no output is given. I have access to the server console on which I am running this, and not a single line is output there either. My interpretation of this is:
This is the command.
This selects the entity I want to execute the ending command, effect.
These are modifiers on @a, specifying who to include. I believe it includes any player from 64, 100, -35 to 67, 11, -34, within a radius of 1. These are the dimensions of the cubicle.
~ ~ ~
These are the coordinates of the entity to execute the final command, effect.
The identity of the entity to execute the final command.
effect minecraft:blindness 2 2
The command to be executed by the aforementioned entity.
Despite trying this numerous times with many different coordinate sets (even using relative coords), I was unable to get it to work.
(EDIT: I tried this with just one set of coordinates, and it worked flawlessly. I'm now certain that my problem lies in that second set of coordinates, maybe they don't work how I think they do?)
If some part of my understanding of the command is incorrect, please do tell me, as I'm trying to make this work. Thanks!