#Get world player is in

1 messages · Page 1 of 1 (latest)

strong patio
#

I'm trying to execute things depending on what dimension the player is, I'm trying this:

execute as @a at @s in minecraft:overworld if entity @s[distance=..0]

but the problem is: it is returning true on the end

do y'all know why?

PS: doing execute as @a at @s in minecraft:overworld if entity @s[x=0] seems to return true on every dimension (didn't test a lot)

indigo acornBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

#
⚠️ You already have a question open!

Don't forget to close or resolve your old questions once you're done with them. It makes our lives much easier! :D

Open question: #1214315509122863225

raven vault
#

I think it would be execute if dimension minecraft:overworld

#

Execute in just runs in the context of being positioned in that dimension

strong patio
#

helped me a lot

#

thanks

#

I was almost 1 hour into this lol

placid sonnet
indigo acornBOT
# strong patio thanks
🎗️ Is your question resolved?

If your question is resolved, that's great to hear! Make sure to run /resolve or click the Resolve Question button. Otherwise, feel free to continue asking for help! :D