# Apply -2 diameter to Nether and increment DIFF by 2, then continue until aligned.
execute in minecraft:the_nether run worldborder add -2
scoreboard players add DIFF bc_tmp 2
execute if score DIFF bc_tmp matches ..-2 run function bordercraft:reloadborder/step_neg
execute if score DIFF bc_tmp matches -1 run function bordercraft:reloadborder/step_neg1
# If we overshot due to unexpected oddity, correct:
execute if score DIFF bc_tmp matches 1.. run function bordercraft:reloadborder/step_pos
execute if score DIFF bc_tmp matches 0 run function bordercraft:reloadborder
