fz-survival-datapack/data/fz/functions/event/on_aviate_one_meter.mcfunction
2022-07-03 19:01:51 +08:00

6 lines
276 B
Mcfunction

scoreboard players operation fz.var.score fz.variable.integer = @s fz.event.aviating_distance
function #fz:event/on_aviate_one_meter
scoreboard players operation @s fz.event.aviating_distance %= 200 fz.variable.integer
advancement revoke @s only fz:event/on_aviate_one_meter