Главная › Моды › Библиотеки › Kotlin for Forge

Kotlin for Forge
Adds a Kotlin language loader and provides some optional utilities.
Kotlin for Forge — мод для Minecraft 1.16.5–26.3 из категории «Библиотеки» для загрузчиков Forge, NeoForge. Автор: thedarkcolour. В Lorix можно добавить мод в сборку — нужные зависимости подтянутся автоматически — и скачать её одним ZIP с папкой mods/ или запустить в Lorix Launcher одной кнопкой.
- Категория
- Библиотеки
- Загрузчики
- Forge, NeoForge
- Версии Minecraft
- 26.3, 26.2, 26.1.2, 26.1.1, 26.1, 1.21.11, 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.6, 1.21.5, 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21, 1.20.6, 1.20.5, 1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2, 1.18.1, 1.18, 1.17.1, 1.17, 1.16.5
- Скачиваний на Modrinth
- 55 832 874
Описание
Used to make mods with the Kotlin programming language. Works by shading the Kotlin libraries, providing KotlinLanguageProvider to load @Mod object declarations, providing AutoKotlinEventBusSubscriber to load @EventBusSubscriber declarations, and providing useful utility functions and constants.
As of Kotlin for Forge 1.8.0, this provides Kotlin 1.4.21, Kotlin coroutines 1.4.2, Kotlin JSON serialization 1.0.1, and Jetbrains annotations 20.1.0.
If you're not a mod developer, this is a dependency mod.
Unlike Kottle, this library (as of 1.2.0) provides its own implementation of IEventBus that supports IEventBus#addListener and IEventBus#addGenericListener with function references.
Information for how to implement can be found here.
You do not have to use the language loader or any of the features Kotlin for Forge provides, you can just use it for the bundled Kotlin libraries.
If you'd like to ask for help or suggest something, feel free to do so on the Kotlin for Forge discord server.
Как установить Kotlin for Forge
- Скачайте Lorix Launcher и создайте сборку с нужной версией и загрузчиком.
- Найдите Kotlin for Forge в окне модов — зависимости добавятся сами.
- Нажмите «Играть».
Или соберите модпак в конструкторе и скачайте ZIP: папку mods/ из архива положите в .minecraft.