summaryrefslogtreecommitdiff
path: root/data/original_skyblock
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-06-23 00:31:40 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-06-23 00:32:19 +0200
commit9104556192e966c52b28c2e95e3e9692ed8e7932 (patch)
tree6254218c717f41eb76da3e13f86c1a3c30671bf7 /data/original_skyblock
parent86819f1942d1f703d010f93a4c505047b7a358af (diff)
1.21 update && overwrite some hard-coded structures :]
Diffstat (limited to 'data/original_skyblock')
-rw-r--r--data/original_skyblock/function/debug.mcfunction23
-rw-r--r--data/original_skyblock/function/initialize.mcfunction (renamed from data/original_skyblock/functions/initialize.mcfunction)25
-rw-r--r--data/original_skyblock/function/load.mcfunction3
-rw-r--r--data/original_skyblock/functions/debug.mcfunction8
-rw-r--r--data/original_skyblock/functions/hard_coded_structures.mcfunction8
-rw-r--r--data/original_skyblock/functions/load.mcfunction3
-rw-r--r--data/original_skyblock/functions/tick.mcfunction7
-rw-r--r--data/original_skyblock/structure/bastion_chest.nbtbin0 -> 3517 bytes
-rw-r--r--data/original_skyblock/structure/empty_16.nbtbin0 -> 10278 bytes
-rw-r--r--data/original_skyblock/structure/empty_full.nbtbin0 -> 293225 bytes
-rw-r--r--data/original_skyblock/structure/end_portal.nbtbin0 -> 289 bytes
-rw-r--r--data/original_skyblock/worldgen/template_pool/fortress.json15
-rw-r--r--data/original_skyblock/worldgen/template_pool/stronghold.json15
13 files changed, 76 insertions, 31 deletions
diff --git a/data/original_skyblock/function/debug.mcfunction b/data/original_skyblock/function/debug.mcfunction
new file mode 100644
index 0000000..3f336b5
--- /dev/null
+++ b/data/original_skyblock/function/debug.mcfunction
@@ -0,0 +1,23 @@
+gamemode creative
+
+
+
+# create nether portal
+
+fill -1 63 -2 2 63 -2 obsidian
+fill -1 63 -2 -1 68 -2 obsidian
+fill 2 63 -2 2 68 -2 obsidian
+fill -1 68 -2 2 68 -2 obsidian
+
+fill 0 64 -2 1 67 -2 nether_portal
+
+
+
+# create end portal
+
+fill 5 63 1 5 63 -1 end_portal_frame
+fill 6 63 2 8 63 2 end_portal_frame
+fill 6 63 -2 8 63 -2 end_portal_frame
+fill 9 63 1 9 63 -1 end_portal_frame
+
+fill 6 63 1 8 63 -1 end_portal
diff --git a/data/original_skyblock/functions/initialize.mcfunction b/data/original_skyblock/function/initialize.mcfunction
index 70049af..36cf8ce 100644
--- a/data/original_skyblock/functions/initialize.mcfunction
+++ b/data/original_skyblock/function/initialize.mcfunction
@@ -2,14 +2,18 @@ setworldspawn 0 64 0
gamerule spawnRadius 0
+
# starting island
+
+execute in overworld run forceload add -1 -1 1 1
+execute in overworld run forceload remove -1 -1 1 1
+
execute in overworld run fill 4 63 -1 -1 63 1 grass_block
execute in overworld run fill 4 62 -1 -1 61 1 dirt
execute in overworld run fill 1 63 2 -1 63 4 grass_block
execute in overworld run fill 1 62 2 -1 61 4 dirt
execute in overworld run setblock 0 61 0 bedrock
-#execute in overworld run fill -1 64 4 -1 69 3 oak_log
execute in overworld run place feature oak -1 64 4
execute in overworld run setblock 4 64 0 chest[facing=west]
@@ -17,7 +21,12 @@ execute in overworld run item replace block 4 64 0 container.0 with ice 1
execute in overworld run item replace block 4 64 0 container.1 with lava_bucket 1
+
# sand island
+
+execute in overworld run forceload add -63 -1 -65 1
+execute in overworld run forceload remove -63 -1 -65 1
+
execute in overworld run fill -63 64 -1 -65 66 1 sand
execute in overworld run fill -63 63 -1 -65 63 1 sandstone
execute in overworld run setblock -65 67 1 cactus
@@ -28,8 +37,12 @@ execute in overworld run item replace block -64 67 0 container.1 with melon_slic
execute in overworld run item replace block -64 67 0 container.2 with pumpkin_seeds 1
+
+
# nether
+
execute in the_nether run forceload add -1 -1 1 1
+execute in the_nether run forceload remove -1 -1 1 1
execute in the_nether run fill -1 61 1 1 63 -1 glowstone
@@ -41,21 +54,23 @@ execute in the_nether run item replace block 1 64 -1 container.2 with ice 1
execute in the_nether run setblock 1 64 0 brown_mushroom
execute in the_nether run setblock -1 64 1 red_mushroom
-# place portal last to keep mushroom placement from breaking half the portal initially
+# place portal last to keep mushroom placement from breaking half the portal initially (not working though)
execute in the_nether run fill 2 63 0 2 63 1 obsidian
execute in the_nether run fill 2 64 2 2 66 2 obsidian
execute in the_nether run fill 2 67 0 2 67 1 obsidian
execute in the_nether run fill 2 64 -1 2 66 -1 obsidian
execute in the_nether run fill 2 64 0 2 66 1 nether_portal
-execute in the_nether run forceload remove -1 -1 1 1
# end
+
execute in the_end run forceload add -1 -1 1 1
-execute in the_end run setblock 0 61 0 bedrock
execute in the_end run forceload remove -1 -1 1 1
+execute in the_end run setblock 0 61 0 bedrock
+
+
# set flag
-scoreboard players set initialized vanilla_skyblock_data 1
+scoreboard players set $initialized original_skyblock_data 1
diff --git a/data/original_skyblock/function/load.mcfunction b/data/original_skyblock/function/load.mcfunction
new file mode 100644
index 0000000..e65cbab
--- /dev/null
+++ b/data/original_skyblock/function/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/original_skyblock/functions/debug.mcfunction b/data/original_skyblock/functions/debug.mcfunction
deleted file mode 100644
index 3087cb2..0000000
--- a/data/original_skyblock/functions/debug.mcfunction
+++ /dev/null
@@ -1,8 +0,0 @@
-# create nether portal
-fill -1 63 -2 2 63 -2 obsidian
-fill -1 63 -2 -1 68 -2 obsidian
-fill 2 63 -2 2 68 -2 obsidian
-fill -1 68 -2 2 68 -2 obsidian
-
-# add flint_and_steel to chest
-execute in overworld run item replace block 4 64 0 container.2 with flint_and_steel 1
diff --git a/data/original_skyblock/functions/hard_coded_structures.mcfunction b/data/original_skyblock/functions/hard_coded_structures.mcfunction
deleted file mode 100644
index 6820809..0000000
--- a/data/original_skyblock/functions/hard_coded_structures.mcfunction
+++ /dev/null
@@ -1,8 +0,0 @@
-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/original_skyblock/functions/load.mcfunction b/data/original_skyblock/functions/load.mcfunction
deleted file mode 100644
index 0b60a35..0000000
--- a/data/original_skyblock/functions/load.mcfunction
+++ /dev/null
@@ -1,3 +0,0 @@
-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/original_skyblock/functions/tick.mcfunction b/data/original_skyblock/functions/tick.mcfunction
deleted file mode 100644
index aadc3f2..0000000
--- a/data/original_skyblock/functions/tick.mcfunction
+++ /dev/null
@@ -1,7 +0,0 @@
-# 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
diff --git a/data/original_skyblock/structure/bastion_chest.nbt b/data/original_skyblock/structure/bastion_chest.nbt
new file mode 100644
index 0000000..80b57df
--- /dev/null
+++ b/data/original_skyblock/structure/bastion_chest.nbt
Binary files differ
diff --git a/data/original_skyblock/structure/empty_16.nbt b/data/original_skyblock/structure/empty_16.nbt
new file mode 100644
index 0000000..3eddcb6
--- /dev/null
+++ b/data/original_skyblock/structure/empty_16.nbt
Binary files differ
diff --git a/data/original_skyblock/structure/empty_full.nbt b/data/original_skyblock/structure/empty_full.nbt
new file mode 100644
index 0000000..59af38e
--- /dev/null
+++ b/data/original_skyblock/structure/empty_full.nbt
Binary files differ
diff --git a/data/original_skyblock/structure/end_portal.nbt b/data/original_skyblock/structure/end_portal.nbt
new file mode 100644
index 0000000..384e613
--- /dev/null
+++ b/data/original_skyblock/structure/end_portal.nbt
Binary files differ
diff --git a/data/original_skyblock/worldgen/template_pool/fortress.json b/data/original_skyblock/worldgen/template_pool/fortress.json
new file mode 100644
index 0000000..3e33fb1
--- /dev/null
+++ b/data/original_skyblock/worldgen/template_pool/fortress.json
@@ -0,0 +1,15 @@
+{
+ "name": "original_skyblock:fortress",
+ "fallback": "minecraft:empty",
+ "elements": [
+ {
+ "weight": 1,
+ "element": {
+ "element_type": "minecraft:single_pool_element",
+ "location": "original_skyblock:empty_full",
+ "projection": "rigid",
+ "processors": "minecraft:empty"
+ }
+ }
+ ]
+}
diff --git a/data/original_skyblock/worldgen/template_pool/stronghold.json b/data/original_skyblock/worldgen/template_pool/stronghold.json
new file mode 100644
index 0000000..c22e6a1
--- /dev/null
+++ b/data/original_skyblock/worldgen/template_pool/stronghold.json
@@ -0,0 +1,15 @@
+{
+ "name": "original_skyblock:stronghold",
+ "fallback": "minecraft:empty",
+ "elements": [
+ {
+ "weight": 1,
+ "element": {
+ "element_type": "minecraft:single_pool_element",
+ "location": "original_skyblock:end_portal",
+ "projection": "rigid",
+ "processors": "minecraft:empty"
+ }
+ }
+ ]
+}