
# -> Rotate display
execute on passengers \
    at @s \
    facing entity @p[tag=OverlyRealistic.Player.PlacedCustomBlock,distance=..64] feet run \
        rotate @s ~ 0

# -> Remove temp tag
tag @s remove OverlyRealistic.Block.HeatedWroughtIron_TempWroughtIron

# -> Set detection team
team join overly_realistic.heated_wrought_iron @s

# -> Set data
data modify entity @s data.wrought_iron_shape set value \
    {\
        shape_0: 0b, \
        shape_1: 0b, \
        shape_2: 0b, \
        shape_3: 0b  \
    }

scoreboard players set @s OverlyRealistic.World.HeatedWroughtIron_ForgeShapes 0
