ModsFinder

MTLib

by jaredlll08

MTLib is a Forge library that CraftTweaker addon authors can use to build their scripts and mods.

ForgeClient and serverMIT License1.10.2 – 1.12.2

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

  1. Undoable actions

    IUndoable action classes let addon code reverse changes made by CraftTweaker scripts.

  2. Base command classes

    Base command classes provide a shared structure for commands that dump information from CraftTweaker.

  3. 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.

1.12.23.0.7
1.12.13.0.5
1.123.0.5
1.11.22.0.3
1.10.21.0.3
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

CraftTweakerCraftTweaker allows modpacks and servers to customize the game. With CraftTweaker you can change recipes, script events, add new commands and even change item properties!
Required

How it compares

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
MTLibForge1.10.2 – 1.12.2Client and server2023-06-07
CraftTweakerAdditionsForge1.12.2Client and server2026-07-04
Extra TweakerForge1.12.2Client and server2025-08-02

Questions

Does MTLib need CraftTweaker?

Yes. CraftTweaker is a required dependency, so it must be installed alongside MTLib on Forge 1.12.2.

Does an addon have to use MTLib?

No. MTLib is optional for addon authors, who may use its classes and methods or write their own code.

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

All projects

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.
jaredlll08, on the Modrinth page

Official listing

Owner
jaredlll08
Published
2023-06-07
Updated on Modrinth
2023-06-07
Facts verified
2026-10-15

Tags