
# -> Tag heated wrought iron
tag @s add OverlyRealistic.Block.HeatedWroughtIron_HasIndicators

# -> Create interaction indicator
execute align xyz run \
    summon interaction ~0.5 ~0.15 ~0.5 {Tags:["OverlyRealistic.Block.HeatedWroughtIron_InteractionIndicator","OverlyRealistic.Block.HeatedWroughtIron_InteractionIndicator_Level0","OverlyRealistic.Block.HeatedWroughtIron_HwiComponent"],data:{or_custom_block_id:"hwi_interaction_indicator"},height:0.03,width:0.2,response:1b,Passengers:[{id:"item_display", interpolation_duration:10, start_interpolation:-1, item: {components: {"minecraft:item_model": "overlyrealistic:blocks/interaction_indicators/interaction_indicator_0"}, count: 1, id: "minecraft:dirt"}, transformation: {left_rotation: [0.0f, 0.0f, 0.0f, 1.0f], right_rotation: [0.0f, 0.0f, 0.0f, 1.0f], scale: [0.25f, 0.25f, 0.25f], translation: [0.0f, 0.1f, 0.0f]}}]}
execute align xyz \
    as @n[type=interaction,tag=OverlyRealistic.Block.HeatedWroughtIron_InteractionIndicator,dx=0,dy=0,dz=0,sort=arbitrary] run \
        team join overly_realistic.heated_wrought_iron
