Minecraft – How to /testforblock in the overworld from the nether

minecraft-commandsminecraft-java-edition

Now I already know how to do the setup for the chambers for both sides, but my problem is when the chamber is closed off and the door to the portal is open from one side, the door on the other side might be closed making it impossible to get through whatever side you're trying to get to.

At first I tried experimenting with the command in the overworld like this:

/testforblock x y z minecraft:stone_button 2 {Dimension:-1}

But it didnt work out.

What I'm trying to get at is when you open the door to the portal you're also opening it from the other side as well closing the chambers and vice versa.

Best Answer

Sorry, but it's not possible. You would have to have both the Nether and Overworld loaded at the same time.

I tested it by using /execute to an armor stand in the Nether from the Overworld. So the problem is the Nether not being loaded when you're in the Overworld.