1

Help version 1.12 commands no longer work the same as in 1.14 or more.

rstar23 6/22/19 4:37 pm
751
6/25/2019 8:58 am
Hello everyone, I tell you my situation. I already advance in advance that I don't fully understand the mechanics of the commands in minecraft but I have certain knowledge.

Before in version 1.12 I used this command on my map:

"/execute @a ~ ~ ~ detect ~ ~-1.8 ~ soul_sand 0 /effect @a wither 6"

With it, I detected a player (or entity if I changed @a by @e) if it was located on top of a specific block and another command was executed, in this case /effect. But now i'm using minecraft version 1.14.1 .

The problem is that with the update at 1.14 the command blocks already say that it is incorrect. I have tried several ways until this command worked at 1.14.1 :
"/execute if entity @a if block ~ ~-1.8 ~ minecraft:soul_sand run effect give @a wither 6"

My problem is that this command only works correctly if I execute it myself, and not if I put it in a command block as before, I have tried more combinations but nothing. Someone would know how to make this command work, in my case I would prefer not to put Scoreboards to make this work, if this is possible, of course, since I would like it to apply to everyone without having a specific characteristic (for example "Deaths, experience , achievements ") to work with any player or entity.

Anyway, I'm waiting for your suggestions on how to make this possible...

Thanks to everyone.
Posted by
rstar23
Level 12 : Journeyman Miner
0

  Have something to say?

JoinSign in

5

unnamedDE
06/22/2019 5:14 pm
Level 50 : Grandmaster Technomancer
The correct version of your command is:

/execute as @a at @s if block ~ ~-1.8 ~ minecraft:soul_sand run effect give @s wither 6

If you have any more questions or need help, feel free to DM me or join my discord server
1
rstar23
06/22/2019 6:16 pm
Level 12 : Journeyman Miner
thanks for answering, it works correctly, thanks!
1
unnamedDE
06/25/2019 8:58 am
Level 50 : Grandmaster Technomancer
history
I created a pre1.13 to 1.13+ execute command converter.

Try it out here

Link to the original post
1
unnamedDE
06/23/2019 12:30 pm
Level 50 : Grandmaster Technomancer
nice that I could help you
1
bhfdh
06/22/2019 4:46 pm
Level 34 : Artisan Creeper Hugger
well, idk how to help you but i can tell you that
1.13 and above kinda fucked the command system and has alot of bugs
so if you want easier command input just play 1.12.2 (best version for me)
1

Welcome