Skip to content

Commit

Permalink
First update
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan0436 committed Nov 26, 2020
0 parents commit fab7475
Show file tree
Hide file tree
Showing 20 changed files with 1,535 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
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
24 changes: 24 additions & 0 deletions .gitignore
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
504 changes: 504 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions README.md
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)

Loading

0 comments on commit fab7475

Please sign in to comment.