Skip to content

Instantly share code, notes, and snippets.

@intsuc
Last active September 18, 2019 12:29
Show Gist options
  • Save intsuc/f5b9efd2474680f679ceb9cb8e8dc707 to your computer and use it in GitHub Desktop.
Save intsuc/f5b9efd2474680f679ceb9cb8e8dc707 to your computer and use it in GitHub Desktop.
dimension chunk loader
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]

/function init

execute in minecraft:overworld positioned 1000000 0 0 run function load
execute in minecraft:overworld setblock 1000000 0 0 minecraft:stone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment