/function init
execute in minecraft:overworld positioned 1000000 0 0 run function load
execute in minecraft:overworld setblock 1000000 0 0 minecraft:stone
execute in minecraft:the_nether run forceload add 0 0 |
execute in minecraft:the_nether run summon minecraft:armor_stand 0.0 0.0 0.0 {UUIDMost: 0L, UUIDLeast: 0L, Tags: ["loader"], Invisible: true, Marker: true} | |
execute positioned ~-8.0 0.0 ~-8.0 positioned ~72057594067927952.0 0.0 ~72057594067927952.0 positioned ~-72057594067927952.0 0.0 ~-72057594067927952.0 positioned ~8.0 0.0 ~8.0 run function midpoint |
teleport 0-0-0-0-0 ~ 0.0 ~ | |
execute positioned ~-0.5 -0.5 ~-0.5 run kill @e[dx=0.0, tag=loader] |