Initial commit

This commit is contained in:
2020-03-21 17:18:43 +01:00
commit db569b1bdd
14 changed files with 622 additions and 0 deletions

61
README.md Normal file
View File

@@ -0,0 +1,61 @@
# Minecraft Forge Kotlin Template
Minecraft 1.12.2 で Forge と Kotlin を用いた Mod のテンプレートです。
Minecraft 1.12.2 Mod template using Forge and Kotlin.
## Getting Started
### Clone template
Please click [Use this template](https://github.com/proudust/minecraft-forge-kotlin-template/generate)
or
```sh
git clone --depth=1 https://github.com/proudust/minecraft-forge-kotlin-template <your_project_name>
cd <your_project_name>
rm -rf .git
```
### Install dependencies
```sh
./gradlew build
```
### Fix properties
**gradle.properties**
```
modGroup=<your_package_name>
modVersion=<your_project_version>
modBaseName=<your_project_name>
```
**mcmod.info**
```json
{
"modid": "<your_package_name>",
"name": "<Your Project Name>",
}
```
**MinecraftForgeKotlinTemplate.kt**
```kt
package <your_package_name>.<your_project_name>
//...
object <YourProjectName> {
const val MOD_ID = <your_project_name>
const val MOD_NAME = <Your Project Name>
const val VERSION = <your_project_version>
//...
}
```
## Dependencies
- [Minecraft Forge](https://files.minecraftforge.net/)
- [shadowfacts/Forgelin](https://github.com/shadowfacts/Forgelin)
## References
- [C6H2Cl2/MCDevNightSample](https://github.com/C6H2Cl2/MCDevNightSample)
- [therealfarfetchd/build.gradle.kts](https://gist.github.com/therealfarfetchd/db8fc601df89703a360bccc0395ec590)