mirror of
https://github.com/Theaninova/new-frontiers.git
synced 2025-12-12 11:36:16 +00:00
Initial commit
This commit is contained in:
61
README.md
Normal file
61
README.md
Normal 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)
|
||||
Reference in New Issue
Block a user