-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit fab7475
Showing
20 changed files
with
1,535 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Disable autocrlf on generated files, they always generate with LF | ||
# Add any extra files or paths here to make git stop saying they | ||
# are changed when only line endings change. | ||
src/generated/**/.cache/cache text eol=lf | ||
src/generated/**/*.json text eol=lf |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# eclipse | ||
bin | ||
*.launch | ||
.settings | ||
.metadata | ||
.classpath | ||
.project | ||
|
||
# idea | ||
out | ||
*.ipr | ||
*.iws | ||
*.iml | ||
.idea | ||
|
||
# gradle | ||
build | ||
.gradle | ||
|
||
# other | ||
eclipse | ||
run | ||
logs | ||
.factorypath |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# LICENSE NOTE | ||
This repository uses ForgeGradle, MixinGradle and Mixin.<br/> | ||
Those projects belong to their rightful owners.<br/> | ||
<br/> | ||
|
||
# Project info | ||
This is a simple template for forge mods with Mixin-support build-in. | ||
<br/> | ||
|
||
# Mod policy | ||
For Mixin-enabled mods, you need Forge coremods and those must adhere to the following conditions: | ||
- Disclose source (**mandatory**, keep it FOSS, Free Open Source Software) | ||
- Proper exception handling in mixins/transformers (**mandatory**, there will be an API) | ||
- Coremod in separate jar from normal mods (**mandatory**) | ||
- Jars must be signed before distributing (**mandatory**) | ||
<br/> | ||
|
||
# Loading class folders as ForgeGradle and MixinGradle plugins | ||
If you want to load class folders use the following arguments in gradle: | ||
- Add the arguments -PmixinBinFolder "\<Mixin class folder path\>" to load Mixin from a class folder<br/> | ||
- Add the arguments -PmixinGradleBinFolder "\<MixinGradle class folder path\>" to load MixinGradle from a class folder<br/> | ||
- Add the arguments -PforgeGradleBinFolder "\<ForgeGradle class folder path\>" to load ForgeGradle from a class folder. | ||
<br/> | ||
|
||
# Generating eclipse project files | ||
Run the command `gradlew.bat genEclipseRuns eclipse` (`./gradlew genEclipseRuns eclipse` on linux) | ||
|
Oops, something went wrong.