Skip to content

Releases: sandstone-mc/sandstone

Added if/else inlining, and some options

09 Jan 17:13
5128a2a
Compare
Choose a tag to compare

Added a 'sandstone/types' endpoint

05 Jan 15:40
760e2da
Compare
Choose a tag to compare

This endpoint allows libraries to create custom and "sandstone-like" components, with autocompletion, inferring etc...

Fixed a bunch of Advancement properties types & descriptions

05 Jan 13:57
6c7642e
Compare
Choose a tag to compare
Merge pull request #53 from TheMrZZ/develop

Fixed a bunch of Advancement properties types & descriptions

Added capability for MCFunctions to be used directly in any resource.

05 Jan 12:52
3ef446f
Compare
Choose a tag to compare

Added capability for MCFunctions to be used directly in any resource JSON declaration.

For example, this is now valid:

const rewardDiamonds = MCFunction('reward_diamonds', () => {
  give('@s', 'minecraft:diamond', 2)
})

Advancement('bred_two_cows', {
  criteria: {
    // Doesn't matter
  },
  rewards: {
    function: rewardDiamonds
  }
})

Fixed bugs with async MCFunctions, and internal enhancements

05 Jan 12:26
11cc98d
Compare
Choose a tag to compare

MCFunctions can now call vanilla async JS functions, without any bug.
A bunch of internals improvements were made to ensure code quality going further.

Added scripts support

28 Dec 15:28
4a3e506
Compare
Choose a tag to compare

Added support for beforeAll, beforeSave and afterAll scripts.

Quality of life improvements

26 Dec 11:00
041bea7
Compare
Choose a tag to compare

Changelog:

  • Execute runOne is deprecated - use run instead.
  • Sandstone is now config-file-independant. Configs are passed through environment variables.
  • Fixed a lot of bugs

Hotfix: fixed constants

16 Dec 00:47
Compare
Choose a tag to compare
v0.7.1

Bumped patch version number

Added delayed statements

06 Dec 00:50
92d19f3
Compare
Choose a tag to compare

This release adds the ability to await a sleep function, which internally uses /schedule to allow MCFunctions to run delayed commands.
The syntax is await sleep(10) / await sleep('1s').

Since this effect needs to work flawlessly in every Sandstone abstraction, this release also adds:

  • Asynchronous while & doWhile statements
  • Asynchronous if/else if/else statements

Added support for sandstone-cli

29 Nov 14:33
4ea239b
Compare
Choose a tag to compare

This release changes a lot of things to allow support for sandstone-cli.