home Forumsplay_arrow Help play_arrow Java Edition


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

1 emeralds5 replies118 views
created 06/22/2019 4:37 pm by rstar23
last reply 06/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 avatar
Level 1 : New Miner

comment Login or register to post a reply.

5 replies

06/22/2019 5:14 pm
Level 16 : Journeyman Button Pusher
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
06/22/2019 6:16 pm
Level 1 : New Miner
thanks for answering, it works correctly, thanks!
06/25/2019 8:58 amhistory
Level 16 : Journeyman Button Pusher
I created a pre1.13 to 1.13+ execute command converter.

Try it out here

Link to the original post
06/23/2019 12:30 pm
Level 16 : Journeyman Button Pusher
nice that I could help you
06/22/2019 4:46 pm
Level 25 : Expert Nerd
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)

Planet Minecraft



© 2010 - 2019