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

or

git clone --depth=1 https://github.com/proudust/minecraft-forge-kotlin-template <your_project_name>
cd <your_project_name>
rm -rf .git

Install dependencies

./gradlew build

Fix properties

gradle.properties

modGroup=<your_package_name>
modVersion=<your_project_version>
modBaseName=<your_project_name>

mcmod.info

{
    "modid": "<your_package_name>",
    "name": "<Your Project Name>",
}

MinecraftForgeKotlinTemplate.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>

    //...
}

LICENSE

MIT License

Copyright (c) [Year] [Your Name]

Permission is hereby granted, free of charge, to any person obtaining a copy

Dependencies

References

GitHub

View Github