
# -> If player does not have a stick in hand then return
execute unless items entity @s weapon.mainhand stick run \
    return fail

# -> If player is shifting then remove items
execute if score @s OverlyRealistic.PredicateValue.IsSneaking matches 1 run \
    return run \
        scoreboard players set #or.dry_tinder_interaction_type OverlyRealistic.General.ArbitraryData 2

# --> Interaction checks

# -> Store currently used item
item replace entity 00000001-0000-002b-0000-00010000002b contents from entity @s weapon.mainhand overly_realistic:items/set_1_count

# -> Add stick to dry tinder
scoreboard players set #or.dry_tinder_interaction_type OverlyRealistic.General.ArbitraryData 1
