$execute align xyz positioned ~0.5 ~0.5 ~0.5 rotated $(rotation) 0 run summon item_display ^ ^ ^0.51 {Tags:["cnk.wine_rack","cnk.block","smithed.block","smithed.entity","smithed.strict"],transformation:{translation:[0.0f,0.0f,-0.51f],left_rotation:[0.0f,0.0f,0.0f,1.0f],scale:[1.002f,1.002f,1.002f],right_rotation:[0.0f,0.0f,0.0f,1.0f]},item:{id:"minecraft:barrier",count:1,components:{"minecraft:item_model":"cnk:wine_rack/empty","minecraft:custom_model_data":{colors:[0,0,0,0]},"minecraft:bundle_contents":[]}},Rotation:[$(rotation),0.0],view_range:4.0f}

$execute align xyz positioned ~0.5 ~0.375 ~0.5 rotated $(rotation) 0 run summon interaction ^ ^0.249 ^0.38 {Tags:["cnk.wine_rack_interaction","cnk.wine_rack_interaction_top","smithed.block","smithed.entity","smithed.strict"],height:0.25,width:0.25,response:true,Rotation:[$(rotation),0.0]}
$execute align xyz positioned ~0.5 ~0.375 ~0.5 rotated $(rotation) 0 run summon interaction ^0.249 ^ ^0.38 {Tags:["cnk.wine_rack_interaction","cnk.wine_rack_interaction_right","smithed.block","smithed.entity","smithed.strict"],height:0.25,width:0.25,response:true,Rotation:[$(rotation),0.0]}
$execute align xyz positioned ~0.5 ~0.375 ~0.5 rotated $(rotation) 0 run summon interaction ^-0.249 ^ ^0.38 {Tags:["cnk.wine_rack_interaction","cnk.wine_rack_interaction_left","smithed.block","smithed.entity","smithed.strict"],height:0.25,width:0.25,response:true,Rotation:[$(rotation),0.0]}
$execute align xyz positioned ~0.5 ~0.375 ~0.5 rotated $(rotation) 0 run summon interaction ^ ^-0.249 ^0.38 {Tags:["cnk.wine_rack_interaction","cnk.wine_rack_interaction_bottom","smithed.block","smithed.entity","smithed.strict"],height:0.25,width:0.25,response:true,Rotation:[$(rotation),0.0]}