跳到正文

Forgelin: Legacy

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

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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

常见问题

Forgelin: Legacy 支持哪些 Minecraft 版本?

Forgelin: Legacy 支持 Minecraft Java 版 1.7.10,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Forgelin: Legacy 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。

评论

登录后评论和评分

RealVen 的其他作品

查看全部 →