
#> aia:in_game/players_settings/reconnect/advancement/collection/building
#
# @within			aia:in_game/players_settings/reconnect/advancement/
#
#
# @description		Liste des items à actualiser
#

execute if entity @p[tag=aia.temp,advancements={aia:building/andesite=false}] if score @s aia.data.item.andesite matches 1 run advancement grant @p[tag=aia.temp] only aia:building/andesite
execute if entity @p[tag=aia.temp,advancements={aia:building/andesite_slab=false}] if score @s aia.data.item.andesite_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/andesite_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/andesite_stairs=false}] if score @s aia.data.item.andesite_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/andesite_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/andesite_wall=false}] if score @s aia.data.item.andesite_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/andesite_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_andesite=false}] if score @s aia.data.item.polished_andesite matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_andesite
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_andesite_slab=false}] if score @s aia.data.item.polished_andesite_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_andesite_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_andesite_stairs=false}] if score @s aia.data.item.polished_andesite_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_andesite_stairs

execute if entity @p[tag=aia.temp,advancements={aia:building/diorite=false}] if score @s aia.data.item.diorite matches 1 run advancement grant @p[tag=aia.temp] only aia:building/diorite
execute if entity @p[tag=aia.temp,advancements={aia:building/diorite_slab=false}] if score @s aia.data.item.diorite_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/diorite_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/diorite_stairs=false}] if score @s aia.data.item.diorite_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/diorite_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/diorite_wall=false}] if score @s aia.data.item.diorite_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/diorite_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_diorite=false}] if score @s aia.data.item.polished_diorite matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_diorite
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_diorite_slab=false}] if score @s aia.data.item.polished_diorite_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_diorite_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_diorite_stairs=false}] if score @s aia.data.item.polished_diorite_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_diorite_stairs

execute if entity @p[tag=aia.temp,advancements={aia:building/granite=false}] if score @s aia.data.item.granite matches 1 run advancement grant @p[tag=aia.temp] only aia:building/granite
execute if entity @p[tag=aia.temp,advancements={aia:building/granite_slab=false}] if score @s aia.data.item.granite_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/granite_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/granite_stairs=false}] if score @s aia.data.item.granite_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/granite_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/granite_wall=false}] if score @s aia.data.item.granite_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/granite_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_granite=false}] if score @s aia.data.item.polished_granite matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_granite
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_granite_slab=false}] if score @s aia.data.item.polished_granite_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_granite_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_granite_stairs=false}] if score @s aia.data.item.polished_granite_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_granite_stairs

execute if entity @p[tag=aia.temp,advancements={aia:building/brick=false}] if score @s aia.data.item.brick matches 1 run advancement grant @p[tag=aia.temp] only aia:building/brick
execute if entity @p[tag=aia.temp,advancements={aia:building/brick_slab=false}] if score @s aia.data.item.brick_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/brick_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/brick_stairs=false}] if score @s aia.data.item.brick_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/brick_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/brick_wall=false}] if score @s aia.data.item.brick_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/brick_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/bricks=false}] if score @s aia.data.item.bricks matches 1 run advancement grant @p[tag=aia.temp] only aia:building/bricks
execute if entity @p[tag=aia.temp,advancements={aia:building/clay=false}] if score @s aia.data.item.clay matches 1 run advancement grant @p[tag=aia.temp] only aia:building/clay
execute if entity @p[tag=aia.temp,advancements={aia:building/clay_ball=false}] if score @s aia.data.item.clay_ball matches 1 run advancement grant @p[tag=aia.temp] only aia:building/clay_ball

execute if entity @p[tag=aia.temp,advancements={aia:building/cobbled_deepslate=false}] if score @s aia.data.item.cobbled_deepslate matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cobbled_deepslate
execute if entity @p[tag=aia.temp,advancements={aia:building/cobbled_deepslate_slab=false}] if score @s aia.data.item.cobbled_deepslate_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cobbled_deepslate_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/cobbled_deepslate_stairs=false}] if score @s aia.data.item.cobbled_deepslate_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cobbled_deepslate_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/cobbled_deepslate_wall=false}] if score @s aia.data.item.cobbled_deepslate_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cobbled_deepslate_wall

execute if entity @p[tag=aia.temp,advancements={aia:building/cobblestone=false}] if score @s aia.data.item.cobblestone matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cobblestone
execute if entity @p[tag=aia.temp,advancements={aia:building/cobblestone_slab=false}] if score @s aia.data.item.cobblestone_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cobblestone_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/cobblestone_stairs=false}] if score @s aia.data.item.cobblestone_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cobblestone_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/cobblestone_wall=false}] if score @s aia.data.item.cobblestone_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cobblestone_wall

execute if entity @p[tag=aia.temp,advancements={aia:building/cut_red_sandstone=false}] if score @s aia.data.item.cut_red_sandstone matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cut_red_sandstone
execute if entity @p[tag=aia.temp,advancements={aia:building/cut_red_sandstone_slab=false}] if score @s aia.data.item.cut_red_sandstone_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cut_red_sandstone_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/cut_sandstone=false}] if score @s aia.data.item.cut_sandstone matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cut_sandstone
execute if entity @p[tag=aia.temp,advancements={aia:building/cut_sandstone_slab=false}] if score @s aia.data.item.cut_sandstone_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cut_sandstone_slab

execute if entity @p[tag=aia.temp,advancements={aia:building/deepslate=false}] if score @s aia.data.item.deepslate matches 1 run advancement grant @p[tag=aia.temp] only aia:building/deepslate
execute if entity @p[tag=aia.temp,advancements={aia:building/deepslate_brick_slab=false}] if score @s aia.data.item.deepslate_brick_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/deepslate_brick_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/deepslate_brick_stairs=false}] if score @s aia.data.item.deepslate_brick_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/deepslate_brick_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/deepslate_brick_wall=false}] if score @s aia.data.item.deepslate_brick_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/deepslate_brick_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/deepslate_bricks=false}] if score @s aia.data.item.deepslate_bricks matches 1 run advancement grant @p[tag=aia.temp] only aia:building/deepslate_bricks
execute if entity @p[tag=aia.temp,advancements={aia:building/deepslate_tile_slab=false}] if score @s aia.data.item.deepslate_tile_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/deepslate_tile_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/deepslate_tile_stairs=false}] if score @s aia.data.item.deepslate_tile_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/deepslate_tile_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/deepslate_tile_wall=false}] if score @s aia.data.item.deepslate_tile_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/deepslate_tile_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/deepslate_tiles=false}] if score @s aia.data.item.deepslate_tiles matches 1 run advancement grant @p[tag=aia.temp] only aia:building/deepslate_tiles
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_deepslate=false}] if score @s aia.data.item.polished_deepslate matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_deepslate
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_deepslate_slab=false}] if score @s aia.data.item.polished_deepslate_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_deepslate_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_deepslate_stairs=false}] if score @s aia.data.item.polished_deepslate_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_deepslate_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_deepslate_wall=false}] if score @s aia.data.item.polished_deepslate_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_deepslate_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/cracked_deepslate_bricks=false}] if score @s aia.data.item.cracked_deepslate_bricks matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cracked_deepslate_bricks
execute if entity @p[tag=aia.temp,advancements={aia:building/cracked_deepslate_tiles=false}] if score @s aia.data.item.cracked_deepslate_tiles matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cracked_deepslate_tiles
execute if entity @p[tag=aia.temp,advancements={aia:building/chiseled_deepslate=false}] if score @s aia.data.item.chiseled_deepslate matches 1 run advancement grant @p[tag=aia.temp] only aia:building/chiseled_deepslate

execute if entity @p[tag=aia.temp,advancements={aia:building/mossy_cobblestone=false}] if score @s aia.data.item.mossy_cobblestone matches 1 run advancement grant @p[tag=aia.temp] only aia:building/mossy_cobblestone
execute if entity @p[tag=aia.temp,advancements={aia:building/mossy_cobblestone_slab=false}] if score @s aia.data.item.mossy_cobblestone_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/mossy_cobblestone_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/mossy_cobblestone_stairs=false}] if score @s aia.data.item.mossy_cobblestone_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/mossy_cobblestone_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/mossy_cobblestone_wall=false}] if score @s aia.data.item.mossy_cobblestone_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/mossy_cobblestone_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/mossy_stone_brick_slab=false}] if score @s aia.data.item.mossy_stone_brick_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/mossy_stone_brick_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/mossy_stone_brick_stairs=false}] if score @s aia.data.item.mossy_stone_brick_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/mossy_stone_brick_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/mossy_stone_brick_wall=false}] if score @s aia.data.item.mossy_stone_brick_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/mossy_stone_brick_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/mossy_stone_bricks=false}] if score @s aia.data.item.mossy_stone_bricks matches 1 run advancement grant @p[tag=aia.temp] only aia:building/mossy_stone_bricks

execute if entity @p[tag=aia.temp,advancements={aia:building/mud=false}] if score @s aia.data.item.mud matches 1 run advancement grant @p[tag=aia.temp] only aia:building/mud
execute if entity @p[tag=aia.temp,advancements={aia:building/mud_brick_slab=false}] if score @s aia.data.item.mud_brick_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/mud_brick_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/mud_brick_stairs=false}] if score @s aia.data.item.mud_brick_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/mud_brick_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/mud_brick_wall=false}] if score @s aia.data.item.mud_brick_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/mud_brick_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/mud_bricks=false}] if score @s aia.data.item.mud_bricks matches 1 run advancement grant @p[tag=aia.temp] only aia:building/mud_bricks
execute if entity @p[tag=aia.temp,advancements={aia:building/packed_mud=false}] if score @s aia.data.item.packed_mud matches 1 run advancement grant @p[tag=aia.temp] only aia:building/packed_mud

execute if entity @p[tag=aia.temp,advancements={aia:building/red_sand=false}] if score @s aia.data.item.red_sand matches 1 run advancement grant @p[tag=aia.temp] only aia:building/red_sand
execute if entity @p[tag=aia.temp,advancements={aia:building/red_sandstone=false}] if score @s aia.data.item.red_sandstone matches 1 run advancement grant @p[tag=aia.temp] only aia:building/red_sandstone
execute if entity @p[tag=aia.temp,advancements={aia:building/red_sandstone_slab=false}] if score @s aia.data.item.red_sandstone_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/red_sandstone_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/red_sandstone_stairs=false}] if score @s aia.data.item.red_sandstone_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/red_sandstone_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/red_sandstone_wall=false}] if score @s aia.data.item.red_sandstone_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/red_sandstone_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/smooth_red_sandstone=false}] if score @s aia.data.item.smooth_red_sandstone matches 1 run advancement grant @p[tag=aia.temp] only aia:building/smooth_red_sandstone
execute if entity @p[tag=aia.temp,advancements={aia:building/smooth_red_sandstone_slab=false}] if score @s aia.data.item.smooth_red_sandstone_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/smooth_red_sandstone_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/smooth_red_sandstone_stairs=false}] if score @s aia.data.item.smooth_red_sandstone_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/smooth_red_sandstone_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/chiseled_red_sandstone=false}] if score @s aia.data.item.chiseled_red_sandstone matches 1 run advancement grant @p[tag=aia.temp] only aia:building/chiseled_red_sandstone

execute if entity @p[tag=aia.temp,advancements={aia:building/sand=false}] if score @s aia.data.item.sand matches 1 run advancement grant @p[tag=aia.temp] only aia:building/sand
execute if entity @p[tag=aia.temp,advancements={aia:building/sandstone=false}] if score @s aia.data.item.sandstone matches 1 run advancement grant @p[tag=aia.temp] only aia:building/sandstone
execute if entity @p[tag=aia.temp,advancements={aia:building/sandstone_slab=false}] if score @s aia.data.item.sandstone_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/sandstone_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/sandstone_stairs=false}] if score @s aia.data.item.sandstone_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/sandstone_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/sandstone_wall=false}] if score @s aia.data.item.sandstone_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/sandstone_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/smooth_sandstone=false}] if score @s aia.data.item.smooth_sandstone matches 1 run advancement grant @p[tag=aia.temp] only aia:building/smooth_sandstone
execute if entity @p[tag=aia.temp,advancements={aia:building/smooth_sandstone_slab=false}] if score @s aia.data.item.smooth_sandstone_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/smooth_sandstone_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/smooth_sandstone_stairs=false}] if score @s aia.data.item.smooth_sandstone_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/smooth_sandstone_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/smooth_stone=false}] if score @s aia.data.item.smooth_stone matches 1 run advancement grant @p[tag=aia.temp] only aia:building/smooth_stone
execute if entity @p[tag=aia.temp,advancements={aia:building/smooth_stone_slab=false}] if score @s aia.data.item.smooth_stone_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/smooth_stone_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/chiseled_sandstone=false}] if score @s aia.data.item.chiseled_sandstone matches 1 run advancement grant @p[tag=aia.temp] only aia:building/chiseled_sandstone

execute if entity @p[tag=aia.temp,advancements={aia:building/resin_block=false}] if score @s aia.data.item.resin_block matches 1 run advancement grant @p[tag=aia.temp] only aia:building/resin_block
execute if entity @p[tag=aia.temp,advancements={aia:building/resin_brick=false}] if score @s aia.data.item.resin_brick matches 1 run advancement grant @p[tag=aia.temp] only aia:building/resin_brick
execute if entity @p[tag=aia.temp,advancements={aia:building/resin_brick_slab=false}] if score @s aia.data.item.resin_brick_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/resin_brick_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/resin_brick_stairs=false}] if score @s aia.data.item.resin_brick_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/resin_brick_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/resin_brick_wall=false}] if score @s aia.data.item.resin_brick_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/resin_brick_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/resin_bricks=false}] if score @s aia.data.item.resin_bricks matches 1 run advancement grant @p[tag=aia.temp] only aia:building/resin_bricks
execute if entity @p[tag=aia.temp,advancements={aia:building/resin_clump=false}] if score @s aia.data.item.resin_clump matches 1 run advancement grant @p[tag=aia.temp] only aia:building/resin_clump
execute if entity @p[tag=aia.temp,advancements={aia:building/chiseled_resin_bricks=false}] if score @s aia.data.item.chiseled_resin_bricks matches 1 run advancement grant @p[tag=aia.temp] only aia:building/chiseled_resin_bricks

execute if entity @p[tag=aia.temp,advancements={aia:building/stone=false}] if score @s aia.data.item.stone matches 1 run advancement grant @p[tag=aia.temp] only aia:building/stone
execute if entity @p[tag=aia.temp,advancements={aia:building/stone_brick_slab=false}] if score @s aia.data.item.stone_brick_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/stone_brick_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/stone_brick_stairs=false}] if score @s aia.data.item.stone_brick_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/stone_brick_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/stone_brick_wall=false}] if score @s aia.data.item.stone_brick_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/stone_brick_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/stone_bricks=false}] if score @s aia.data.item.stone_bricks matches 1 run advancement grant @p[tag=aia.temp] only aia:building/stone_bricks
execute if entity @p[tag=aia.temp,advancements={aia:building/stone_button=false}] if score @s aia.data.item.stone_button matches 1 run advancement grant @p[tag=aia.temp] only aia:building/stone_button
execute if entity @p[tag=aia.temp,advancements={aia:building/stone_pressure_plate=false}] if score @s aia.data.item.stone_pressure_plate matches 1 run advancement grant @p[tag=aia.temp] only aia:building/stone_pressure_plate
execute if entity @p[tag=aia.temp,advancements={aia:building/stone_slab=false}] if score @s aia.data.item.stone_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/stone_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/stone_stairs=false}] if score @s aia.data.item.stone_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/stone_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/cracked_stone_bricks=false}] if score @s aia.data.item.cracked_stone_bricks matches 1 run advancement grant @p[tag=aia.temp] only aia:building/cracked_stone_bricks
execute if entity @p[tag=aia.temp,advancements={aia:building/chiseled_stone_bricks=false}] if score @s aia.data.item.chiseled_stone_bricks matches 1 run advancement grant @p[tag=aia.temp] only aia:building/chiseled_stone_bricks

execute if entity @p[tag=aia.temp,advancements={aia:building/tuff=false}] if score @s aia.data.item.tuff matches 1 run advancement grant @p[tag=aia.temp] only aia:building/tuff
execute if entity @p[tag=aia.temp,advancements={aia:building/tuff_brick_slab=false}] if score @s aia.data.item.tuff_brick_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/tuff_brick_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/tuff_brick_stairs=false}] if score @s aia.data.item.tuff_brick_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/tuff_brick_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/tuff_brick_wall=false}] if score @s aia.data.item.tuff_brick_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/tuff_brick_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/tuff_bricks=false}] if score @s aia.data.item.tuff_bricks matches 1 run advancement grant @p[tag=aia.temp] only aia:building/tuff_bricks
execute if entity @p[tag=aia.temp,advancements={aia:building/tuff_slab=false}] if score @s aia.data.item.tuff_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/tuff_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/tuff_stairs=false}] if score @s aia.data.item.tuff_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/tuff_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/tuff_wall=false}] if score @s aia.data.item.tuff_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/tuff_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_tuff=false}] if score @s aia.data.item.polished_tuff matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_tuff
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_tuff_slab=false}] if score @s aia.data.item.polished_tuff_slab matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_tuff_slab
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_tuff_stairs=false}] if score @s aia.data.item.polished_tuff_stairs matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_tuff_stairs
execute if entity @p[tag=aia.temp,advancements={aia:building/polished_tuff_wall=false}] if score @s aia.data.item.polished_tuff_wall matches 1 run advancement grant @p[tag=aia.temp] only aia:building/polished_tuff_wall
execute if entity @p[tag=aia.temp,advancements={aia:building/chiseled_tuff=false}] if score @s aia.data.item.chiseled_tuff matches 1 run advancement grant @p[tag=aia.temp] only aia:building/chiseled_tuff
execute if entity @p[tag=aia.temp,advancements={aia:building/chiseled_tuff_bricks=false}] if score @s aia.data.item.chiseled_tuff_bricks matches 1 run advancement grant @p[tag=aia.temp] only aia:building/chiseled_tuff_bricks

scoreboard players operation @p[tag=aia.temp] aia.data.collection.building.count = @s aia.data.collection.building.count
