- Added ascii coloring for the auto test server, can be disabled with
-Dpacktest.auto.coloring=false
- Added
/assert data
- Fixed issue where the last failing commands would mark the test as failed
- Added
/succeed when
which tries a condition every tick until it succeeds or times out - Improved error messages for
/assert block
and/assert entity
- Added
/assert not
command - Improved output log from auto test server
- The exit code of the auto test server now matches the number of failed tests
- Added
/assert score
with same syntax as/execute if score
- Added auto test server, enabled by starting the server with
-Dpacktest.auto
, server will automatically load data packs inworld/datapacks/
- Added
@batch
,@timeout
and@optional
test directives - The
/test
command now requires OP-level 2
*.mcfunction
files in thetests
folder are automatically loaded as tests, to be used in/test runall
- Added
/fail <text component>
command - Added
/succeed
command - Added
/assert entity
,/assert block
, and/assert predicate
commands