
# -> Place display
$summon minecraft:block_display ~ ~ ~ {Tags:["OverlyRealistic.Block.TanningRack"],Passengers: [{block_state: {Name: "minecraft:$(type)_button", Properties: {face: "wall", facing: "north", powered: "false"}}, id: "minecraft:block_display", transformation: {left_rotation: [0.0f, 0.7071068f, 0.7071068f, 0.0f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [2.650014f, 1.0071409f, 1.0071415f], translation: [1.3250079f, -0.5035718f, -0.5035713f]}}, {block_state: {Name: "minecraft:$(type)_button", Properties: {face: "wall", facing: "north", powered: "false"}}, id: "minecraft:block_display", transformation: {left_rotation: [0.5f, 0.5f, 0.5f, 0.5f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [2.6502585f, 0.98934877f, 0.989349f], translation: [-0.49467465f, -1.3251302f, -0.49467477f]}}], block_state: {Name: "minecraft:$(type)_button", Properties: {face: "wall", facing: "north", powered: "false"}}, transformation: {left_rotation: [-0.5f, -0.5f, 0.5f, 0.5f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [2.6502585f, 0.98934823f, 0.98934877f], translation: [0.494675f, -1.3251301f, 0.494675f]}}

# -> Place block
setblock ~ ~ ~ barrier

# -> Place interaction
$summon interaction ~ ~-0.5 ~ {response:1b,data:{type:"$(type)",interaction_call:"overly_realistic:general/custom_blocks/tanning_rack/tanning_rack_interaction",break_call:"overly_realistic:general/custom_blocks/tanning_rack/tanning_rack_broken_by_player"},Tags:["OverlyRealistic.Block.TanningRack","OverlyRealistic.Block.TanningRack_Rot_EastWest","OverlyRealistic.Block.TanningRack_Status_Empty","OverlyRealistic.Block.IsCustomBlock"],width:1.001f,height:1.001f}
