Files
wemmbu_nuke_datapack
Code
15 49
wemmbu_nuke_datapack/data/wemmbu_nuke/function/circle_check.mcfunction
scoreboard players operation #x_squared wemmbu_nuke = #x wemmbu_nuke
scoreboard players operation #x_squared wemmbu_nuke *= #x wemmbu_nuke
scoreboard players operation #z_squared wemmbu_nuke = #z wemmbu_nuke
scoreboard players operation #z_squared wemmbu_nuke *= #z wemmbu_nuke
scoreboard players operation #radius_squared wemmbu_nuke = #x_squared wemmbu_nuke
scoreboard players operation #radius_squared wemmbu_nuke += #z_squared wemmbu_nuke
execute if score #radius_squared wemmbu_nuke matches ..324 run function wemmbu_nuke:circle_summon