
# -> Empty crucible
execute unless entity @s[tag=OverlyRealistic.Block.Crucible_HasContents] run \
    return run \
        loot spawn ~ ~ ~ loot overly_realistic:blocks/crucible

# -> Unheated copper fragments
execute if entity @s[tag=OverlyRealistic.Block.Crucible_HasCopperFragments] run \
    return run \
        loot spawn ~ ~ ~ loot overly_realistic:blocks/crucible_contents/crucible_unheated_copper_fragments

# -> Melted copper fragments
execute if entity @s[tag=OverlyRealistic.Block.Crucible_HasMeltedCopperFragments] run \
    return run \
        loot spawn ~ ~ ~ loot overly_realistic:blocks/crucible_contents/crucible_melted_copper_fragments

# -> Unheated iron fragments
execute if entity @s[tag=OverlyRealistic.Block.Crucible_HasIronFragments] run \
    return run \
        loot spawn ~ ~ ~ loot overly_realistic:blocks/crucible_contents/crucible_unheated_iron_fragments

# -> Heated iron fragments
execute if entity @s[tag=OverlyRealistic.Block.Crucible_HasHeatedIronFragments] run \
    return run \
        loot spawn ~ ~ ~ loot overly_realistic:blocks/crucible_contents/crucible_heated_iron_fragments

# -> Unheated copper fragments
execute if entity @s[tag=OverlyRealistic.Block.Crucible_HasGoldFragments] run \
    return run \
        loot spawn ~ ~ ~ loot overly_realistic:blocks/crucible_contents/crucible_unheated_gold_fragments

# -> Melted copper fragments
execute if entity @s[tag=OverlyRealistic.Block.Crucible_HasMeltedGoldFragments] run \
    return run \
        loot spawn ~ ~ ~ loot overly_realistic:blocks/crucible_contents/crucible_melted_gold_fragments
