execute @e[tag=Admin] ~ ~ ~ detect ~ ~-1 ~ glass /tp @s -98 134 239
I am tagged as admin, and it is telling me it cannot run 'detect' as me.
Can anyone tell me what I am doing wrong?
I am tagged as admin, and it is telling me it cannot run 'detect' as me.
Can anyone tell me what I am doing wrong?
3
You forgot to add the glass sub-id. Since you don't have multiple types of glass (only stained_glass), you have to use sub-id 0 or -1 (for any).
If you press F3+H and hover over an item, you can find the sub-id behind the slash.
You command should be:
execute @e[tag=Admin] ~ ~ ~ detect ~ ~-1 ~ glass -1 /tp @s -98 134 239
BTW, keep in mind that everything changes around commands in 1.13
If you press F3+H and hover over an item, you can find the sub-id behind the slash.
You command should be:
execute @e[tag=Admin] ~ ~ ~ detect ~ ~-1 ~ glass -1 /tp @s -98 134 239
BTW, keep in mind that everything changes around commands in 1.13
Works! Thank you!
singleplayer, multiplayer, version etc. add more detail to post
