Multiverse-Core

Multiverse-Core

6M Downloads

how do i make world specific command blocks

sexibatka opened this issue ยท 2 comments

commented

Information

Help request

Problem
I am trying to figure out how to make command blocks world specific

What I have tried
nothing

Screenshots

commented

To only target entities in a specific world, you can use their WorldUUIDMost in a command like this:
/tell @e[nbt={WorldUUIDMost:[WorldUUIDMost]} hello
where you replace [WorldUUIDMost] with that world's UUIDMost. To find a world's UUIDMost, go to that world and run the command:
/data get entity @s WorldUUIDMost
This will return a number into the chat like:
25678193678189L
Just use this value (including the L at the end) to replace [WorldUUIDMost], and the command should only affect entities in the world you want. If any part of this doesn't work for you or you need help understanding, don't hesitate to ask.

commented

As of now and probably for the near future, mv won't touch how command block works. I will mark it duplicate of #1983