So when I put the command " /execute @e[type=player] ~ ~ ~ detect ~ ~-1 ~ minecraft:glass "any command" "
It always do the command when i stand on any glass block, I just want to know if there is a way to make it only 1 block if you stand on it you will run the command on the "/execute"
The Meaning of Life, the Universe, and Everything.
Join Date:
12/29/2014
Posts:
44
Minecraft:
GGFreshest
Member Details
I don't fully understand what you are asking for help with. I do know, however, that you don't need @e[type=Player], just do @a. What do you mean by "make it only 1 block"? Are you asking how to specify the block, or the color of the block, or other? If you want the color of the block just put that number right after the glass.
Example:
If you want black stained glass, which is identified as stained_glass 15, you just need to do this:
I mean, If I typed "/execute @e[type=player] ~ ~ ~ detect ~ ~-1 ~ minecraft:glass 15 <insert command here>" it will detect everyone block with the ID : Glass 15 , But what I want is, I want it to detect only 1 block, For example: I want it to detect the block in the cords : 12 12 14.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello there!
So when I put the command " /execute @e[type=player] ~ ~ ~ detect ~ ~-1 ~ minecraft:glass "any command" "
It always do the command when i stand on any glass block, I just want to know if there is a way to make it only 1 block if you stand on it you will run the command on the "/execute"
Thanks
I don't fully understand what you are asking for help with. I do know, however, that you don't need @e[type=Player], just do @a. What do you mean by "make it only 1 block"? Are you asking how to specify the block, or the color of the block, or other? If you want the color of the block just put that number right after the glass.
Example:
If you want black stained glass, which is identified as stained_glass 15, you just need to do this:
/execute @e[type=player] ~ ~ ~ detect ~ ~-1 ~ minecraft:glass 15 <insert command here>
to find the number, in this case 15, do F3 + H to show advanced tooltips, and hover over the item.
If this does not help you, please specify what the actual question you are asking is. With more detail please.
I mean, If I typed "/execute @e[type=player] ~ ~ ~ detect ~ ~-1 ~ minecraft:glass 15 <insert command here>" it will detect everyone block with the ID : Glass 15 , But what I want is, I want it to detect only 1 block, For example: I want it to detect the block in the cords : 12 12 14.