From 4e797fc0dbef5badd95cd5ab46017a63f7e6bef2 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Fri, 13 Mar 2026 20:20:30 +0100 Subject: [PATCH] fix: add missing `math:lteq` function (#3) This PR adds the missing `math:lteq` function which I forgot to create for the initial release. Reviewed-on: https://codeberg.org/vlw/mcfstd/pulls/3 --- data/comp/function/lteq.mcfunction | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 data/comp/function/lteq.mcfunction diff --git a/data/comp/function/lteq.mcfunction b/data/comp/function/lteq.mcfunction new file mode 100644 index 0000000..4e16bcb --- /dev/null +++ b/data/comp/function/lteq.mcfunction @@ -0,0 +1,7 @@ +function z_:construct + +$function comp:eq { a: $(a), b: $(b) } +execute unless function std:out run return fail + +$function comp:lt { a: $(a), b: $(b) } +execute unless function std:out run return fail