开源软件名称(OpenSource Name):stanhebben/MineTweaker3开源软件地址(OpenSource Url):https://github.com/stanhebben/MineTweaker3开源编程语言(OpenSource Language):Java 98.5%开源软件介绍(OpenSource Introduction):MineTweaker 3Welcome 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 contributionsThe 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 buildingThe MineTweaker 3 source is setup as a multi-project Gradle project:
Developing and running MineTweaker from sourceConfiguration settings are stored in configuration.gradle . If buildSrc fails to compile you might have to edit the
+ 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:
Adding mod supportWhen 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 releaseUse the assembleAll task to build all versions, or assembleMCxxx tasks to build a specific version. The files will be output in /build/libs . Customized buildsYou 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) ;) |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论