diff --git a/CHANGELOG.md b/CHANGELOG.md index ca536fc..c773d65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,23 +1,5 @@ ### What's New: -* Switched to [EvalEX](https://ezylang.github.io/EvalEx/) for expression parsing. - -This comes with a bunch of improvements. The main of which is support for all object fields and methods, for example: - -Before you had a limited number of "extractions" you could use on an object, like `x` and `player/level`, but now, you can specify **any** field or method: - -Old: - -``` -/say hi ${{this_entity[x]}} -``` - -New: -``` -/say hi ${{this_entity.getX}} - -/say hi ${{round(sqrt(abs(level.getSeed)), 0)}} -``` - -* Added additional casts to the `$(){{}}` syntax. `bool`, `int`, `double` -* `cmd:arithmetica` now supports casts and returns strings by default. Now it also requires permission level 2. \ No newline at end of file +* Added `structContainsKey` function to expressions. +* Moved custom `random`, `lerp` and `clamp` functions to BigDecimal. +* There was an attempt at optimizing reflective field lookups by caching invalid fields and constructing a lazy class hierarchy which propagates found fields and methods downstream. \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index a6fe33a..fde5897 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ minecraft_version=1.20.1 yarn_mappings=1.20.1+build.10 loader_version=0.15.7 # Mod Properties -mod_version=0.2.0 +mod_version=0.2.1 maven_group=me.melontini archives_base_name=commander # Dependencies