MTLib
by jaredlll08
MTLib is a Forge library that CraftTweaker addon authors can use to build their scripts and mods.
What it does
Addon developers can use the classes and methods MTLib provides, including the helper classes carried over from Modtweaker utilities, base command classes and IUndoable action classes, but the library is optional and an addon can ignore it. It needs CraftTweaker to be installed alongside it. Servers that run it need every player to install it too. Files exist for Forge 1.10.2 – 1.12.2, with 3.0.7 for 1.12.2 as the latest release.
Key features
Undoable actions
IUndoable action classes let addon code reverse changes made by CraftTweaker scripts.
Base command classes
Base command classes provide a shared structure for commands that dump information from CraftTweaker.
Modtweaker helper classes
Utility and helper classes from Modtweaker are included, so addon authors need not rewrite them.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
How it compares
CraftTweakerAdditions is a Forge addon for 1.12.2 released under the GNU Affero General Public License v3.0 only, and it is open source. Extra Tweaker is also a Forge addon for 1.12.2, open source under the MIT License, and it adds its own script functions rather than serving as a shared library.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| MTLib | Forge | 1.10.2 – 1.12.2 | Client and server | 2023-06-07 |
| CraftTweakerAdditions | Forge | 1.12.2 | Client and server | 2026-07-04 |
| Extra Tweaker | Forge | 1.12.2 | Client and server | 2025-08-02 |
Questions
Does MTLib need CraftTweaker?
Does an addon have to use MTLib?
In the catalog
MTLib is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 2,920 mods support Minecraft 1.12.2.
More from jaredlll08
Similar mods
What the author says
MTLib is a library mod for use by Crafttweaker addons, it does not have to be used, but it does provide some helpful methods and classes to make Crafttweaker addons easier to create. This includes all of Modtweaker util / helper classes, such as the IUndoable action classes and base command "dump" classes.
Official listing
- Modrinth page
- modrinth.com/mod/mtlib
- Owner
- jaredlll08
- Published
- 2023-06-07
- Updated on Modrinth
- 2023-06-07
- Facts verified
- 2026-10-15
