Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("nbt")
- local x, y, z = -300008, 70, 5186
- p = peripheral.wrap("right")
- worlds = p.getLoadedWorlds()
- w = p.getWorld(0)
- --print(w)
- --print(p.getPeripheralWorldID())
- --Create a chest
- --w.setBlock(x, y, z, 54, 0)
- while true do
- ID = w.getBlockID(x, y, z)
- print(ID)
- sleep(5)
- isLoaded = w.isChunkLoaded(x, z)
- print(isLoaded)
- w.setBlock(x, 70, z, 54, 0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement