Releases: sandstone-mc/sandstone
Releases · sandstone-mc/sandstone
Path aliases now resolved at build time - Fixed while/for loops not working properly
Changelog:
- Path aliases were previously resolved at runtime, using
module-alias
. However, it didn't resolve in declaration (.d.ts) files, leading to incorrect type inferring. To solve this problem, Sandstone now uses a new Typescript compiler,ttypescript
. It allows the use of compiler plugins: Sandstone uses thetypescript-transform-paths
plugin, which resolves all path aliases at build time. - While/for loops weren't including the
run
keyword inside the recursive function. It is now solved.
Small improvements
Changelog:
- Selectors
predicate
field now directly accepts a predicate - Selectors
scores
field now accepts +Infinity and -Infinity when specifying boundaries. Example:scores: {deaths: [1, +Infinity]}
- Fixed
getName
being not accessible on mcfunctions - Function tags now directly accept mcfunctions
Fix recipes not being saved in the correct folder
Recipes were saved in the "recipe" folder, instead of the "recipes" folder. This release fixes this.
Changed pack.mcmeta & added keywords for NPM
Changed pack.mcmeta & added keywords for NPM
Added Recipe, raw command, and updated README
Added Recipe, a raw command that can be used to create custom commands, and updated README.
Github Releases will now automatically be published to NPM.