Posted 25 March 2020 - 06:22 AM
Hello guys, I'm now writing a program using rednet to control turtles, and now I need to detech which dimension & world my turtle is inside, so that they can avoid to abuse the coordinate information in the other world.
Is there some mechanism to implement a function like following ?
Is there some mechanism to implement a function like following ?
local result = detectWorld()
print(result.dimensionName) -- "overworld" / "the nether" / "the end"
print(result.worldName) -- "world" / "DIM1" / ...