# GatVillage Chicken Shack
# Made by GatKong
#tellraw @a ["",{"text":"gatvillage/chicken_shack","color":"green"}]

execute if block ~ ~ ~ command_block[facing=west] run setblock ~ ~-1 ~ minecraft:structure_block[mode=load]{metadata:"",mirror:"NONE",ignoreEntities:0b,powered:0b,seed:0L,author:"GatKong",rotation:"NONE",posX:-4,posY:-4,posZ:-5,mode:"LOAD",integrity:1.0f,showair:0b,name:"gatkong:village/redstone/houses/redstone_chicken_shack",sizeX:15,sizeY:25,sizeZ:11,showboundingbox:1b}

execute if block ~ ~ ~ command_block[facing=east] run setblock ~ ~-1 ~ minecraft:structure_block[mode=load]{metadata:"",mirror:"NONE",ignoreEntities:0b,powered:0b,seed:0L,author:"GatKong",rotation:"CLOCKWISE_180",posX:4,posY:-4,posZ:5,mode:"LOAD",integrity:1.0f,showair:0b,name:"gatkong:village/redstone/houses/redstone_chicken_shack",sizeX:15,sizeY:25,sizeZ:11,showboundingbox:1b}

execute if block ~ ~ ~ command_block[facing=south] run setblock ~ ~-1 ~ minecraft:structure_block[mode=load]{metadata:"",mirror:"NONE",ignoreEntities:0b,powered:0b,seed:0L,author:"GatKong",rotation:"COUNTERCLOCKWISE_90",posX:-5,posY:-4,posZ:4,mode:"LOAD",integrity:1.0f,showair:0b,name:"gatkong:village/redstone/houses/redstone_chicken_shack",sizeX:15,sizeY:25,sizeZ:11,showboundingbox:1b}

execute if block ~ ~ ~ command_block[facing=north] run setblock ~ ~-1 ~ minecraft:structure_block[mode=load]{metadata:"",mirror:"NONE",ignoreEntities:0b,powered:0b,seed:0L,author:"GatKong",rotation:"CLOCKWISE_90",posX:5,posY:-4,posZ:-4,mode:"LOAD",integrity:1.0f,showair:0b,name:"gatkong:village/redstone/houses/redstone_chicken_shack",sizeX:15,sizeY:25,sizeZ:11,showboundingbox:1b}

fill ~ ~1 ~ ~ ~2 ~ minecraft:air replace

setblock ~ ~ ~ minecraft:redstone_block

######### WIP LINE #########