execute if items entity @e[type=minecraft:item_frame,limit=1,sort=nearest] container.0 minecraft:black_concrete_powder positioned as @s positioned ~ ~-1 ~ run return run place template ws:black_concrete_powder_floor ~ ~ ~
execute if items entity @e[type=minecraft:item_frame,limit=1,sort=nearest] container.0 minecraft:pink_wool positioned as @s positioned ~ ~-1 ~ run return run place template ws:pink_wool_floor ~ ~ ~
execute if items entity @e[type=minecraft:item_frame,limit=1,sort=nearest] container.0 minecraft:stripped_oak_log positioned as @s positioned ~ ~-1 ~ run return run place template ws:stripped_oak_log_floor ~ ~ ~
execute if items entity @e[type=minecraft:item_frame,limit=1,sort=nearest] container.0 minecraft:lapis_block positioned as @s positioned ~ ~-1 ~ run return run place template ws:lapis_block_floor ~ ~ ~
execute positioned as @s positioned ~ ~-1 ~ run place template ws:default_floor ~ ~ ~