Skip to content

Commit

Permalink
CHANGELOG.md and bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
melontini committed May 10, 2024
1 parent 3174bbc commit 6c58aca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
26 changes: 3 additions & 23 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,6 @@

User Changes:

This update extends the expression syntax to support nbt and block properties.

* Returned to downloading mappings at startup.
* Compound and List NBT tags are now properly supported.
* Added `nbt` field to item stacks, entities and block entities.

This Allows you to access NBT data like so: `this_entity.nbt.Air`. You should avoid NBT access, as it can get extremely slow.

* Added `properties` field to *states.

This can be used to access block state properties like so: `block_state.properties.candles`.

* Added lots of new functions. Consult the wiki for more info!
* Added `short_circuit` to `defaulted`, `all_of`, `any_of`. If true, commands will terminate immediately upon the condition failing.
* `hasContext` and `structContainsKey` now accept VarArgs.
* Removed arbitrary map support, as it was pretty poorly implemented.
* Constants are now case-sensitive.

Dev Changes:

* Moved Command codecs to MapCodec.
* Added BooleanExpression, similar to Arithmtica.
* Added `runTriState` to EventExecutors.
* Fixed `arrayAllMatch` acting like `arrayAnyMatch`.
* Added `attributes` field to living entities.
* Loot Context access in expressions is now cached.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ org.gradle.caching=true
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10
# Mod Properties
mod_version=0.4.0
mod_version=0.4.1
maven_group=me.melontini
archives_base_name=commander

0 comments on commit 6c58aca

Please sign in to comment.