diff --git a/ttb_data/data/ttb/functions/world/structure/large_wooden_snow_dungeon/room/connector/corridor/connect.mcfunction b/ttb_data/data/ttb/functions/world/structure/large_wooden_snow_dungeon/room/connector/corridor/connect.mcfunction index 260391e3..3573274d 100644 --- a/ttb_data/data/ttb/functions/world/structure/large_wooden_snow_dungeon/room/connector/corridor/connect.mcfunction +++ b/ttb_data/data/ttb/functions/world/structure/large_wooden_snow_dungeon/room/connector/corridor/connect.mcfunction @@ -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 diff --git a/ttb_data/data/ttb/functions/world/structure/large_wooden_snow_dungeon/room/corridor/create.mcfunction b/ttb_data/data/ttb/functions/world/structure/large_wooden_snow_dungeon/room/corridor/create.mcfunction index 16dc64e8..2d339628 100644 --- a/ttb_data/data/ttb/functions/world/structure/large_wooden_snow_dungeon/room/corridor/create.mcfunction +++ b/ttb_data/data/ttb/functions/world/structure/large_wooden_snow_dungeon/room/corridor/create.mcfunction @@ -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 diff --git a/ttb_data/data/ttb/tags/blocks/world/structure/dungeon_safe.json b/ttb_data/data/ttb/tags/blocks/world/structure/dungeon_safe.json new file mode 100644 index 00000000..e91ced84 --- /dev/null +++ b/ttb_data/data/ttb/tags/blocks/world/structure/dungeon_safe.json @@ -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" + ] +}