# player:set_interactable_item
# called by advancement: player:set_interactable_item

advancement revoke @s only magical_addons:---/player/set_interactable_item

## Mainhand
execute if items entity @s weapon.mainhand #magical_addons:interactable_vanilla run item modify entity @s weapon.mainhand magical_addons:player/set_interactable_item

## Offhand
execute if items entity @s weapon.offhand #magical_addons:interactable_vanilla run item modify entity @s weapon.offhand magical_addons:player/set_interactable_item

## Hotbar 0
execute if items entity @s hotbar.0 #magical_addons:interactable_vanilla run item modify entity @s hotbar.0 magical_addons:player/set_interactable_item

## Hotbar 1
execute if items entity @s hotbar.1 #magical_addons:interactable_vanilla run item modify entity @s hotbar.1 magical_addons:player/set_interactable_item

## Hotbar 2
execute if items entity @s hotbar.2 #magical_addons:interactable_vanilla run item modify entity @s hotbar.2 magical_addons:player/set_interactable_item

## Hotbar 3
execute if items entity @s hotbar.3 #magical_addons:interactable_vanilla run item modify entity @s hotbar.3 magical_addons:player/set_interactable_item

## Hotbar 4
execute if items entity @s hotbar.4 #magical_addons:interactable_vanilla run item modify entity @s hotbar.4 magical_addons:player/set_interactable_item

## Hotbar 5
execute if items entity @s hotbar.5 #magical_addons:interactable_vanilla run item modify entity @s hotbar.5 magical_addons:player/set_interactable_item

## Hotbar 6
execute if items entity @s hotbar.6 #magical_addons:interactable_vanilla run item modify entity @s hotbar.6 magical_addons:player/set_interactable_item

## Hotbar 7
execute if items entity @s hotbar.7 #magical_addons:interactable_vanilla run item modify entity @s hotbar.7 magical_addons:player/set_interactable_item

## Hotbar 8
execute if items entity @s hotbar.8 #magical_addons:interactable_vanilla run item modify entity @s hotbar.8 magical_addons:player/set_interactable_item

## Inventory 0
execute if items entity @s inventory.0 #magical_addons:interactable_vanilla run item modify entity @s inventory.0 magical_addons:player/set_interactable_item

## Inventory 1
execute if items entity @s inventory.1 #magical_addons:interactable_vanilla run item modify entity @s inventory.1 magical_addons:player/set_interactable_item

## Inventory 2
execute if items entity @s inventory.2 #magical_addons:interactable_vanilla run item modify entity @s inventory.2 magical_addons:player/set_interactable_item

## Inventory 3
execute if items entity @s inventory.3 #magical_addons:interactable_vanilla run item modify entity @s inventory.3 magical_addons:player/set_interactable_item

## Inventory 4
execute if items entity @s inventory.4 #magical_addons:interactable_vanilla run item modify entity @s inventory.4 magical_addons:player/set_interactable_item

## Inventory 5
execute if items entity @s inventory.5 #magical_addons:interactable_vanilla run item modify entity @s inventory.5 magical_addons:player/set_interactable_item

## Inventory 6
execute if items entity @s inventory.6 #magical_addons:interactable_vanilla run item modify entity @s inventory.6 magical_addons:player/set_interactable_item

## Inventory 7
execute if items entity @s inventory.7 #magical_addons:interactable_vanilla run item modify entity @s inventory.7 magical_addons:player/set_interactable_item

## Inventory 8
execute if items entity @s inventory.8 #magical_addons:interactable_vanilla run item modify entity @s inventory.8 magical_addons:player/set_interactable_item

## Inventory 9
execute if items entity @s inventory.9 #magical_addons:interactable_vanilla run item modify entity @s inventory.9 magical_addons:player/set_interactable_item

## Inventory 10
execute if items entity @s inventory.10 #magical_addons:interactable_vanilla run item modify entity @s inventory.10 magical_addons:player/set_interactable_item

## Inventory 11
execute if items entity @s inventory.11 #magical_addons:interactable_vanilla run item modify entity @s inventory.11 magical_addons:player/set_interactable_item

## Inventory 12
execute if items entity @s inventory.12 #magical_addons:interactable_vanilla run item modify entity @s inventory.12 magical_addons:player/set_interactable_item

## Inventory 13
execute if items entity @s inventory.13 #magical_addons:interactable_vanilla run item modify entity @s inventory.13 magical_addons:player/set_interactable_item

## Inventory 14
execute if items entity @s inventory.14 #magical_addons:interactable_vanilla run item modify entity @s inventory.14 magical_addons:player/set_interactable_item

## Inventory 15
execute if items entity @s inventory.15 #magical_addons:interactable_vanilla run item modify entity @s inventory.15 magical_addons:player/set_interactable_item

## Inventory 16
execute if items entity @s inventory.16 #magical_addons:interactable_vanilla run item modify entity @s inventory.16 magical_addons:player/set_interactable_item

## Inventory 17
execute if items entity @s inventory.17 #magical_addons:interactable_vanilla run item modify entity @s inventory.17 magical_addons:player/set_interactable_item

## Inventory 18
execute if items entity @s inventory.18 #magical_addons:interactable_vanilla run item modify entity @s inventory.18 magical_addons:player/set_interactable_item

## Inventory 19
execute if items entity @s inventory.19 #magical_addons:interactable_vanilla run item modify entity @s inventory.19 magical_addons:player/set_interactable_item

## Inventory 20
execute if items entity @s inventory.20 #magical_addons:interactable_vanilla run item modify entity @s inventory.20 magical_addons:player/set_interactable_item

## Inventory 21
execute if items entity @s inventory.21 #magical_addons:interactable_vanilla run item modify entity @s inventory.21 magical_addons:player/set_interactable_item

## Inventory 22
execute if items entity @s inventory.22 #magical_addons:interactable_vanilla run item modify entity @s inventory.22 magical_addons:player/set_interactable_item

## Inventory 23
execute if items entity @s inventory.23 #magical_addons:interactable_vanilla run item modify entity @s inventory.23 magical_addons:player/set_interactable_item

## Inventory 24
execute if items entity @s inventory.24 #magical_addons:interactable_vanilla run item modify entity @s inventory.24 magical_addons:player/set_interactable_item

## Inventory 25
execute if items entity @s inventory.25 #magical_addons:interactable_vanilla run item modify entity @s inventory.25 magical_addons:player/set_interactable_item

## Inventory 26
execute if items entity @s inventory.26 #magical_addons:interactable_vanilla run item modify entity @s inventory.26 magical_addons:player/set_interactable_item