## Load entities
execute as @e[type=#vb:needs_loading,tag=!vb.loaded] at @s run function vb:load_entity/main

## Player tick
execute as @a at @s run function vb:tick_player/main

## Entity tick
execute as @e[type=!#vb:dont_tick_entity] at @s run function vb:tick_entity/main

## Reset objectives
scoreboard players set @a vb.tick_data.right_click 0
scoreboard players set @a vb.tick_data.goat_horn 0
scoreboard players set @a vb.tick_data.jump 0
scoreboard players set @a vb.tick_data.sneak 0
scoreboard players set @a vb.tick_data.custom_item_rc 0