summaryrefslogtreecommitdiff
path: root/data/vanilla_skyblock/functions/tick.mcfunction
diff options
context:
space:
mode:
Diffstat (limited to 'data/vanilla_skyblock/functions/tick.mcfunction')
-rw-r--r--data/vanilla_skyblock/functions/tick.mcfunction15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/vanilla_skyblock/functions/tick.mcfunction b/data/vanilla_skyblock/functions/tick.mcfunction
new file mode 100644
index 0000000..5e32c7a
--- /dev/null
+++ b/data/vanilla_skyblock/functions/tick.mcfunction
@@ -0,0 +1,15 @@
+# get render distance
+# for each current chunk +- render distance (and not in scoreboard)
+ # check for end_portal_frame
+ # get positions
+ # fill chunk with air
+ # re-place end_portal_frame
+ # set scoreboard values to 1 for processed chunk
+
+execute in the_nether unless score initialized_nether vanilla_skyblock_data matches 1 run function vanilla_skyblock:initialize_nether
+
+execute in the_nether unless score initialized_nether vanilla_skyblock_data matches 1 run tellraw @a "COOL"
+execute unless score initialized_nether vanilla_skyblock_data matches 1 run tellraw @a "COOL!!"
+
+execute in overworld run tellraw @a "OI!!O"
+execute in the_nether run tellraw @a "OI!!N"