
# -> Add tag
tag @s add OverlyRealistic.Block.Crucible_HasHeatedIronFragments
tag @s add OverlyRealistic.Block.Crucible_HasContents
tag @s remove OverlyRealistic.Block.Crucible_NeedsHeat
tag @s remove OverlyRealistic.Block.Crucible_HasIronFragments

# -> Modify display
execute on passengers run \
    data modify entity @s[type=item_display,tag=OverlyRealistic.Block.Crucible] item.components."minecraft:item_model" set value "overlyrealistic:blocks/placed_crucible/placed_crucible_heated_iron_fragments"

# -> Set dropped item data
#tag @s add OverlyRealistic.Block.Crucible_DropsItem
#data modify entity @s data.item_drop set value "heated_bloom"

# -> Remove charcoal clump
execute align xyz \
    as @n[type=interaction,tag=OverlyRealistic.Block.CharcoalClump,dx=0,dy=0,dz=0] run \
        function overly_realistic:general/custom_blocks/charcoal_clump/charcoal_clump_break_from_external_source

# -> Player operations
scoreboard players set #or.heat_crucible_success OverlyRealistic.General.ArbitraryData 4
