
# -> Remove tempitem tag
tag @s remove OverlyRealistic.Block.WoodenRack_TempItem

# -> Set gory hide tag
tag @s add OverlyRealistic.Block.WoodenRack_Item_GoryHide

# -> Get item
item replace entity @s contents from entity 00000001-0000-002b-0000-00010000002b contents

# -> Set transformation data
execute if score #or.wooden_rack_rotation_get OverlyRealistic.General.ArbitraryData matches 1 run \
    data modify entity @s transformation set value {left_rotation: [0.0f, 0.0f, 0.0f, 1.0f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [0.875f, 0.87500006f, 0.875f], translation: [0.0f, -0.4f, 0.0f]}
execute if score #or.wooden_rack_rotation_get OverlyRealistic.General.ArbitraryData matches 2 run \
    data modify entity @s transformation set value {left_rotation: [0.0f, -0.7071068f, 0.0f, 0.7071068f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [0.8749999f, 0.875f, 0.8749999f], translation: [0.0f, -0.4f, 0.0f]}
