SpASM
by mine_diver
SpASM is a Fabric library for registering bytecode transformers that act on classes without requiring their exact names.
What it does
Mod developers use SpASM to register class transformers, which change Java classes at load time through ASM bytecode editing. Because a transformer can select its targets by pattern rather than by listing each class name, a single transformer can reach many classes. The library is published for Fabric only, for game versions rd-132211 – 1.20.1, and its latest file is 0.2.2 for 1.20.1.
Key features
Pattern-based class selection
Transformers can match classes dynamically across the codebase, so the author does not need to name each target.
Pure ASM approach
The library is built directly on ASM, with no additional bytecode framework layered on top of it.
Transformer registration API
Transformers are registered through the ClassTransformer interface in the net.minecraft.spasm API package.
Compatibility
Latest build for each game version and loader.
1.20.x2 of 2 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
1.13.x3 of 3 versions with builds
1.12.x3 of 3 versions with builds
1.11.x3 of 3 versions with builds
1.10.x3 of 3 versions with builds
1.9.x5 of 5 versions with builds
1.8.x5 of 5 versions with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
33 older game versions (1.0 – 1.8.4) not shown. All files on Modrinth
Questions
Does SpASM need to be installed on both sides?
In the catalog
SpASM is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from mine_diver
Similar mods
What the author says
Allows registering class transformers that process all classes, without specifying the class's names like in FabricASM. Interface - net.mine_diver.spasm.api.transform.ClassTransformer
Official listing
- Modrinth page
- modrinth.com/mod/spasm
- Owner
- mine_diver
- Published
- 2023-06-24
- Updated on Modrinth
- 2023-09-05
- Facts verified
- 2026-10-15
