Tweak your minecraft experience
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-27 15:23:49 +02:00
.github/workflows Optimize Images & Workflow (#29) 2026-04-26 08:41:39 +02:00
buildSrc [bs] spotless apply for jenkins 2024-01-09 10:31:05 -06:00
gradle update buildscript and bump zenscript to 1.0.2 (#30) 2026-07-27 15:23:49 +02:00
src/main Optimize Images & Workflow (#29) 2026-04-26 08:41:39 +02:00
.editorconfig migrate to new buildscript 2022-03-05 03:02:05 +08:00
.git-blame-ignore-revs [ci skip] Add git-blame-ignore-revs for spotlessApply 2023-01-29 11:36:54 +00:00
.gitattributes Update buildSrc to work with the newest gradle 2023-01-29 11:47:18 +00:00
.gitignore update 2025-04-02 10:03:55 -05:00
addon.gradle Update buildSrc to work with the newest gradle 2023-01-29 11:47:18 +00:00
build.gradle [ci skip] upgraded build system 2024-02-04 19:57:46 +00:00
CHANGELOG-2.1.1.0.md add(Craft-Tweaker)Changelog 2021-06-28 10:12:45 +02:00
CODEOWNERS migrate to new buildscript 2022-03-05 03:02:05 +08:00
dependencies.gradle update buildscript and bump zenscript to 1.0.2 (#30) 2026-07-27 15:23:49 +02:00
gradle.properties update bs + gradle + deps (#25) 2026-03-13 23:00:08 +01:00
gradlew update bs + gradle + deps (#25) 2026-03-13 23:00:08 +01:00
gradlew.bat update bs + gradle + deps (#25) 2026-03-13 23:00:08 +01:00
readme.md - Removed 1.6.4 2015-09-05 16:54:32 +02:00
repositories.gradle Fix missing ModOnly-IC2 annotations (#14) 2023-07-04 22:00:09 +01:00
settings.gradle update buildscript and bump zenscript to 1.0.2 (#30) 2026-07-27 15:23:49 +02:00

MineTweaker 3

Welcome to the MineTweaker 3 source! MineTweaker 3 is the new version of MineTweaker and will be released for both 1.7.2 and 1.6.4, as well as upgraded as new versions of Minecraft become available.

License and contributions

The source code is freely available in here, at GitHub. The mod itself may be redistributed in modpacks as long as these modpacks are distributed for free. No money can be made from the distribution of the mod.

Want to contribute? That's great! Contact me if you want to propose or discuss new features. Adding new mods is definitely welcome and doesn't need prior permission (just follow the existing structure, add it & make a pull request). Credit will be granted appropriately.

Project structure and building

The MineTweaker 3 source is setup as a multi-project Gradle project:

  • ZenScript is the custom scripting engine
  • MineTweaker3-API is the shared API for all MineTweaker versions
  • MineTweaker3-MCXYZ-Main are the main MineTweaker implementations for Minecraft X.Y.Z
  • MineTweaker3-MCXYZ-Mod-XXX are the mod support projects. They are compiled and obfuscated independently and then assembled later

Developing and running MineTweaker from source

Configuration settings are stored in configuration.gradle . If buildSrc fails to compile you might have to edit the +javaToolsJar location in configuration.gradle

In order to use the project, you have to execute the setupDecompWorkspaceAll (or use setupDecomWorkspace17X if you have errors on the 1.6.4 forge patches). It will prepare all the subprojects for you. After that, you can simply run minecraft with the runClient task in MineTweaker3-XYZ-Main project, which will run MineTweaker (without mod support). Likewise, you can use the runClient task on any of its mod support library subprojects, which will run MineTweaker with only the mod support for that specific mod.

The following global tasks are available:

  • setupDecompWorkspaceAll: sets up all workspaces in all subprojects
  • setupDecompWorkspace17X: sets up all workspaces for anything that's not 1.6.4
  • assembleMC164: builds MineTweaker for Minecraft 1.6.4
  • assembleMC172: builds MineTweaker for Minecraft 1.7.2
  • assembleMC1710: builds MineTweaker for Minecraft 1.7.10
  • assembleAll: builds all versions of MineTweaker

Adding mod support

When starting a new mod support library, it is best to start from an existing one. For instance, copy the NEI support library, and remove the source files inside the src/java/main directory. Then you can work with it like any other support library. Make sure to update configuration.gradle to add the projects in there.

Building a release

Use the assembleAll task to build all versions, or assembleMCxxx tasks to build a specific version. The files will be output in /build/libs .

Customized builds

You may modify and redistribute your own customized version of MineTweaker as long as you mark your own version of MineTweaker as CUSTOMIZED (that is, put CUSTOMIZED in both the jar and mod name) and as long as you make the modified source code publicly available. Obviously, I cannot offer support for customized builds. Just be so kind to mention the original source and author (me) ;)