## Check whether our utility item is in the mainhand, or offhand (mainhand priority)
execute if items entity @s weapon.mainhand #vb:utility run function vb:tick_player/utility_bar_get {slot:mainhand}
execute unless items entity @s weapon.mainhand #vb:utility run function vb:tick_player/utility_bar_get {slot:offhand}