This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #10 - Dungeon corridors stop more frequently than they should
- Loading branch information
Showing
3 changed files
with
21 additions
and
8 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
...ions/world/structure/large_wooden_snow_dungeon/room/connector/corridor/connect.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
execute if block ~ ~ ~ command_block[facing=north] positioned ~ ~-1 ~-1 if block ~ ~ ~-7 stone run function ttb:world/structure/large_wooden_snow_dungeon/room/connector/corridor/create_north | ||
execute if block ~ ~ ~ command_block[facing=east] positioned ~1 ~-1 ~ if block ~7 ~ ~ stone run function ttb:world/structure/large_wooden_snow_dungeon/room/connector/corridor/create_east | ||
execute if block ~ ~ ~ command_block[facing=south] positioned ~ ~-1 ~1 if block ~ ~ ~7 stone run function ttb:world/structure/large_wooden_snow_dungeon/room/connector/corridor/create_south | ||
execute if block ~ ~ ~ command_block[facing=west] positioned ~-1 ~-1 ~ if block ~-7 ~ ~ stone run function ttb:world/structure/large_wooden_snow_dungeon/room/connector/corridor/create_west | ||
execute if block ~ ~ ~ command_block[facing=north] positioned ~ ~-1 ~-1 if block ~ ~ ~-7 #ttb:world/structure/dungeon_safe run function ttb:world/structure/large_wooden_snow_dungeon/room/connector/corridor/create_north | ||
execute if block ~ ~ ~ command_block[facing=east] positioned ~1 ~-1 ~ if block ~7 ~ ~ #ttb:world/structure/dungeon_safe run function ttb:world/structure/large_wooden_snow_dungeon/room/connector/corridor/create_east | ||
execute if block ~ ~ ~ command_block[facing=south] positioned ~ ~-1 ~1 if block ~ ~ ~7 #ttb:world/structure/dungeon_safe run function ttb:world/structure/large_wooden_snow_dungeon/room/connector/corridor/create_south | ||
execute if block ~ ~ ~ command_block[facing=west] positioned ~-1 ~-1 ~ if block ~-7 ~ ~ #ttb:world/structure/dungeon_safe run function ttb:world/structure/large_wooden_snow_dungeon/room/connector/corridor/create_west | ||
|
||
fill ~ ~ ~ ~ ~1 ~ air replace #ttb:structure_artifact |
8 changes: 4 additions & 4 deletions
8
...a/ttb/functions/world/structure/large_wooden_snow_dungeon/room/corridor/create.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
execute if block ~ ~ ~ command_block[facing=north] positioned ~ ~-1 ~-1 if block ~ ~ ~-7 stone run function ttb:world/structure/large_wooden_snow_dungeon/room/corridor/create_north | ||
execute if block ~ ~ ~ command_block[facing=east] positioned ~1 ~-1 ~ if block ~7 ~ ~ stone run function ttb:world/structure/large_wooden_snow_dungeon/room/corridor/create_east | ||
execute if block ~ ~ ~ command_block[facing=south] positioned ~ ~-1 ~1 if block ~ ~ ~7 stone run function ttb:world/structure/large_wooden_snow_dungeon/room/corridor/create_south | ||
execute if block ~ ~ ~ command_block[facing=west] positioned ~-1 ~-1 ~ if block ~-7 ~ ~ stone run function ttb:world/structure/large_wooden_snow_dungeon/room/corridor/create_west | ||
execute if block ~ ~ ~ command_block[facing=north] positioned ~ ~-1 ~-1 if block ~ ~ ~-7 #ttb:world/structure/dungeon_safe run function ttb:world/structure/large_wooden_snow_dungeon/room/corridor/create_north | ||
execute if block ~ ~ ~ command_block[facing=east] positioned ~1 ~-1 ~ if block ~7 ~ ~ #ttb:world/structure/dungeon_safe run function ttb:world/structure/large_wooden_snow_dungeon/room/corridor/create_east | ||
execute if block ~ ~ ~ command_block[facing=south] positioned ~ ~-1 ~1 if block ~ ~ ~7 #ttb:world/structure/dungeon_safe run function ttb:world/structure/large_wooden_snow_dungeon/room/corridor/create_south | ||
execute if block ~ ~ ~ command_block[facing=west] positioned ~-1 ~-1 ~ if block ~-7 ~ ~ #ttb:world/structure/dungeon_safe run function ttb:world/structure/large_wooden_snow_dungeon/room/corridor/create_west | ||
|
||
fill ~ ~ ~ ~ ~1 ~ air replace #ttb:structure_artifact |
13 changes: 13 additions & 0 deletions
13
ttb_data/data/ttb/tags/blocks/world/structure/dungeon_safe.json
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,13 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"minecraft:stone", | ||
"minecraft:dirt", | ||
"minecraft:andesite", | ||
"minecraft:diorite", | ||
"minecraft:granite", | ||
"minecraft:coal_ore", | ||
"minecraft:iron_ore", | ||
"minecraft:gold_ore" | ||
] | ||
} |