# Changelog

All notable changes to Sandstone are documented in this file.

## [v1.2.21](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.21) - 2026-08-08

### Improve type performance of Selectors, fix bugs in `give` and `DataSets`

**Full Changelog**: [v1.2.20...v1.2.21](https://github.com/sandstone-mc/sandstone/compare/v1.2.20...v1.2.21)


## [v1.2.20](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.20) - 2026-08-07

### Fix multi-chained `.run.` from `_.if`, fix `playsound` handling of undefined arguments

**Full Changelog**: [master...v1.2.20](https://github.com/sandstone-mc/sandstone/compare/master...v1.2.20)


## [v1.2.19](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.19) - 2026-08-06

### Add support for `Flow#with: SandstoneCommands`, fixed bugs

**Full Changelog**: [v1.2.18...v1.2.19](https://github.com/sandstone-mc/sandstone/compare/v1.2.18...v1.2.19)


## [v1.2.18](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.18) - 2026-08-06

### Add `Flow#with` for running macro commands, `.run.` & `else.run.` after `_.if` & `.elseIf`, fix bugs

**Full Changelog**: [v1.2.17...v1.2.18](https://github.com/sandstone-mc/sandstone/compare/v1.2.17...v1.2.18)


## [v1.2.17](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.17) - 2026-08-05

### Fix `SandstoneCore#getExistingResource` and related resources

- Fixed `SoundEventClass.constructor` logic errors
- Fixed `StructureClass` failing to include the file extension if not provided by the user
- Added missing `this.handleConflicts()` call to `SoundsIndexClass` that was preventing it from being saved
- Pulled my hair out for a couple hours again over ESM

**Full Changelog**: [v1.2.16...v1.2.17](https://github.com/sandstone-mc/sandstone/compare/v1.2.16...v1.2.17)


## [v1.2.16](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.16) - 2026-08-05

### Fix `schedule`, `debug`, and `Tag` interpretation of `MCFunctionClass`

**Full Changelog**: [v1.2.15...v1.2.16](https://github.com/sandstone-mc/sandstone/compare/v1.2.15...v1.2.16)


## [v1.2.15](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.15) - 2026-08-05

### Fix broken optional argument handling in some commands

**Full Changelog**: [v1.2.14...v1.2.15](https://github.com/sandstone-mc/sandstone/compare/v1.2.14...v1.2.15)


## [v1.2.14](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.14) - 2026-08-04

### Complete the switch to `NonEmptyString` & `NamespacedString`

mcdoc-ts-generator still needed some more work

**Full Changelog**: [v1.2.13...v1.2.14](https://github.com/sandstone-mc/sandstone/compare/v1.2.13...v1.2.14)


## [v1.2.13](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.13) - 2026-08-04

### Add exports for and switch to branded types for `NonEmptyString` and `NamespacedString`

- Any place where you are currently using `${any}${string}` or `${string}:${string}` should be switched to using `NonEmptyString` and `NamespacedString` from `'sandstone'`
- Renamed `_.function_` to `_.mcfunction`

**Full Changelog**: [v1.2.12...v1.2.13](https://github.com/sandstone-mc/sandstone/compare/v1.2.12...v1.2.13)


## [v1.2.12](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.12) - 2026-08-04

### Remove erroneous export pray CI works now

**Full Changelog**: [v1.2.11...v1.2.12](https://github.com/sandstone-mc/sandstone/compare/v1.2.11...v1.2.12)


## [v1.2.11](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.11) - 2026-08-04

### Update Sandstone

**Full Changelog**: [v1.2.10...v1.2.11](https://github.com/sandstone-mc/sandstone/compare/v1.2.10...v1.2.11)


## [v1.2.10](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.10) - 2026-08-04

### Fix visitor bug with `returnCmd.run`

**Full Changelog**: [v1.2.9...v1.2.10](https://github.com/sandstone-mc/sandstone/compare/v1.2.9...v1.2.10)


## [v1.2.9](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.9) - 2026-08-03

### Fixed mcdoc-ts-generator `until` handling, updated Predicate and TrimMaterial

**Full Changelog**: [v1.2.8...v1.2.9](https://github.com/sandstone-mc/sandstone/compare/v1.2.8...v1.2.9)


## [v1.2.8](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.8) - 2026-08-03

### Fix predicate type in 26.3

**Full Changelog**: [v1.2.7...v1.2.8](https://github.com/sandstone-mc/sandstone/compare/v1.2.7...v1.2.8)


## [v1.2.7](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.7) - 2026-08-03

### Remove misbehaving unneeded packages

**Full Changelog**: [v1.2.6...v1.2.7](https://github.com/sandstone-mc/sandstone/compare/v1.2.6...v1.2.7)


## [v1.2.6](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.6) - 2026-08-03

### Fix browser bundle

**Full Changelog**: [v1.2.5...v1.2.6](https://github.com/sandstone-mc/sandstone/compare/v1.2.5...v1.2.6)


## [v1.2.5](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.5) - 2026-08-03

### Vector math in VectorClass, update `scoreboard`, fix `random.value`

**Full Changelog**: [v1.2.4...v1.2.5](https://github.com/sandstone-mc/sandstone/compare/v1.2.4...v1.2.5)


## [v1.2.4](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.4) - 2026-07-29

### Add `_.await.until`, fully implement `_.throw`, fix async bugs

**Full Changelog**: [v1.2.3...v1.2.4](https://github.com/sandstone-mc/sandstone/compare/v1.2.3...v1.2.4)


## [v1.2.3](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.3) - 2026-07-28

### Add missing NBTs exports

**Full Changelog**: [v1.2.2...v1.2.3](https://github.com/sandstone-mc/sandstone/compare/v1.2.2...v1.2.3)


## [v1.2.2](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.2) - 2026-07-28

### Optimize & fix Flow#and/or

**Full Changelog**: [v1.2.1...v1.2.2](https://github.com/sandstone-mc/sandstone/compare/v1.2.1...v1.2.2)


## [v1.2.1](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.1) - 2026-07-28

### Fix `AllowConst`

**Full Changelog**: [v1.2.0...v1.2.1](https://github.com/sandstone-mc/sandstone/compare/v1.2.0...v1.2.1)


## [v1.2.0](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.0) - 2026-07-27

### Minecraft 26.3

**Full Changelog**: [v1.1.3...v1.2.0](https://github.com/sandstone-mc/sandstone/compare/v1.1.3...v1.2.0)


## [v1.2.0](https://github.com/sandstone-mc/sandstone/releases/tag/v1.2.0) - 2026-07-27

### Minecraft 26.3

**Full Changelog**: [v1.1.3...v1.2.0](https://github.com/sandstone-mc/sandstone/compare/v1.1.3...v1.2.0)


## [v1.1.3](https://github.com/sandstone-mc/sandstone/releases/tag/v1.1.3) - 2026-07-27

### Maintenance and small types fix

**Full Changelog**: [v1.1.2...v1.1.3](https://github.com/sandstone-mc/sandstone/compare/v1.1.2...v1.1.3)


## [v1.1.2](https://github.com/sandstone-mc/sandstone/releases/tag/v1.1.2) - 2026-07-26

### Smithed Summit 2026 Improvements

**Full Changelog**: [v1.1.1...v1.1.2](https://github.com/sandstone-mc/sandstone/compare/v1.1.1...v1.1.2)


## [v1.1.1](https://github.com/sandstone-mc/sandstone/releases/tag/v1.1.1) - 2026-07-01

### Generate functional source maps and fix several types

**Full Changelog**: [v1.1.0...v1.1.1](https://github.com/sandstone-mc/sandstone/compare/v1.1.0...v1.1.1)


## [v1.1.0](https://github.com/sandstone-mc/sandstone/releases/tag/v1.1.0) - 2026-06-30

### Minecraft 26.2

**Full Changelog**: [v1.0.0...v1.1.0](https://github.com/sandstone-mc/sandstone/compare/v1.0.0...v1.1.0)


## [v1.0.0](https://github.com/sandstone-mc/sandstone/releases/tag/v1.0.0) - 2026-06-28

### First stable release, supporting Minecraft 26.1

**Full Changelog**: [v1.0.0-beta.5...v1.0.0](https://github.com/sandstone-mc/sandstone/compare/v1.0.0-beta.5...v1.0.0)


## [v1.0.0-beta.5](https://github.com/sandstone-mc/sandstone/releases/tag/v1.0.0-beta.5) - 2026-05-06

### Various fixes and a web bundle

**Full Changelog**: [v1.0.0-beta.4...v1.0.0-beta.5](https://github.com/sandstone-mc/sandstone/compare/v1.0.0-beta.4...v1.0.0-beta.5)


## [v1.0.0-beta.4](https://github.com/sandstone-mc/sandstone/releases/tag/v1.0.0-beta.4) - 2026-04-08

### Refactor library builds, add source maps, & fix several bugs

**Full Changelog**: [v1.0.0-beta.3...v1.0.0-beta.4](https://github.com/sandstone-mc/sandstone/compare/v1.0.0-beta.3...v1.0.0-beta.4)


## [v1.0.0-beta.3](https://github.com/sandstone-mc/sandstone/releases/tag/v1.0.0-beta.1) - 2026-02-27

### Several bug fixes and a few small features

- Fixed several Flow & misc. bugs, special thanks to @plagiatus for all the reports
- Improved Switch and added new functionality (check out the docs :tiny_potato:)
- Added `Score#getDecomposer` for decomposing bitfields

**Full Changelog**: [v1.0.0-beta.2...v1.0.0-beta.3](https://github.com/sandstone-mc/sandstone/compare/v1.0.0-beta.2...v1.0.0-beta.3)



## [v1.0.0-beta.1](https://github.com/sandstone-mc/sandstone/releases/tag/v1.0.0-beta.1) - 2026-02-15

### First official 1.0.0 beta!

Now requires [Bun](https://bun.com/). This may change in the future, but for now this makes library development a lot easier.

The docs are updated, feel free to check them for any info you need https://sandstone.dev/

Please report any issues here on github or in the community discord.

I am as of today fully supporting this release, my goal is for beta 2 to be released within a week if enough people test and find bugs, and to form the first v1.0 stable release for Minecraft 26.1.

**Full Changelog**: [v1.0.0-beta.0...v1.0.0-beta.1](https://github.com/sandstone-mc/sandstone/compare/v1.0.0-beta.0...v1.0.0-beta.1)



## [v1.0.0-beta.0](https://github.com/sandstone-mc/sandstone/releases/tag/v1.0.0-beta.0) - 2023-12-01

### Soft release of beta, for early testers.

**Full Changelog**: [v1.0.0-alpha.6...v1.0.0-beta.0](https://github.com/sandstone-mc/sandstone/compare/v1.0.0-alpha.6...v1.0.0-beta.0)



## [v1.0.0-alpha.6](https://github.com/sandstone-mc/sandstone/releases/tag/v1.0.0-alpha.6) - 2023-11-28

### Fix lots of bugs, finish missing Flow utilities, add Switch/Case.

**Full Changelog**: [v1.0.0-alpha.5...v1.0.0-alpha.6](https://github.com/sandstone-mc/sandstone/compare/v1.0.0-alpha.5...v1.0.0-alpha.6)



## [v1.0.0-alpha.5](https://github.com/sandstone-mc/sandstone/releases/tag/v1.0.0-alpha.5) - 2023-10-30

### Fix bugs and add support for packType overrides.

**Full Changelog**: [v1.0.0-alpha.4...v1.0.0-alpha.5](https://github.com/sandstone-mc/sandstone/compare/v1.0.0-alpha.4...v1.0.0-alpha.5)



## [v1.0.0-alpha.4](https://github.com/sandstone-mc/sandstone/releases/tag/v1.0.0-alpha.4) - 2023-10-24

### Optimized Flow using return & fixed bugs.

**Full Changelog**: [v1.0.0-alpha.3...v1.0.0-alpha.4](https://github.com/sandstone-mc/sandstone/compare/v1.0.0-alpha.3...v1.0.0-alpha.4)



## [v1.0.0-alpha.3](https://github.com/sandstone-mc/sandstone/releases/tag/v1.0.0-alpha.3) - 2023-10-20

### Add support for Macros!

**Full Changelog**: [v1.0.0-alpha.2...v1.0.0-alpha.3](https://github.com/sandstone-mc/sandstone/compare/v1.0.0-alpha.2...v1.0.0-alpha.3)



## [v1.0.0-alpha.2](https://github.com/sandstone-mc/sandstone/releases/tag/v1.0.0-alpha.2) - 2023-10-17

### Update packages.

**Full Changelog**: [v1.0.0-alpha.1...v1.0.0-alpha.2](https://github.com/sandstone-mc/sandstone/compare/v1.0.0-alpha.1...v1.0.0-alpha.2)



## [v1.0.0-alpha.1](https://github.com/sandstone-mc/sandstone/releases/tag/v1.0.0-alpha.1) - 2023-10-14

### ESM refactor!

### What's Changed
- Update Minecraft Wiki links to new domain after fork by @misode
- Update gamepedia links to the new wiki by @misode
- Refactor for ESM by @MulverineX

### New Contributors
- @misode made their first contribution

**Full Changelog**: [v0.14.0-alpha.20...v1.0.0-alpha.1](https://github.com/sandstone-mc/sandstone/compare/v0.14.0-alpha.20...v1.0.0-alpha.1)



## [v0.14.0-alpha.20](https://github.com/sandstone-mc/sandstone/releases/tag/v0.14.0-alpha.20) - 2023-03-06

### Resource Packs, Smithed, & MCMeta. Oh my!

**Full Changelog**: [v0.14.0-alpha.19...v0.14.0-alpha.20](https://github.com/sandstone-mc/sandstone/compare/v0.14.0-alpha.19...v0.14.0-alpha.20)



## [v0.14.0-alpha.19](https://github.com/sandstone-mc/sandstone/releases/tag/v0.14.0-alpha.19) - 2023-02-23

### Finish Flow & debugging improvements.

**Full Changelog**: [v0.14.0-alpha.18...v0.14.0-alpha.19](https://github.com/sandstone-mc/sandstone/compare/v0.14.0-alpha.18...v0.14.0-alpha.19)



## [v0.14.0-alpha.18](https://github.com/sandstone-mc/sandstone/releases/tag/v0.14.0-alpha.18) - 2023-02-05

### Build workflow fixes.

**Full Changelog**: [v0.14.0-alpha.17...v0.14.0-alpha.18](https://github.com/sandstone-mc/sandstone/compare/v0.14.0-alpha.17...v0.14.0-alpha.18)



## [v0.14.0-alpha.17](https://github.com/sandstone-mc/sandstone/releases/tag/v0.14.0-alpha.17) - 2023-02-05

### Reverted build changes & module setup fixes.

**Full Changelog**: [v0.14.0-alpha.16...v0.14.0-alpha.17](https://github.com/sandstone-mc/sandstone/compare/v0.14.0-alpha.16...v0.14.0-alpha.17)



## [v0.14.0-alpha.16](https://github.com/sandstone-mc/sandstone/releases/tag/v0.14.0-alpha.16) - 2023-02-05

### CLI integration & file saving improvements.

**Full Changelog**: [v0.14.0-alpha.15...v0.14.0-alpha.16](https://github.com/sandstone-mc/sandstone/compare/v0.14.0-alpha.15...v0.14.0-alpha.16)



## [v0.14.0-alpha.15](https://github.com/sandstone-mc/sandstone/releases/tag/v0.14.0-alpha.15) - 2023-02-04

### CLI integration & worldborder fix.

**Full Changelog**: [v0.14.0-alpha.13...v0.14.0-alpha.15](https://github.com/sandstone-mc/sandstone/compare/v0.14.0-alpha.13...v0.14.0-alpha.15)



## [v0.14.0-alpha.13](https://github.com/sandstone-mc/sandstone/releases/tag/v0.14.0-alpha.13) - 2023-01-28

### Fixed scoreboard criteria naming.

**Full Changelog**: [v0.14.0-alpha.12...v0.14.0-alpha.13](https://github.com/sandstone-mc/sandstone/compare/v0.14.0-alpha.12...v0.14.0-alpha.13)



## [v0.14.0-alpha.12](https://github.com/sandstone-mc/sandstone/releases/tag/v0.14.0-alpha.12) - 2023-01-24

### Added `data modify ... from string` command.

**Full Changelog**: [v0.14.0-alpha.11...v0.14.0-alpha.12](https://github.com/sandstone-mc/sandstone/compare/v0.14.0-alpha.11...v0.14.0-alpha.12)



## [v0.14.0-alpha.11](https://github.com/sandstone-mc/sandstone/releases/tag/v0.14.0-alpha.11) - 2023-01-22

### All 1.19.4 changes.

**Full Changelog**: [v0.14.0-alpha.10...v0.14.0-alpha.11](https://github.com/sandstone-mc/sandstone/compare/v0.14.0-alpha.10...v0.14.0-alpha.11)



## [v0.14.0-alpha.10](https://github.com/sandstone-mc/sandstone/releases/tag/v0.14.0-alpha.10) - 2022-01-09

### Fixed Objective in /scoreboard & NBT undefined values.

**Full Changelog**: [v0.14.0-alpha.9...v0.14.0-alpha.10](https://github.com/sandstone-mc/sandstone/compare/v0.14.0-alpha.9...v0.14.0-alpha.10)



## [v0.14.0-alpha.9](https://github.com/sandstone-mc/sandstone/releases/tag/v0.14.0-alpha.9) - 2022-01-06

### Fixed ObjectiveArgument handling.

**Full Changelog**: [v0.14.0-alpha.8...v0.14.0-alpha.9](https://github.com/sandstone-mc/sandstone/compare/v0.14.0-alpha.8...v0.14.0-alpha.9)



## [v0.14.0-alpha.8](https://github.com/sandstone-mc/sandstone/releases/tag/v0.14.0-alpha.8) - 2022-01-06

### Fixed string coordinates handling.

**Full Changelog**: [0.14.0-alpha.7...v0.14.0-alpha.8](https://github.com/sandstone-mc/sandstone/compare/0.14.0-alpha.7...v0.14.0-alpha.8)

## [0.14.0-alpha.7](https://github.com/sandstone-mc/sandstone/releases/tag/0.14.0-alpha.7) - 2021-12-19

### Fixed a lot of bugs.

**Full Changelog**: [0.14.0-alpha.6...0.14.0-alpha.7](https://github.com/sandstone-mc/sandstone/compare/0.14.0-alpha.6...0.14.0-alpha.7)

## [0.14.0-alpha.6](https://github.com/sandstone-mc/sandstone/releases/tag/0.14.0-alpha.6) - 2021-12-06

### Added runOnLoad and runEveryTick for function Tags.

**Full Changelog**: [0.14.0-alpha.5...0.14.0-alpha.6](https://github.com/sandstone-mc/sandstone/compare/0.14.0-alpha.5...0.14.0-alpha.6)

## [0.14.0-alpha.5](https://github.com/sandstone-mc/sandstone/releases/tag/0.14.0-alpha.5) - 2021-09-13

### Added namespace to Custom Resources.

**Full Changelog**: [0.14.0-alpha.4...0.14.0-alpha.5](https://github.com/sandstone-mc/sandstone/compare/0.14.0-alpha.4...0.14.0-alpha.5)

## [0.14.0-alpha.4](https://github.com/sandstone-mc/sandstone/releases/tag/0.14.0-alpha.4) - 2021-09-02

### Fixed different things.

**Full Changelog**: [v0.13.6...0.14.0-alpha.4](https://github.com/sandstone-mc/sandstone/compare/v0.13.6...0.14.0-alpha.4)



## [v0.13.6](https://github.com/sandstone-mc/sandstone/releases/tag/v0.13.6) - 2021-08-10

### Fixed a few bugs & added a small feature.

**Full Changelog**: [v0.13.5...v0.13.6](https://github.com/sandstone-mc/sandstone/compare/v0.13.5...v0.13.6)



## [v0.13.5](https://github.com/sandstone-mc/sandstone/releases/tag/v0.13.5) - 2021-08-02

### Fixed one bug.

**Full Changelog**: [v0.13.4...v0.13.5](https://github.com/sandstone-mc/sandstone/compare/v0.13.4...v0.13.5)



## [v0.13.4](https://github.com/sandstone-mc/sandstone/releases/tag/v0.13.4) - 2021-08-02

### Fixed a bug.

**Full Changelog**: [v0.13.3...v0.13.4](https://github.com/sandstone-mc/sandstone/compare/v0.13.3...v0.13.4)



## [v0.13.3](https://github.com/sandstone-mc/sandstone/releases/tag/v0.13.3) - 2021-08-02

### Some bug fixes!

**Full Changelog**: [v0.13.2...v0.13.3](https://github.com/sandstone-mc/sandstone/compare/v0.13.2...v0.13.3)



## [v0.13.2](https://github.com/sandstone-mc/sandstone/releases/tag/v0.13.2) - 2021-06-22

### Towards 1.17!

**Full Changelog**: [v0.13.1...v0.13.2](https://github.com/sandstone-mc/sandstone/compare/v0.13.1...v0.13.2)



## [v0.13.1](https://github.com/sandstone-mc/sandstone/releases/tag/v0.13.1) - 2021-06-13

### Fixed several bugs.

**Full Changelog**: [v0.13.0...v0.13.1](https://github.com/sandstone-mc/sandstone/compare/v0.13.0...v0.13.1)



## [v0.13.0](https://github.com/sandstone-mc/sandstone/releases/tag/v0.13.0) - 2021-06-11

### This release marks the start of Sandstone's transition to 1.17.

### 1.17
- Added new `/item` command - by @TheEternalShine
- Removed old `/replaceitem` command - by @TheEternalShine
- Added 2 new gamerules - by @TheEternalShine

### Additions
- Added a new syntax for ranges. Now, `[, 8]` will compile to `..8`, and `[5, ]` will compile to `5..`.

### Bug fixes
- Fixed incorrect typing for the `ore_drops` formula - by @jimbuck
- Fixed Selectors not working in specific situations
- Fixed `NBT.not` producing invalid output

Thanks to everyone who participated in this release!

**Full Changelog**: [v0.12.12...v0.13.0](https://github.com/sandstone-mc/sandstone/compare/v0.12.12...v0.13.0)



## [v0.12.12](https://github.com/sandstone-mc/sandstone/releases/tag/v0.12.12) - 2021-06-05

### Fixed `\n` in `/say` not working.

**Full Changelog**: [v0.12.11...v0.12.12](https://github.com/sandstone-mc/sandstone/compare/v0.12.11...v0.12.12)



## [v0.12.11](https://github.com/sandstone-mc/sandstone/releases/tag/v0.12.11) - 2021-06-01

### Fixed web-related bugs.

**Full Changelog**: [v0.12.10...v0.12.11](https://github.com/sandstone-mc/sandstone/compare/v0.12.10...v0.12.11)



## [v0.12.10](https://github.com/sandstone-mc/sandstone/releases/tag/v0.12.10) - 2021-06-01

### Fixed a bug.

**Full Changelog**: [v0.12.9...v0.12.10](https://github.com/sandstone-mc/sandstone/compare/v0.12.9...v0.12.10)



## [v0.12.9](https://github.com/sandstone-mc/sandstone/releases/tag/v0.12.9) - 2021-05-17

### Miscellaneous changes.

**Full Changelog**: [v0.12.8...v0.12.9](https://github.com/sandstone-mc/sandstone/compare/v0.12.8...v0.12.9)



## [v0.12.8](https://github.com/sandstone-mc/sandstone/releases/tag/v0.12.8) - 2021-05-17

### Fixed several command-related bugs.

**Full Changelog**: [v0.12.7...v0.12.8](https://github.com/sandstone-mc/sandstone/compare/v0.12.7...v0.12.8)



## [v0.12.7](https://github.com/sandstone-mc/sandstone/releases/tag/v0.12.7) - 2021-05-16

### Added `Datapack.reset`, and fixed some problems with browsers.

**Full Changelog**: [v0.12.6...v0.12.7](https://github.com/sandstone-mc/sandstone/compare/v0.12.6...v0.12.7)



## [v0.12.6](https://github.com/sandstone-mc/sandstone/releases/tag/v0.12.6) - 2021-04-26

### Removed dependency on `fs` when using a custom file handler.

**Full Changelog**: [v0.12.5...v0.12.6](https://github.com/sandstone-mc/sandstone/compare/v0.12.5...v0.12.6)



## [v0.12.5](https://github.com/sandstone-mc/sandstone/releases/tag/v0.12.5) - 2021-04-26

### Fixed a problem with `_.elseIf`.

**Full Changelog**: [v0.12.4...v0.12.5](https://github.com/sandstone-mc/sandstone/compare/v0.12.4...v0.12.5)



## [v0.12.4](https://github.com/sandstone-mc/sandstone/releases/tag/v0.12.4) - 2021-04-21

### Fixed NBT problems.

**Full Changelog**: [v0.12.3...v0.12.4](https://github.com/sandstone-mc/sandstone/compare/v0.12.3...v0.12.4)



## [v0.12.3](https://github.com/sandstone-mc/sandstone/releases/tag/v0.12.3) - 2021-04-19

### Fixed complex NBT strings resulting in template strings.

**Full Changelog**: [v0.12.2...v0.12.3](https://github.com/sandstone-mc/sandstone/compare/v0.12.2...v0.12.3)



## [v0.12.2](https://github.com/sandstone-mc/sandstone/releases/tag/v0.12.2) - 2021-04-18

### Scores can be set to a NBT.

**Full Changelog**: [v0.12.1...v0.12.2](https://github.com/sandstone-mc/sandstone/compare/v0.12.1...v0.12.2)



## [v0.12.1](https://github.com/sandstone-mc/sandstone/releases/tag/v0.12.1) - 2021-04-18

### Added the `Data` abstraction

Create a Data Instance with `Data('entity', selector)` / `Data('block', rel(0, 0, 0))` / `Data('storage', 'storage_name')`.

Create a Data Point by selecting a specific path:
```ts
const myNBTs = Data('entity', '@s')
const myMotion = myNBTs.select('Motion')
const myXMotion = myMotion.select([0])

// You can also specify several path components
const myHelmetTags = myNBTs.select('ArmorItems', [0], 'tag')
```

All classical operations are available on Data Points:
```ts
myMotion.set(0)
myMotion.set(otherMotion)
// prepend, append, merge, insert are all available
```

The `set` method also works with Scores:
```ts
const randomScore = Variable(5)
myXMotion.set(randomScore, 'double')

// Optionally takes a scale
myXMotion.set(randomScore, 'double', 10)
```

You can test for a specific data using `_.if`, or `execute.if`:
```ts
execute.if(myHelmetTags).run(...)
_.if(myHelmetTags, ...)
```

### Bug fix
Fixed a heavy bug, preventing `Objective.create` from working properly.

**Full Changelog**: [v0.12.0...v0.12.1](https://github.com/sandstone-mc/sandstone/compare/v0.12.0...v0.12.1)



## [v0.12.0](https://github.com/sandstone-mc/sandstone/releases/tag/v0.12.0) - 2021-04-16

### Several syntax improvements.

### Major changes

- Added a new NBT syntax, which complements the current one. The current syntax will **never** be removed. This new syntax uses template strings to directly write NBTs, but does not perform any validation:
```ts
// Before
{
  Invisible: NBT.byte(1),
  Rotation: NBT.float([90, 0]),
}

// After
{
  Invisible: NBT`1b`,
  Rotation: NBT`[90f, 0f]`,
}
```

- Added `NBT.stringify` to get the stringified version of a NBT.

- Added `NBT.not` for selectors. It is used to target entities that do not have the given NBT:
```ts
Selector('@e', { nbt: NBT.not({ Age: 0 }) })
// => @e[nbt=!{Age: 0}]
```

- `createObjective` has been refactored, and split into two methods under a single object `Objective`:
  - `Objective.create`, which serves the same purpose as `createObjective`: it creates a new objective.
  - `Objective.get`, which gets an existing objective, and allows you to use Sandstone methods on it.

- `Objective.ScoreHolder` has been replaced with `Objective(...)`. Therefore, to get the instance of a Score for a player, use this syntax:
```ts
const kills = Objective.create('kills')

const myKills = kills('@s')

const skeletonKills = kills(Selector('@e', { type: 'minecraft:skeleton' }))
```

- Renamed `NBT.integerArray` to `NBT.intArray`

- Added a `notEqualTo` operator on `Score`. It allows to directly check whether two scores are different from each other.

- Fixed the error on `runEach` adding the function to `minecraft:tick`.

- Variables can now be initialized directly with a Score.

### Minor changes
- Renamed `PlayerScore` to `Score`
- Improved appending & prepending to MCFunctions which uses flow statements
- Fixed a problem with `/particles`
- Fixed `basePath.lootTable(...)` not taking options into account

**Full Changelog**: [v0.11.1...v0.12.0](https://github.com/sandstone-mc/sandstone/compare/v0.11.1...v0.12.0)



## [v0.11.1](https://github.com/sandstone-mc/sandstone/releases/tag/v0.11.1) - 2021-04-07

### Fixed a bunch of bugs & renamed a few internal types.

**Full Changelog**: [v0.11.0...v0.11.1](https://github.com/sandstone-mc/sandstone/compare/v0.11.0...v0.11.1)



## [v0.11.0](https://github.com/sandstone-mc/sandstone/releases/tag/v0.11.0) - 2021-04-05

### Changes in `execute.if` and data.

**Full Changelog**: [v0.10.2...v0.11.0](https://github.com/sandstone-mc/sandstone/compare/v0.10.2...v0.11.0)



## [v0.10.2](https://github.com/sandstone-mc/sandstone/releases/tag/v0.10.2) - 2021-04-05

### Fixed a bunch of bugs.

**Full Changelog**: [v0.10.1...v0.10.2](https://github.com/sandstone-mc/sandstone/compare/v0.10.1...v0.10.2)



## [v0.10.1](https://github.com/sandstone-mc/sandstone/releases/tag/v0.10.1) - 2021-04-04

### Conflict strategies.

**Full Changelog**: [v0.10.0...v0.10.1](https://github.com/sandstone-mc/sandstone/compare/v0.10.0...v0.10.1)



## [v0.10.0](https://github.com/sandstone-mc/sandstone/releases/tag/v0.10.0) - 2021-03-27

### The name-breaking update.

**Full Changelog**: [v0.9.9...v0.10.0](https://github.com/sandstone-mc/sandstone/compare/v0.9.9...v0.10.0)



## [v0.9.9](https://github.com/sandstone-mc/sandstone/releases/tag/v0.9.9) - 2021-03-10

### Updated README.

**Full Changelog**: [v0.9.8...v0.9.9](https://github.com/sandstone-mc/sandstone/compare/v0.9.8...v0.9.9)



## [v0.9.8](https://github.com/sandstone-mc/sandstone/releases/tag/v0.9.8) - 2021-03-10

### Minor update.

**Full Changelog**: [v0.9.7...v0.9.8](https://github.com/sandstone-mc/sandstone/compare/v0.9.7...v0.9.8)



## [v0.9.7](https://github.com/sandstone-mc/sandstone/releases/tag/v0.9.7) - 2021-03-05

### Fixed 1 bug & documentation.

**Full Changelog**: [v0.9.6...v0.9.7](https://github.com/sandstone-mc/sandstone/compare/v0.9.6...v0.9.7)



## [v0.9.6](https://github.com/sandstone-mc/sandstone/releases/tag/v0.9.6) - 2021-02-22

### Fixed 3 breaking bugs.

**Full Changelog**: [v0.9.5...v0.9.6](https://github.com/sandstone-mc/sandstone/compare/v0.9.5...v0.9.6)



## [v0.9.5](https://github.com/sandstone-mc/sandstone/releases/tag/v0.9.5) - 2021-01-24

### Fixed 2 errors & lowered minimum NodeJS version to 12.9.0.

**Full Changelog**: [v0.9.4...v0.9.5](https://github.com/sandstone-mc/sandstone/compare/v0.9.4...v0.9.5)



## [v0.9.4](https://github.com/sandstone-mc/sandstone/releases/tag/v0.9.4) - 2021-01-21

### Fixed `nbt` property in Selectors.

**Full Changelog**: [v0.9.3...v0.9.4](https://github.com/sandstone-mc/sandstone/compare/v0.9.3...v0.9.4)



## [v0.9.3](https://github.com/sandstone-mc/sandstone/releases/tag/v0.9.3) - 2021-01-21

### Fixed some errors.

**Full Changelog**: [v0.9.2...v0.9.3](https://github.com/sandstone-mc/sandstone/compare/v0.9.2...v0.9.3)



## [v0.9.2](https://github.com/sandstone-mc/sandstone/releases/tag/v0.9.2) - 2021-01-18

### Fixed 2 bugs.

**Full Changelog**: [v0.9.1...v0.9.2](https://github.com/sandstone-mc/sandstone/compare/v0.9.1...v0.9.2)



## [v0.9.1](https://github.com/sandstone-mc/sandstone/releases/tag/v0.9.1) - 2021-01-16

### Several improvements.

**Full Changelog**: [v0.9.0...v0.9.1](https://github.com/sandstone-mc/sandstone/compare/v0.9.0...v0.9.1)



## [v0.9.0](https://github.com/sandstone-mc/sandstone/releases/tag/v0.9.0) - 2021-01-13

### Several improvements.

**Full Changelog**: [v0.8.10...v0.9.0](https://github.com/sandstone-mc/sandstone/compare/v0.8.10...v0.9.0)



## [v0.8.10](https://github.com/sandstone-mc/sandstone/releases/tag/v0.8.10) - 2021-01-12

### Fixed 2 breaking bugs.

**Full Changelog**: [v0.8.9...v0.8.10](https://github.com/sandstone-mc/sandstone/compare/v0.8.9...v0.8.10)



## [v0.8.9](https://github.com/sandstone-mc/sandstone/releases/tag/v0.8.9) - 2021-01-12

### Fixed 4 breaking bugs.

**Full Changelog**: [v0.8.8...v0.8.9](https://github.com/sandstone-mc/sandstone/compare/v0.8.8...v0.8.9)



## [v0.8.8](https://github.com/sandstone-mc/sandstone/releases/tag/v0.8.8) - 2021-01-09

### Added if/else inlining, and some options.

**Full Changelog**: [v0.8.7...v0.8.8](https://github.com/sandstone-mc/sandstone/compare/v0.8.7...v0.8.8)



## [v0.8.7](https://github.com/sandstone-mc/sandstone/releases/tag/v0.8.7) - 2021-01-05

### Added a `sandstone/types` endpoint.

**Full Changelog**: [v0.8.6...v0.8.7](https://github.com/sandstone-mc/sandstone/compare/v0.8.6...v0.8.7)



## [v0.8.6](https://github.com/sandstone-mc/sandstone/releases/tag/v0.8.6) - 2021-01-05

### Fixed a bunch of Advancement properties types & descriptions.

**Full Changelog**: [v0.8.5...v0.8.6](https://github.com/sandstone-mc/sandstone/compare/v0.8.5...v0.8.6)



## [v0.8.5](https://github.com/sandstone-mc/sandstone/releases/tag/v0.8.5) - 2021-01-05

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

**Full Changelog**: [v0.8.4...v0.8.5](https://github.com/sandstone-mc/sandstone/compare/v0.8.4...v0.8.5)



## [v0.8.4](https://github.com/sandstone-mc/sandstone/releases/tag/v0.8.4) - 2021-01-05

### Fixed bugs with async MCFunctions, and internal enhancements.

**Full Changelog**: [v0.8.3...v0.8.4](https://github.com/sandstone-mc/sandstone/compare/v0.8.3...v0.8.4)



## [v0.8.3](https://github.com/sandstone-mc/sandstone/releases/tag/v0.8.3) - 2020-12-28

### Added scripts support.

Added support for `beforeAll`, `beforeSave` and `afterAll` scripts.

**Full Changelog**: [v0.8.0...v0.8.3](https://github.com/sandstone-mc/sandstone/compare/v0.8.0...v0.8.3)



## [v0.8.0](https://github.com/sandstone-mc/sandstone/releases/tag/v0.8.0) - 2020-12-26

### Quality of life improvements.

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

**Full Changelog**: [v0.7.1...v0.8.0](https://github.com/sandstone-mc/sandstone/compare/v0.7.1...v0.8.0)



## [v0.7.1](https://github.com/sandstone-mc/sandstone/releases/tag/v0.7.1) - 2020-12-16

### Hotfix: fixed constants.

**Full Changelog**: [v0.7.0...v0.7.1](https://github.com/sandstone-mc/sandstone/compare/v0.7.0...v0.7.1)



## [v0.7.0](https://github.com/sandstone-mc/sandstone/releases/tag/v0.7.0) - 2020-12-06

### Added delayed statements.

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

**Full Changelog**: [v0.6.2...v0.7.0](https://github.com/sandstone-mc/sandstone/compare/v0.6.2...v0.7.0)



## [v0.6.2](https://github.com/sandstone-mc/sandstone/releases/tag/v0.6.2) - 2020-11-29

### Added support for sandstone-cli.

**Full Changelog**: [v0.6.0...v0.6.2](https://github.com/sandstone-mc/sandstone/compare/v0.6.0...v0.6.2)



## [v0.6.0](https://github.com/sandstone-mc/sandstone/releases/tag/v0.6.0) - 2020-11-25

### Improved documentation & renamed `mcfunction` to `MCFunction`.

**Full Changelog**: [v0.5.4...v0.6.0](https://github.com/sandstone-mc/sandstone/compare/v0.5.4...v0.6.0)



## [v0.5.4](https://github.com/sandstone-mc/sandstone/releases/tag/v0.5.4) - 2020-11-21

### Several improvements to `savePack`.

**Full Changelog**: [v0.5.3...v0.5.4](https://github.com/sandstone-mc/sandstone/compare/v0.5.3...v0.5.4)



## [v0.5.3](https://github.com/sandstone-mc/sandstone/releases/tag/v0.5.3) - 2020-11-13

### Fixed a bug where directories would be created even when using a custom file handler.

**Full Changelog**: [v0.5.2...v0.5.3](https://github.com/sandstone-mc/sandstone/compare/v0.5.2...v0.5.3)



## [v0.5.2](https://github.com/sandstone-mc/sandstone/releases/tag/v0.5.2) - 2020-11-13

### Added `BasePath` to change the path & namespace of nested resources.

**Full Changelog**: [v0.5.1...v0.5.2](https://github.com/sandstone-mc/sandstone/compare/v0.5.1...v0.5.2)



## [v0.5.1](https://github.com/sandstone-mc/sandstone/releases/tag/v0.5.1) - 2020-11-13

### Provided better type information for resources like advancements & predicates.

**Full Changelog**: [v0.5.0...v0.5.1](https://github.com/sandstone-mc/sandstone/compare/v0.5.0...v0.5.1)



## [v0.5.0](https://github.com/sandstone-mc/sandstone/releases/tag/v0.5.0) - 2020-11-12

### Renamed `saveDatapack` to `savePack`, and added custom file handlers.

**Full Changelog**: [v0.4.9...v0.5.0](https://github.com/sandstone-mc/sandstone/compare/v0.4.9...v0.5.0)



## [v0.4.9](https://github.com/sandstone-mc/sandstone/releases/tag/v0.4.9) - 2020-11-07

### Renamed `NBT.shorts` -> `NBT.short`, `NBT.bytes` -> `NBT.byte`, etc.

**Full Changelog**: [v0.4.8...v0.4.9](https://github.com/sandstone-mc/sandstone/compare/v0.4.8...v0.4.9)



## [v0.4.8](https://github.com/sandstone-mc/sandstone/releases/tag/v0.4.8) - 2020-11-04

### Function tags improvements.

**Full Changelog**: [v0.4.7...v0.4.8](https://github.com/sandstone-mc/sandstone/compare/v0.4.7...v0.4.8)



## [v0.4.7](https://github.com/sandstone-mc/sandstone/releases/tag/v0.4.7) - 2020-10-10

### Documented execute subcommands.

**Full Changelog**: [v0.4.6...v0.4.7](https://github.com/sandstone-mc/sandstone/compare/v0.4.6...v0.4.7)



## [v0.4.6](https://github.com/sandstone-mc/sandstone/releases/tag/v0.4.6) - 2020-10-10

### Commands documentation & validation improvements.

**Full Changelog**: [v0.4.5...v0.4.6](https://github.com/sandstone-mc/sandstone/compare/v0.4.5...v0.4.6)



## [v0.4.5](https://github.com/sandstone-mc/sandstone/releases/tag/v0.4.5) - 2020-10-07

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

**Full Changelog**: [v0.4.4...v0.4.5](https://github.com/sandstone-mc/sandstone/compare/v0.4.4...v0.4.5)



## [v0.4.4](https://github.com/sandstone-mc/sandstone/releases/tag/v0.4.4) - 2020-10-06

### Small improvements.

**Full Changelog**: [v0.4.3...v0.4.4](https://github.com/sandstone-mc/sandstone/compare/v0.4.3...v0.4.4)



## [v0.4.3](https://github.com/sandstone-mc/sandstone/releases/tag/v0.4.3) - 2020-10-04

### Fix recipes not being saved in the correct folder.

**Full Changelog**: [v0.4.2...v0.4.3](https://github.com/sandstone-mc/sandstone/compare/v0.4.2...v0.4.3)



## [v0.4.2](https://github.com/sandstone-mc/sandstone/releases/tag/v0.4.2) - 2020-10-03

### Changed `pack.mcmeta` & added keywords for NPM.

**Full Changelog**: [v0.4.1...v0.4.2](https://github.com/sandstone-mc/sandstone/compare/v0.4.1...v0.4.2)



## [v0.4.1](https://github.com/sandstone-mc/sandstone/releases/tag/v0.4.1) - 2020-10-03

### 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.
