
execute if block ~ ~ ~ minecraft:stone_slab if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:stone_brick_slab if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:mossy_stone_brick_slab if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:cobblestone_slab if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:mossy_cobblestone_slab if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:andesite_slab if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:polished_andesite_slab if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop

execute if block ~ ~ ~ minecraft:stone_stairs if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:stone_brick_stairs if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:mossy_stone_brick_stairs if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:cobblestone_stairs if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:mossy_cobblestone_stairs if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:andesite_stairs if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:polished_andesite_stairs if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop

execute if block ~ ~ ~ minecraft:stone_brick_wall if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:mossy_stone_brick_wall if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:cobblestone_wall if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:mossy_cobblestone_wall if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:andesite_wall if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop
execute if block ~ ~ ~ minecraft:polished_andesite_wall if entity @a[distance=..20] positioned ^ ^ ^1 run function q:lastblockloop