execute positioned ^ ^-1 ^0.9 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_1] run teleport @s ~ ~ ~ ~ ~
execute positioned ^1 ^-1 ^0.9 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_2] run teleport @s ~ ~ ~ ~ ~
execute positioned ^-1 ^-1 ^0.9 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_3] run teleport @s ~ ~ ~ ~ ~
execute positioned ^ ^ ^0.9 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_4] run teleport @s ~ ~ ~ ~ ~
execute positioned ^1 ^ ^0.9 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_5] run teleport @s ~ ~ ~ ~ ~
execute positioned ^-1 ^ ^0.9 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_6] run teleport @s ~ ~ ~ ~ ~
execute positioned ^ ^1 ^0.9 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_7] run teleport @s ~ ~ ~ ~ ~
execute positioned ^1 ^1 ^0.9 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_8] run teleport @s ~ ~ ~ ~ ~
execute positioned ^-1 ^1 ^0.9 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_9] run teleport @s ~ ~ ~ ~ ~

execute positioned ^ ^-1 ^2 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_10] run teleport @s ~ ~ ~ ~ ~
execute positioned ^1 ^-1 ^2 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_11] run teleport @s ~ ~ ~ ~ ~
execute positioned ^-1 ^-1 ^2 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_12] run teleport @s ~ ~ ~ ~ ~
execute positioned ^ ^ ^2 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_13] run teleport @s ~ ~ ~ ~ ~
execute positioned ^1 ^ ^2 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_14] run teleport @s ~ ~ ~ ~ ~
execute positioned ^-1 ^ ^2 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_15] run teleport @s ~ ~ ~ ~ ~
execute positioned ^ ^1 ^2 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_16] run teleport @s ~ ~ ~ ~ ~
execute positioned ^1 ^1 ^2 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_17] run teleport @s ~ ~ ~ ~ ~
execute positioned ^-1 ^1 ^2 rotated ~ 0 as @e[type=item_display,tag=grid_hitbox_18] run teleport @s ~ ~ ~ ~ ~