
# -> Extension 1
setblock ~ ~ ~ ladder[facing=east] strict
scoreboard players remove #or.player_ladders_amount OverlyRealistic.General.ArbitraryData 1
execute if score #or.player_ladders_amount OverlyRealistic.General.ArbitraryData matches ..0 run \
    return run \
        clear @s[gamemode=!creative] ladder 1

# -> Extension 2
execute unless block ~ ~-1 ~ #overly_realistic:support_beams/support_beam_can_replace run \
    return run \
        clear @s[gamemode=!creative] ladder 1
setblock ~ ~-1 ~ ladder[facing=east] strict
scoreboard players remove #or.player_ladders_amount OverlyRealistic.General.ArbitraryData 1
execute if score #or.player_ladders_amount OverlyRealistic.General.ArbitraryData matches ..0 run \
    return run \
        clear @s[gamemode=!creative] ladder 2

# -> Extension 3
execute unless block ~ ~-2 ~ #overly_realistic:support_beams/support_beam_can_replace run \
    return run \
        clear @s[gamemode=!creative] ladder 2
setblock ~ ~-2 ~ ladder[facing=east] strict
scoreboard players remove #or.player_ladders_amount OverlyRealistic.General.ArbitraryData 1
execute if score #or.player_ladders_amount OverlyRealistic.General.ArbitraryData matches ..0 run \
    return run \
        clear @s[gamemode=!creative] ladder 3

# -> Extension 4
execute unless block ~ ~-3 ~ #overly_realistic:support_beams/support_beam_can_replace run \
    return run \
        clear @s[gamemode=!creative] ladder 3
setblock ~ ~-3 ~ ladder[facing=east] strict
scoreboard players remove #or.player_ladders_amount OverlyRealistic.General.ArbitraryData 1
execute if score #or.player_ladders_amount OverlyRealistic.General.ArbitraryData matches ..0 run \
    return run \
        clear @s[gamemode=!creative] ladder 4

# -> Extension 5
execute unless block ~ ~-4 ~ #overly_realistic:support_beams/support_beam_can_replace run \
    return run \
        clear @s[gamemode=!creative] ladder 4
setblock ~ ~-4 ~ ladder[facing=east] strict
scoreboard players remove #or.player_ladders_amount OverlyRealistic.General.ArbitraryData 1
execute if score #or.player_ladders_amount OverlyRealistic.General.ArbitraryData matches ..0 run \
    return run \
        clear @s[gamemode=!creative] ladder 5

# -> Extension 6
execute unless block ~ ~-5 ~ #overly_realistic:support_beams/support_beam_can_replace run \
    return run \
        clear @s[gamemode=!creative] ladder 5
setblock ~ ~-5 ~ ladder[facing=east] strict
scoreboard players remove #or.player_ladders_amount OverlyRealistic.General.ArbitraryData 1
execute if score #or.player_ladders_amount OverlyRealistic.General.ArbitraryData matches ..0 run \
    return run \
        clear @s[gamemode=!creative] ladder 6

# -> Extension 7
execute unless block ~ ~-6 ~ #overly_realistic:support_beams/support_beam_can_replace run \
    return run \
        clear @s[gamemode=!creative] ladder 6
setblock ~ ~-6 ~ ladder[facing=east] strict
scoreboard players remove #or.player_ladders_amount OverlyRealistic.General.ArbitraryData 1
execute if score #or.player_ladders_amount OverlyRealistic.General.ArbitraryData matches ..0 run \
    return run \
        clear @s[gamemode=!creative] ladder 7

# -> Extension 8
execute unless block ~ ~-7 ~ #overly_realistic:support_beams/support_beam_can_replace run \
    return run \
        clear @s[gamemode=!creative] ladder 7
setblock ~ ~-7 ~ ladder[facing=east] strict
scoreboard players remove #or.player_ladders_amount OverlyRealistic.General.ArbitraryData 1
execute if score #or.player_ladders_amount OverlyRealistic.General.ArbitraryData matches ..0 run \
    return run \
        clear @s[gamemode=!creative] ladder 8

# -> Extension 9
execute unless block ~ ~-8 ~ #overly_realistic:support_beams/support_beam_can_replace run \
    return run \
        clear @s[gamemode=!creative] ladder 8
setblock ~ ~-8 ~ ladder[facing=east] strict
scoreboard players remove #or.player_ladders_amount OverlyRealistic.General.ArbitraryData 1
execute if score #or.player_ladders_amount OverlyRealistic.General.ArbitraryData matches ..0 run \
    return run \
        clear @s[gamemode=!creative] ladder 9

# -> Extension 10
execute unless block ~ ~-9 ~ #overly_realistic:support_beams/support_beam_can_replace run \
    return run \
        clear @s[gamemode=!creative] ladder 9
setblock ~ ~-9 ~ ladder[facing=east] strict
clear @s[gamemode=!creative] ladder 10
