-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Delay onServer/Instance check by 1t from load and flag setup by 2t fr…
…om load (0.13.35)
- 0.15.5
- 0.15.4
- 0.15.3
- 0.15.2
- 0.15.0
- 0.14.43
- 0.14.42
- 0.14.41
- 0.14.40
- 0.14.39
- 0.14.38
- 0.14.37
- 0.14.36
- 0.14.35
- 0.14.34
- 0.14.33
- 0.14.32
- 0.14.31
- 0.14.30
- 0.14.29
- 0.14.28
- 0.14.27
- 0.14.26
- 0.14.25
- 0.14.24
- 0.14.23
- 0.14.22
- 0.14.21
- 0.14.20
- 0.14.19
- 0.14.18
- 0.14.17
- 0.14.16
- 0.14.15
- 0.14.14
- 0.14.13
- 0.14.12
- 0.14.11
- 0.14.10
- 0.14.9
- 0.14.7
- 0.14.5
- 0.14.4
- 0.14.3
- 0.14.2
- 0.14.1
- 0.14.0
- 0.13.38
- 0.13.37
- 0.13.36
- 0.13.35
Showing
5 changed files
with
87 additions
and
83 deletions.
There are no files selected for viewing
75 changes: 75 additions & 0 deletions
75
Brilliance Datapack/data/do2/functions/dungeon_setup/source_flag_setup.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# If server has is-dungeon-instance, than set worldspawn to be the deck area. | ||
# Otherwise set worldspawn to be the portal | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setworldspawn -524 103 2167 | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setworldspawn -547 115 1980 | ||
|
||
# If server has is-dungeon-instance, unlock the iron door. NOTE: If it's on the server, only one use | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -551 119 1977 minecraft:redstone_block | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -551 119 1977 air | ||
|
||
# If server has is-dungeon-instance, create fall chamber. | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -548 70 1979 minecraft:glass | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -548 70 1981 minecraft:glass | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -548 71 1978 minecraft:glass | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -548 71 1982 minecraft:glass | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -549 71 1979 minecraft:glass | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -549 71 1981 minecraft:glass | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -548 72 1979 minecraft:glass | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -548 72 1981 minecraft:glass | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -548 71 1981 minecraft:command_block[conditional=false,facing=west]{Command:"log-event spawnpoint-recovery-button 1"} | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -548 71 1979 minecraft:command_block[conditional=false,facing=west]{Command:"/tp @p -547 114 1980"} | ||
execute if score $dungeon do2.utility.onInstance matches 1 run fill -546 72 1980 -546 70 1980 minecraft:bamboo_mosaic | ||
execute if score $dungeon do2.utility.onInstance matches 1 run fill -547 72 1979 -547 70 1979 minecraft:bamboo_mosaic | ||
execute if score $dungeon do2.utility.onInstance matches 1 run fill -548 72 1980 -548 70 1980 minecraft:bamboo_mosaic | ||
execute if score $dungeon do2.utility.onInstance matches 1 run fill -547 72 1981 -547 70 1981 minecraft:bamboo_mosaic | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -547 70 1980 minecraft:bamboo_mosaic_slab[type=bottom,waterlogged=true] | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -547 71 1980 minecraft:stone_button[face=wall,facing=east] | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -547 72 1980 minecraft:bamboo_wall_sign[facing=east]{front_text:{color:"black",has_glowing_text:0b,messages:['{"text":"If you need to"}','{"text":"use this button"}','{"text":"please tell one"}','{"text":"of the staff"}']},is_waxed:0b} | ||
execute if score $dungeon do2.utility.onInstance matches 1 run fill -546 109 1980 -546 73 1980 minecraft:glass | ||
execute if score $dungeon do2.utility.onInstance matches 1 run fill -547 109 1979 -547 73 1979 minecraft:glass | ||
execute if score $dungeon do2.utility.onInstance matches 1 run fill -548 109 1980 -548 73 1980 minecraft:glass | ||
execute if score $dungeon do2.utility.onInstance matches 1 run fill -547 109 1981 -547 73 1981 minecraft:glass | ||
execute if score $dungeon do2.utility.onInstance matches 1 run fill -547 111 1981 -547 110 1979 minecraft:bamboo_mosaic | ||
execute if score $dungeon do2.utility.onInstance matches 1 run fill -548 111 1980 -548 110 1980 minecraft:bamboo_mosaic | ||
execute if score $dungeon do2.utility.onInstance matches 0 run fill -548 111 1980 -548 73 1980 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run fill -547 111 1981 -547 73 1981 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run fill -546 109 1980 -546 73 1980 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run fill -547 111 1979 -547 73 1979 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run fill -547 111 1980 -547 110 1980 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run fill -549 72 1978 -546 70 1982 air | ||
|
||
# If server has is-dungeon-instance, create card selection station. | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -551 115 1982 minecraft:warped_wall_sign[facing=north,waterlogged=false]{back_text:{color:"black",has_glowing_text:0b,messages:['{"text":""}','{"text":""}','{"text":""}','{"text":""}']},front_text:{color:"light_gray",has_glowing_text:1b,messages:['{"text":"Card selection"}','{"text":"station. Push"}','{"text":"button to get"}','{"text":"the shulker back."}']},is_waxed:0b} | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -551 114 1982 minecraft:warped_button[face=wall,facing=north,powered=false] | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -551 112 1982 minecraft:tinted_glass | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -551 111 1982 minecraft:redstone_lamp[lit=true] | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -551 111 1981 minecraft:redstone_block | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -552 112 1982 minecraft:deepslate_tiles | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -551 112 1983 minecraft:deepslate_tiles | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -551 112 1984 minecraft:deepslate_tiles | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -552 113 1983 minecraft:deepslate_tiles | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -552 113 1984 minecraft:deepslate_tiles | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -551 115 1984 minecraft:deepslate_tiles | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -551 114 1984 minecraft:note_block[instrument=harp,note=0,powered=false] | ||
execute if score $dungeon do2.utility.onInstance matches 1 run setblock -551 113 1984 minecraft:sticky_piston[extended=false,facing=north] | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -551 115 1982 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -551 114 1982 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -551 112 1982 minecraft:polished_basalt[axis=x] | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -551 111 1982 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -551 111 1981 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -552 112 1982 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -551 112 1983 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -551 112 1984 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -552 113 1983 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -552 113 1984 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -551 115 1984 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -551 114 1984 air | ||
execute if score $dungeon do2.utility.onInstance matches 0 run setblock -551 113 1984 air | ||
|
||
# If server has is-dungeon-instance, create manual shulker breaker. | ||
execute if score $dungeon do2.utility.onServer matches 1 run setblock -562 116 1982 minecraft:warped_wall_sign[facing=east,waterlogged=false]{back_text:{color:"black",has_glowing_text:0b,messages:['{"text":""}','{"text":""}','{"text":""}','{"text":""}']},front_text:{color:"white",has_glowing_text:1b,messages:['{"text":"<-- Press button"}','{"text":"if in adventure"}','{"text":"mode and can\'t"}','{"text":"break shulker"}']},is_waxed:0b} | ||
execute if score $dungeon do2.utility.onServer matches 1 run setblock -562 116 1983 minecraft:warped_button[face=wall,facing=east,powered=false] | ||
execute if score $dungeon do2.utility.onServer matches 1 run setblock -564 116 1983 minecraft:redstone_wire[east=side,north=none,power=0,south=none,west=side] | ||
execute if score $dungeon do2.utility.onServer matches 0 run setblock -562 116 1982 air | ||
execute if score $dungeon do2.utility.onServer matches 0 run setblock -562 116 1983 air | ||
execute if score $dungeon do2.utility.onServer matches 0 run setblock -564 116 1983 air |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...iance Datapack/data/do2/functions/scoreboard/setup/tracked_out_config_defaults.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# DATAPACK VERSION NUMBER: 0.13.34 | ||
# DATAPACK VERSION NUMBER: 0.13.35 | ||
|
||
tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.13.34§r] Check latest version "},{"text":"§o§b§nhere§r","clickEvent":{"action":"open_url","value":"https://github.com/trackedout/Brilliance/blob/main/Brilliance%20Datapack/data/do2/functions/version.mcfunction"}},{"text":"."}] | ||
tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.13.35§r] Check latest version "},{"text":"§o§b§nhere§r","clickEvent":{"action":"open_url","value":"https://github.com/trackedout/Brilliance/blob/main/Brilliance%20Datapack/data/do2/functions/version.mcfunction"}},{"text":"."}] |