Skip to content

Releases: sandstone-mc/sandstone

Path aliases now resolved at build time - Fixed while/for loops not working properly

07 Oct 09:02
ebccfef
Compare
Choose a tag to compare

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 the typescript-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

06 Oct 13:29
6ce5464
Compare
Choose a tag to compare

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

04 Oct 16:38
171b2d7
Compare
Choose a tag to compare

Recipes were saved in the "recipe" folder, instead of the "recipes" folder. This release fixes this.

Changed pack.mcmeta & added keywords for NPM

03 Oct 14:32
4a98c4a
Compare
Choose a tag to compare

Changed pack.mcmeta & added keywords for NPM

Added Recipe, raw command, and updated README

03 Oct 14:19
59d8c69
Compare
Choose a tag to compare

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.