- Added
assert entity <selector> insidecommand, which only matches entities inside the test structure bounds (inflated by 1 block) - Dummies are now automatically removed when a test succeeds, like other entities
- Fixed issue where forceloaded chunks would get removed after running tests
- Fixes an issue where modded clients without the mod could not connect to servers with the mod
- Fixes some placeholder values in the mod metadata
- Fixes an issue causing the test server to fail
- Added
/awaitcommand, which works similar to/assertbut keeps testing the condition every tick - Removed
/succeed when, instead use/await - Added
/await delaycommand to sleep for a specified time - Added
/assert chatcommand to test for tellraw messages matching a regex pattern - Fixed issue with dummies loading data from disk from previous sessions
- Added dummies, which are simulated, fake players
- Added
/dummycommand - Added
@dummydirective to spawn a dummy and set@sto this dummy - Added
@beforebatchand@afterbatchdirectives to run commands
- Added mod icon
- 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 whenwhich tries a condition every tick until it succeeds or times out - Improved error messages for
/assert blockand/assert entity
- Added
/assert notcommand - Improved output log from auto test server
- The exit code of the auto test server now matches the number of failed tests
- Added
/assert scorewith 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,@timeoutand@optionaltest directives - The
/testcommand now requires OP-level 2
*.mcfunctionfiles in thetestsfolder are automatically loaded as tests, to be used in/test runall- Added
/fail <text component>command - Added
/succeedcommand - Added
/assert entity,/assert block, and/assert predicatecommands


