Forgelin: Legacy
Modby FalsePattern
Kotlin support for Forge. Based on Shadowfacts' Forgelin, ported to 1.7.10, with additional features.
Description
This is a library mod designed to be used by other mods. It doesn't add any game features by itself, and is purely an API.
Additions
- Backport to 1.7.10
- Updated to Kotlin 2.x
- Dynamic kotlin downloading via FPLib DepLoader (much smaller mod jar size!)
- Provides a Forge
ILanguageAdapterfor using Kotlinobjectclasses as your main mod class. - Provides Dispatchers.MinecraftServer and Dispatchers.MinecraftClient for dispatching coroutines during server tick and client tick, respectively
Information for mod developers below
Usage with FPGradle
build.gradle.kts:
plugins {
//...
kotlin("jvm") version "2.2.21"
}
minecraft_fp {
//...
kotlin {
forgelinVersion = "2.4.0-2.2.21"
}
}
gradle.properties:
kotlin.stdlib.default.dependency=false
The kotlin version that forgelin downloads is always in the suffix after the - in the version number
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Let's Do addon for MineColonies
Add compatibility contents between MineColonies and Let's Do mods.
Animal Garden - Harp Seal
This mod adds the harp seal as tamable mob to the frozen ocean biome!
[MTS/IV] Wark Parts Pack
Parts Pack Addon for Immersive Vehicle.
Favorite N' Lock
Adds item favoriting and slot locking. Inspired from terraria
Headcrumbs Advanced Modification
Allows you to Modify Headcrumbs' Heads List, and Customize their Tooltips Too!
ElegantNetworking
This is a framework that makes it easy to write networking code in mods