ModsJava
Swift Adventure Lab Mod (26.2, 1.21.1) – Test Custom Data Packs with Dummy
Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.
⬇ Download


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:



Swift Adventure Lab Mod Download Links
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: In MC Java Mods, or directly above on this page.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
File checked by MCModsHub
- Downloads as 516978.mcaddon
- Download size: 113 KB
- Download link checked 28 Sept 2026 — working
- Mirrored on our own servers — the download does not depend on the original host
These come from our own check of the pack file, not from the source page.