Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pleahmacaka/forge-kotlin-template

[1.20.2] Forge Kotlin Template (w. KotlinForForge & Mixin)
https://github.com/pleahmacaka/forge-kotlin-template

forge forge-kotlin forge-mod forge-mod-kotlin-template kotlin kotlin-for-forge kotlin-forge-template kotlin-template kotlinforforge minecraft minecraft-forge minecraft-forge-kotlin minecraft-forge-kotlin-template minecraft-forge-mod minecraft-forge-template minecraft-mod parchmentmc template

Last synced: about 2 months ago
JSON representation

[1.20.2] Forge Kotlin Template (w. KotlinForForge & Mixin)

Awesome Lists containing this project

README

        

# 🪵 Minecraft Forge ⚒ Kotlin Template 💜

## 🌟 1.20.2 Support 🌟

| INCLUDED | INFO |
|----------------|-------------------------------------------------|
| KotlinForForge | https://github.com/thedarkcolour/KotlinForForge |
| ParchmentMC | https://github.com/ParchmentMC |
| Kotlin | https://kotlinlang.org |

## 🛠️ Getting Started 🛠️

| 1. Gradle Tasks -> forgegradle runs
-> `genRuns` | 2. Run `runClient`
in your IDE's Run / Debug Configuration |
|------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|

![genRunConfig](https://cdn.discordapp.com/attachments/1072301775606001744/1088421409967050833/image.png)
|
![runClient](https://cdn.discordapp.com/attachments/1072301775606001744/1088424141801140244/image.png)
|
|
HotSwap in debug mode [LEARN MORE](https://forge.gemwire.uk/wiki/Hotswap)
|
Useful References
|
|
|



|

## ⚙️ Features ⚙️

- Initialization
- [Item](./src/main/kotlin/init/ItemRegistry.kt),
[Block](./src/main/kotlin/init/BlockRegistry.kt) -
[BlockItem](./src/main/kotlin/init/BlockItemRegistry.kt)
- Examples
- [Example Item](./src/main/kotlin/items/SadObsidianMaker.kt)
- [Example Block](./src/main/kotlin/blocks/ExampleBlock.kt)
- [Example Creative Tab](./src/main/kotlin/creativetabs/ExampleCreativeModTab.kt)
- [KeyBinds](./src/main/kotlin/keybind/KeyBinds.kt) ㅡ
[Handler](./src/main/kotlin/keybind/KeyBindHandler.kt)
- Mixin
- [General Mixin Example (Java)](./src/main/java/mixin/ExampleMixin.java)
- [Mixin Kotlin Binding](./src/main/java/mixin/bindings/ExampleBindingMixin.java)
ㅡ [actually executed function](./src/main/kotlin/mixinkt/ExampleMixinBinding.kt)