Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Forgelin: Legacy

Forgelin: Legacy

Kotlin support for Forge. Based on Shadowfacts' Forgelin, ported to 1.7.10, with additional features.

55
1
Library

Compatibility

Minecraft: Java Edition

1.7.10

Platforms

Forge

Supported environments

Client-side
Server-side
Client and server (optional)

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

FalsePattern
FalsePattern Maintainer
basdxz
basdxz Co-Maintainer

Details

Licensed LGPL-3.0-only
Published 2 weeks ago
Updated 3 weeks ago
DescriptionChangelogVersions

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 ILanguageAdapter for using Kotlin object classes 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

Modrinth is open source.

feat/theseus/tauri-v2@c5403db

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.