How to /testforblock in the overworld from the nether

How to /testforblock in the overworld from the nether - Served table with plates and candles

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.




Pictures about "How to /testforblock in the overworld from the nether"

How to /testforblock in the overworld from the nether - A Hand Filling Up the Form Beside the Laptop
How to /testforblock in the overworld from the nether - Unrecognizable Couple Looking at Waterfall Coming from Rock
How to /testforblock in the overworld from the nether - Blue and White Fur Textile



How do I teleport to the overworld from the nether?

  • Use the following command to summon a Nether Portal block. /setblock ~ ~ ~ nether_portal.
  • You will immediately be registered as in the Nether Portal, and teleport to the Nether.
  • Light a nether portal normally or run the above command again and it will take you to the Overworld.


  • How do you get back to the overworld in Minecraft?

    HOW DO I GO BACK TO THE OVERWORLD | Fandom. if you're playing single player, typing /tpx 0 should send you to the overworld spawn.




    More answers regarding how to /testforblock in the overworld from the nether

    Answer 2

    This is trivial in Minecraft 1.13:

    /execute in overworld if block x y z minecraft:stone_button
    

    (/testforblock no longer exists; it was merged into /execute)

    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Name Name, Karolina Grabowska, Guryan, Mikhail Nilov