
# -> Create log display
summon minecraft:item_display ~ ~ ~ {Tags:["OverlyRealistic.TempLogEnt","OverlyRealistic.Block.PreparationPlateStrippedLog","OverlyRealistic.Block.PreparationPlate_Item"],item: {count: 1, id: "minecraft:stripped_oak_log"}, transformation: {left_rotation: [0.0f, 0.0f, 0.7071068f, 0.7071068f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [0.6250002f, 0.6250002f, 0.6250002f], translation: [0.0f, 0.1f, 0.0f]}}

# -> Attach log
ride @n[type=item_display,tag=OverlyRealistic.TempLogEnt,distance=..1] mount @s

# -> Set stripped log
execute on passengers run \
    item replace entity @s[tag=OverlyRealistic.TempLogEnt] contents from entity 00000001-0000-002b-0000-00010000002b contents

# -> Remove temp tag
execute on passengers run \
    tag @s[tag=OverlyRealistic.TempLogEnt] remove OverlyRealistic.TempLogEnt
