summaryrefslogtreecommitdiff
path: root/data/vanilla_skyblock/function/initialize.mcfunction
blob: 51615c1c0fa72048f32bd91ff8b202aecad07e30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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 place feature oak -1 64 4

execute in overworld run setblock 4 64 0 chest[facing=west]
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
execute in overworld run item replace block 4 64 0 container.25 with sweet_berries 1
execute in overworld run item replace block 4 64 0 container.26 with glow_berries 1
#execute in overworld run item replace block 4 64 0 container.17 with obsidian 10



# 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 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[axis=z]

execute in the_nether run fill 1 63 -1 1 63 2 glowstone
execute in the_nether run fill 3 63 -1 3 63 2 glowstone

execute in the_nether run setblock 1 64 -1 chest[facing=west]
execute in the_nether run item replace block 1 64 -1 container.0 with nether_wart 1



# end

execute in the_end run forceload add -1 -1 112 0
execute in the_end run forceload remove -1 -1 112 0

execute in the_end run setblock 0 61 0 bedrock

execute in the_end run setblock 112 48 0 obsidian
execute in the_end run setblock 112 49 0 chest[facing=west]
execute in the_end run item replace block 112 49 0 container.0 with chorus_flower 1



# set flag
scoreboard players set $initialized vanilla_skyblock_data 1