
# -> Replace item in hand
execute if items entity @s weapon.mainhand *[custom_data~{or_bucket_specific:"iron_bucket",or_bucket_contents:"empty"}] run \
    return run \
        loot replace entity @s weapon.mainhand loot overly_realistic:items/iron_bucket_lava
loot replace entity @s weapon.offhand loot overly_realistic:items/iron_bucket_lava
