Add integer math and comparison values #4

Merged
vlw merged 4 commits from refs/pull/4/head into master 2026-05-02 19:24:25 +02:00
vlw commented 2026-05-02 18:30:52 +02:00 (Migrated from codeberg.org)

This PR adds support for integer values when performing math and comparison operations.

Example

# Add the value of `my_other_variable` to `my_variable`
function math:add { k: my_variable, v: my_other_variable }
# Add the integer value 100 to `my_variable`
function math:add { k: my_variable, v: 100 }

See the updated README for more information

This PR adds support for integer values when performing math and comparison operations. Example ```mcfunction # Add the value of `my_other_variable` to `my_variable` function math:add { k: my_variable, v: my_other_variable } ``` ```mcfunction # Add the integer value 100 to `my_variable` function math:add { k: my_variable, v: 100 } ``` See the updated README for more information
Sign in to join this conversation.
No description provided.