Swift Adventure Lab Mod (26.3, 1.21.1) – Test Custom Data Packs with Dummy
Swift Adventure Lab Mod lets you write and execute automated game tests inside data packs using mcfunction files. The mod provides built-in testing commands to check game conditions, run asynchronous checks, and verify mechanics without manual testing. It works both inside regular worlds and in automated headless server environments.
![]()
Features:
- Runs tests written directly inside the
testfolder of any data pack. - Adds asynchronous testing capabilities using the
awaitkeyword to delay checks across game ticks. - Spawns controllable dummy players that jump, sneak, sprint, mine, and attack during testing sequences.
- Checks blocks, NBT data, entity selectors, predicates, scores, and recent chat messages.
- Provides header directives such as
@template,@timeout,@optional, and@dummyto set up testing scenes. - Supports headless server runs with automated exit codes and GitHub workflow annotations for continuous testing.
Commands:
/test runall: Runs all available tests across all loaded data packs./test runall <namespace>: Runs every test from a specified namespace./test run <test>: Runs a single test by its exact name./test runfailed: Re-runs all tests that failed during the previous check./test runthis: Runs the test nearest to your current position./test runthese: Runs all tests located within a 200-block radius./fail <text>: Immediately fails the current test and stops the function./succeed: Marks the current test as passed and stops the function./assert <condition>: Fails the test if the specified condition is false./assert not <condition>: Fails the test if the specified condition is true./await <condition>: Keeps checking a condition each tick until it succeeds or times out./await delay <time>: Pauses test execution for a specified amount of time./dummy <name> spawn: Spawns a fake player into the world for interaction tests./dummy <name> leave: Removes the fake player from the world./dummy <name> attack <entity>: Forces the fake player to attack a target mob./dummy <name> mine <pos>: Forces the fake player to mine a block at a target coordinate.
How to Use:
- Create a
testfolder inside your data pack namespace directory. - Add an
.mcfunctionfile inside the test folder with your test logic. - Add directives like
@templateor@dummyat the top of the function file. - Write assertion commands such as
assertorawaitto check game states. - Run
/test runallin-game to execute your tests and review the output.
Screenshots:



How to Install:
New to Minecraft? Follow our step-by-step guide to install Mods on your PC.View Guide
Requirements:
Swift Adventure Lab Mod Download Links
For Minecraft 26.3
For Minecraft 26.2
For Minecraft 26.1.2, 26.1.1, 26.1
For Minecraft 1.21.11
For Minecraft 1.21.10, 1.21.9
For Minecraft 1.21.8, 1.21.7, 1.21.6
For Minecraft 1.21.5
For Minecraft 1.21.4
For Minecraft 1.21.1, 1.21
How do you usually discover new mods to try out?
13 responses · See the full results →
0



















This post has no comments yet. Be the first — your comment will appear here.