- Contrib.commands failed to parse data sources with empty path (
3663d96
) - Make nbt_type argument of Data.cast optional (
beca595
) - Type checking failing for expandable compound types (
3b8c57e
) - Improve source reuse optimization (
6f1aef7
)
- Remove scientific notation formatting for small scale numbers (
e72080d
)
- Overloaded len function for data sources (
792657b
) - Add string data source indexing and slicing (
4b5fa58
)
- Add store result inlining rule (
006750b
) - Lazy sources should discard previous value when reused (
2101335
)
- Data comparison operator (
749dd79
) - Add and/or operator support for sources/lazy sources (
f8013e9
) - Improved if..elif..else with multibranch (
1746226
) - Add source branching and comparison operators (
f8d8ec4
)
- Strip run execute from commands (
c8648f2
)
- Source lazy values and data source operator handlers (
6832b91
) - Type checking (
b031303
) - Literal casting (
9874ca9
) - Separate data source interfaces for each nbt type (
dbe9a74
) - Support dicts, lists, arrays and union types (
1097f5f
)
- Only cast numeric nbt types (
86d49b1
)
- Remove rich import (
a07da7d
)
- Specify data source types using square brackets (
b7b96fb
)
- Reuse temporary score names (
0eb9556
) - Make api not dependent of Context object (
72afafe
) - Reduce number of temporaries used for score and data operations (
8756e50
)
- Fix inheritance of expression nodes and dataclasses.replace (
bd6ac3d
)
- Preserve key/default logic of builtin min/max functions (
c127114
)
- Support literal floating numbers on score multiplication/division (
eea20d4
)
- Make wrapped min/max functions behave more like the builtin ones (
7e3b400
) - Remove commands that multiply/divide by 1, add/subtract by 0 (
6d8cf88
)
- Import all subpackages in init for conveniency (
7c2ed2c
)
- Generate negative score constants in init function (
9ec47cb
)
- Implicitly convert sources into text components (
d27870e
) - Add
component
method to convert sources into text components (a22caf9
)
- Require bolt_expressions.contrib.commands by default (
f748ee3
) - Add bolt_expressions.contrib.commands (
e40ae95
)
- Let custom objectives be added to init function (
99483fb
)
- Generate init function only when needed (
01f3193
) - Prevent init function from having unused objectives (
4b6a490
) - Prevent init function from having duplicated/unused constants (
05a2638
)
- DataSource._copy doesn't support subclasses. (
21d1db3
)
- Let dicts be used as filter keys in DataSource paths (
f10cbdf
)
- Api method to cast expressions to any nbt type (
eb3d532
)
- Scale nbt data with multiplication/division (
ebf9420
) - Directly create score sources using the Scoreboard API (
4d42c97
) - Create multiple score sources at once (
4eca574
)
- Use
bolt
package instead ofmecha.contrib.bolt
inapi.py
(ace4b1a
)
- Changes related to the new
bolt
package. (6ceac3b
) - Fix tutorial codeblocks not using mcfunction lang (
aff3d90
)
- Add expression node methods (
97b5a44
)
objective_prefix
config, optionalprefixed
flag when creating an objective. (6c43d51
)holder
andobj
property aliases for score sources. (e6bfdb8
)
- Init function would be prepended to load tag even if
Expression.init
was called (34080fe
)
- Expression.init() creates function with incorrect init path (
665edcc
)
- Generate_init error (
65f8b5a
)
- Forcing a release to build new docs ffs (
e30adf7
)
- Fix workflow (3.10 versus "3.10") (
9cbc582
) - Auto build and deploy docs (
3f8bf8e
) - Old usage on README.md fixed (
60808b1
) - Added tutorial and cleaned README.md (
b786052
)
- Scoreboard.objective now works and is preferred (
e292d99
)
- Ctx.inject is now implicit (
f29406f
)
- Tests now properly index ensuring that github passes all tests (
77aafd1
) - Rmin and rmax now function correctly (
3410fee
) - More missing callbacks (
c6451e8
)