#Why doesn’t “in” sub command work in /execute

1 messages · Page 1 of 1 (latest)

stone knoll
#

I want to set everyone in the overworld that’s in survival into adventure mode and everyone who’s in the end and in adventure mode into survival mode, but after strenuous testing I find that /execute in __ does NOTHING. Am I doing something wrong or is this a problem everywhere?

hollow shoal
#

Bro use bedrock to check dimension

stone knoll
#

Right now I have two commands:
/execute in overworld as @a[m=survival] run gamemode adventure @s
/execute in the_end as @a[m=adventure] run gamemode survival @s but neither of them work as intended

hollow shoal
#

”in ..” used in tp cmd

stone knoll
#

Do you even know what I’m trying to do

#

I tried making a function that runs in tick.json but it just cycles between survival and adventure for everyone who’s not in creative

hollow shoal
#

/execute as @a[m=s] at @s if block ~ -64 ~ bedrock run gamemode a @s

#

/execute as @a[m=a] at @s unless block ~ -64 ~ bedrock unless block ~ 0~ bedrock run gamemode s @s

stone knoll
#

What is that even supposed to do

#

It’ll sense the bedrock in either dimension and set everyone

#

But

#

It just doesn’t make sense

hollow shoal
stone knoll
#

How is this supposed to work????

#

Am I just supposed to fill absolutely everywhere on y -64 with bedrock???

hollow shoal
#

Checking bedrock below you

stone knoll
#

Just tell me. Does the in subcommand work.

#

Or is it broken.

#

I want it to universally work in these dimensions no matter what

hollow shoal
stone knoll
hollow shoal
hollow shoal
#

You didn't mention it's a sky block !
I thought it's a survival world

hollow shoal
stone knoll
#

Well I can use the obsidian from the end spawn and the ONE bedrock at 0 64 0 in the overworld

#

I’m just so annoyed that “in” doesn’t work

hollow shoal
#

No need for each dimension use each cmd block

stone knoll
hollow shoal
#

/gamemode a @a[rm=0.1,m=s]

stone knoll
#

Also what about EXISTING players in my world

hollow shoal
#

/gamemode s @a[rm=0.1,m=a]

stone knoll
hollow shoal
#

Mm it's a radius but outside

stone knoll
#

Tf

#

OHHHHHHHH

#

I KNOW WHAT “IN” DOES

#

IM SO STUPID

hollow shoal
hollow shoal
stone knoll
#

Yep just realized that

hollow shoal
#

If you want to tp an entity to any other dimensions use ”in”

stone knoll
#

Yyyyyep

hollow shoal
#

Also it convert the nether/overworld distance ratio

stone knoll
#

Now to fix my issue

#

I’ll just use /execute in end at 100 50 0 as @a[m=a,rm=0.1] run gamemode s @s

#

Foolproof

#

Right?

#

100 50 0 is end spawn

hollow shoal
stone knoll
#

The one poor dude in my world doing nothing because I have the world set to invite-only and they’re only there for testing purposes is an absolute G

unreal pier