From 9cf86a103cced6465d59c2d40862931fb135b2a4 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 26 Jul 2024 16:22:15 +0200 Subject: fix load for ocean spawn --- Readme.md | 5 +++++ data/onechunk/function/load.mcfunction | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Readme.md diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..a5f3c46 --- /dev/null +++ b/Readme.md @@ -0,0 +1,5 @@ +### Test Seeds + +#### for initialize timing +- 8290696678945903430 +- 5742209536086326424 diff --git a/data/onechunk/function/load.mcfunction b/data/onechunk/function/load.mcfunction index bda726f..93229bc 100644 --- a/data/onechunk/function/load.mcfunction +++ b/data/onechunk/function/load.mcfunction @@ -1,3 +1,4 @@ scoreboard objectives add onechunk_data dummy -execute unless score $initialized onechunk_data matches 1 run function onechunk:initialize +# wait some ticks before running, for player to spawn on land properly +execute unless score $initialized onechunk_data matches 1 run schedule function onechunk:initialize 5t -- cgit v1.2.3