Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
Fix #10 - Dungeon corridors stop more frequently than they should
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Jun 27, 2020
1 parent d9ce8c1 commit 82c318d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
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
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 ttb_data/data/ttb/tags/blocks/world/structure/dungeon_safe.json
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"
]
}

0 comments on commit 82c318d

Please sign in to comment.