mirror of
https://codeberg.org/vlw/mcfstd.git
synced 2026-04-12 22:29:39 +02:00
11 lines
298 B
MCFunction
11 lines
298 B
MCFunction
function z_:construct
|
|
|
|
function z_:stdin { v: 1 }
|
|
|
|
$scoreboard players operation _reg_a _mcfstd_reg = $(a) _mcfstd_var
|
|
|
|
$scoreboard players operation _reg_a _mcfstd_reg -= $(b) _mcfstd_var
|
|
|
|
execute unless score _reg_a _mcfstd_reg matches -2147483648..-1 run return fail
|
|
|
|
function z_:stdin { v: 0 }
|