Adds 1.19.4 and 1.21.4 support
Adds selector arguments: dx, dy, dz
Adds 1.21.2 and 1.21.3 support
Adds selector arguments: x, y, z
Fixes bugs:
- Compilation throws an exception due to using a library in which a function doesn't exist in older minecraft versions
distanceselector compares locations without checking if the entity is in the same world- Attributes and effects don't work due to a cast error while loading (affects 1.20.5+)
- Entities using the same classes under the hood all match the
[type]selector (those entities are not supported anymore, for now) - Some macros throw an exception due to generating wrong bytecode
- Nbt compounds with a suffix as a value without quotes break parsing (
b,d,f,l,s)
Update function compiler to have multiple compilation stages, for better code generation
Adds support for macros in [tag] selector
Fixes bugs:
- Function runs with wrong ordering when calling a vanilla function from compiled function (affects 1.20.3+)
- Translatable text arguments with custom style don't generate style data
execute if|unless functioninside vanilla functions while calling compiled function runs too many times (affects 1.20.3+)- Forking behaves as on bedrock instead of java
- Not all functions are found, some of the time


