Skip to content

v1.2.16

Compare
Choose a tag to compare
@WingedSeal WingedSeal released this 21 Nov 20:09
· 153 commits to main since this release
90abe89

Changelog v1.2.16

✨Added:

  • Allow with ... after anonymous function for 1.20
  • Make anonym func with requires pack format 16+
  • Add 1.20.2 /random command to vanilla commands list (@Nico314159)
  • Error suggestion for misspelled built-in func name (@Nico314159)
  • Give hint if built-in func parameter ends with () (@Nico314159)
  • Add Tag.update() built-in function (@Nico314159)
  • Make custom namespaces work when calling functions (@Nico314159)
  • Prevent duplicate imports when using wildcard (@Nico314159)
  • Add @lazy decorator
    • Allow using lazy function for execute if there is only a single line
@lazy
function compile_time_func(a,b,c) {
    say "$a$b$c";
}
execute as @a run compile_time_func(x,y,c=z);

🔧Fix:

  • Fix recursion error from variable operation
  • Fix decorator breaking when using class
  • Fix quoted booleans in tellraw JSON
  • Fix missing backslash (@Nico314159)
  • Prevent UB caused by changing switch/case variables (@Nico314159)
  • Fix issue with objective:selector in Timer.set() (@Nico314159)
  • Fix bug #40 (@Nico314159)

🎉Change:

  • Allow objective:selector syntax in switch (@Nico314159)