diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-03-30 11:49:59 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-03-30 11:49:59 +0100 |
commit | 31ea183a3b2304b3c05625dc5f3931d0997b7a5f (patch) | |
tree | a8a488de163f0d058e372129f3bd635071e6fb6c | |
parent | e7433813194f0a08689c5c5bb666d69831152798 (diff) |
rename from vanilla_skyblock to original_skyblock
-rw-r--r-- | data/minecraft/tags/functions/load.json | 2 | ||||
-rw-r--r-- | data/minecraft/tags/functions/tick.json | 2 | ||||
-rw-r--r-- | data/original_skyblock/functions/debug.mcfunction (renamed from data/vanilla_skyblock/functions/debug.mcfunction) | 0 | ||||
-rw-r--r-- | data/original_skyblock/functions/hard_coded_structures.mcfunction | 8 | ||||
-rw-r--r-- | data/original_skyblock/functions/initialize.mcfunction (renamed from data/vanilla_skyblock/functions/initialize.mcfunction) | 0 | ||||
-rw-r--r-- | data/original_skyblock/functions/load.mcfunction | 3 | ||||
-rw-r--r-- | data/original_skyblock/functions/tick.mcfunction (renamed from data/vanilla_skyblock/functions/tick.mcfunction) | 0 | ||||
-rw-r--r-- | data/vanilla_skyblock/functions/load.mcfunction | 3 |
8 files changed, 13 insertions, 5 deletions
diff --git a/data/minecraft/tags/functions/load.json b/data/minecraft/tags/functions/load.json index a12c1ab..16f849e 100644 --- a/data/minecraft/tags/functions/load.json +++ b/data/minecraft/tags/functions/load.json @@ -1,5 +1,5 @@ { "values": [ - "vanilla_skyblock:load" + "original_skyblock:load" ] } diff --git a/data/minecraft/tags/functions/tick.json b/data/minecraft/tags/functions/tick.json index b2f7a9e..42ed6d0 100644 --- a/data/minecraft/tags/functions/tick.json +++ b/data/minecraft/tags/functions/tick.json @@ -1,5 +1,5 @@ { "values": [ - "vanilla_skyblock:tick" + "original_skyblock:tick" ] } diff --git a/data/vanilla_skyblock/functions/debug.mcfunction b/data/original_skyblock/functions/debug.mcfunction index 3087cb2..3087cb2 100644 --- a/data/vanilla_skyblock/functions/debug.mcfunction +++ b/data/original_skyblock/functions/debug.mcfunction diff --git a/data/original_skyblock/functions/hard_coded_structures.mcfunction b/data/original_skyblock/functions/hard_coded_structures.mcfunction new file mode 100644 index 0000000..6820809 --- /dev/null +++ b/data/original_skyblock/functions/hard_coded_structures.mcfunction @@ -0,0 +1,8 @@ +schedule original_skyblock/hard_coded_structures/fortress 60s +# for each hard coded structure type +# run a function that schedules itself + +# locate structure (execute in dimension of structure) +# check against checked positions. if not found: +# add position to checked positions array +# remove all blocks associated with structure in appropriate radius diff --git a/data/vanilla_skyblock/functions/initialize.mcfunction b/data/original_skyblock/functions/initialize.mcfunction index 70049af..70049af 100644 --- a/data/vanilla_skyblock/functions/initialize.mcfunction +++ b/data/original_skyblock/functions/initialize.mcfunction diff --git a/data/original_skyblock/functions/load.mcfunction b/data/original_skyblock/functions/load.mcfunction new file mode 100644 index 0000000..0b60a35 --- /dev/null +++ b/data/original_skyblock/functions/load.mcfunction @@ -0,0 +1,3 @@ +scoreboard objectives add original_skyblock_data dummy + +execute unless score initialized original_skyblock_data matches 1 run function original_skyblock:initialize diff --git a/data/vanilla_skyblock/functions/tick.mcfunction b/data/original_skyblock/functions/tick.mcfunction index aadc3f2..aadc3f2 100644 --- a/data/vanilla_skyblock/functions/tick.mcfunction +++ b/data/original_skyblock/functions/tick.mcfunction diff --git a/data/vanilla_skyblock/functions/load.mcfunction b/data/vanilla_skyblock/functions/load.mcfunction deleted file mode 100644 index 9264728..0000000 --- a/data/vanilla_skyblock/functions/load.mcfunction +++ /dev/null @@ -1,3 +0,0 @@ -scoreboard objectives add vanilla_skyblock_data dummy - -execute unless score initialized vanilla_skyblock_data matches 1 run function vanilla_skyblock:initialize |