Last active
August 22, 2019 15:13
-
-
Save intsuc/ab585cd38cc95dac96f4d6821b2fd40d to your computer and use it in GitHub Desktop.
5x5 forceload chunk loader (1.14.4)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scoreboard objectives add forceloader dummy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execute store result score target_chunk_forced forceloader run forceload add ~ ~ | |
execute if score target_chunk_forced forceloader matches 1 positioned ~16 ~ ~ run function request_chunk | |
function on_chunks_loaded | |
execute if score target_chunk_forced forceloader matches 1 run forceload remove ~ ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fill ~-32 ~ ~-32 ~32 ~ ~32 minecraft:stone |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execute store result score requested_chunk_not_forced forceloader run forceload remove ~ ~ | |
forceload add ~ ~ | |
execute if score requested_chunk_not_forced forceloader matches 0 run forceload remove ~ ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment