# Expand the world border by 2 blocks (no unique counter increase)
# Overworld + End expand at the same rate
execute in minecraft:overworld run worldborder add 2
execute in minecraft:the_end run worldborder add 2

# Nether expands 1/8 as fast: every 8 overworld expansions => +1 nether expansion
scoreboard players add NetherAcc bc_nether_accum 1
execute if score NetherAcc bc_nether_accum matches 8.. run function bordercraft:nether_sync

tellraw @a ["",{"text":"The world has expanded!","color":"yellow"}]
playsound entity.experience_orb.pickup master @a ~ ~ ~ 0.8 1
