generated from anatawa12/ForgeGradle-example
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
1,354 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,22 @@ | ||
# anatawa12's ForgeGradle 1.2 fork for Gradle 4.4.1+ - example project | ||
|
||
This is an example mod using the [fork of ForgeGradle-1.2 made by anatawa12](https://github.com/anatawa12/ForgeGradle-1.2). | ||
This fork supports Gradle 4.4.1 and later. This example project uses Gradle 5.6.4. | ||
|
||
## How to use this example project | ||
|
||
You can download this example project from [here](https://github.com/anatawa12/ForgeGradle-example/archive/master.zip), or use it as a template on Github. | ||
This project can be used as a replacement for Forge's 1.7.10 MDK. | ||
|
||
## How to replace ForgeGradle 1.2. with anatawa12's fork | ||
Although this example project has some differences to Forge's 1.7.10 MDK, anatawa12's fork of ForgeGradle 1.2 can be used by most projects with only minimal changes to their Gradle build script. | ||
|
||
Here is a list of changes to Forge's 1.7.10 MDK Gradle build script, to replace the official ForgeGradle 1.2 plugin with the fork. These changes are likely to work with most projects based on Forge's 1.7.10 MDK. | ||
|
||
In the repositories block of the buildscript section, add jcenter, and switch the Forge maven to use HTTPS instead of HTTP: | ||
```diff | ||
repositories { | ||
mavenCentral() | ||
maven { | ||
name = "forge" | ||
- url = "http://files.minecraftforge.net/maven" | ||
+ url = "https://maven.minecraftforge.net/" | ||
} | ||
``` | ||
|
||
Also in the dependencies block of the buildscript section, change the dependency on Forge's official ForgeGradle 1.2 to the fork: | ||
```diff | ||
dependencies { | ||
- classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT' | ||
+ classpath ('com.anatawa12.forge:ForgeGradle:1.2-1.1.+') { | ||
+ changing = true | ||
+ } | ||
} | ||
``` | ||
|
||
The Gradle wrapper should also be changed to use Gradle 4.4.1 or higher. <!--Currently, the plugin [does not support Gradle 6.x](https://github.com/anatawa12/ForgeGradle-1.2/issues/9), although this may change in the future. As such, the latest version of Gradle this plugin supports is Gradle 5.6.4.--> | ||
# Thinker | ||
|
||
Thinker Provides a powerful help gui, allowing you to create any block / block entity / block model from GeckoLib and display text / images, which can make the help page of the integration package author intuitive and concise | ||
|
||
Thinker提供了一个强大的帮助gui,允许通过json创建任意的方块/方块实体/来自GeckoLib的方块模型 和 文字/图片等,可以让整合包作者制作直观而简洁易懂的帮助页面 | ||
|
||
Thinker uses LGPL-v3 license, inspired by create, but without borrowing any code from create, instead, many code comes from GTNH's blockrenderer, thanks to GTNH team | ||
|
||
Thinker采用LGPL-v3协议,制作受create的思索功能启发,但并没有借鉴create的代码,许多代码实际来自GTNH的blockrenderer,感谢GTNH团队 | ||
|
||
Thinker is currently in development, and the list of features to be implemented is as follows: | ||
|
||
Thinker目前仍处于开发中,仍待实现的功能列表: | ||
|
||
[ ]可拖动的进度条 | ||
|
||
[ ]可定义的方块朝向 | ||
|
||
[ ]检测鼠标指向的物体 | ||
|
||
|
||
|
Oops, something went wrong.