Перейти к содержимому
Mineforgian

Kinecraft

Kotlin serialization for Minecraft classes

Загрузки
39K
Подписчики
10
Обновлён
9 ноября 2025 г.
Лицензия
MIT

Опубликован 28 июня 2023 г.

Kinecraft

https://github.com/SettingDust/Kinecraft
It's a lib for Kotlin in Minecraft world.
(De)Serializing minecraft tag(NBT), chat component, ByteBuf with any serializable objects.
And with

  • tag serializers you can describe tags with the correct type instead of string. So that it will encode/decode with the format you are using as "real" type of the tag.

Usage

repositories {
    exclusiveContent {
        forRepository {
            maven("https://api.modrinth.com/maven") {
                name = "Modrinth"
            }
        }
        filter {
            includeGroup("maven.modrinth")
        }
    }
}

dependencies {
    val kinecraftVersion = "1.6.7"
    
    compileOnly("maven.modrinth:kinecraft:$kinecraftVersion:common")
    // Fabric Loom
    runtimeOnly("maven.modrinth:kinecraft:$kinecraftVersion:fabric")
    include("maven.modrinth:kinecraft:$kinecraftVersion")
    // NeoGradle
    runtimeOnly("maven.modrinth:kinecraft:$kinecraftVersion:neoforge")
    jarInJar("maven.modrinth:kinecraft:$kinecraftVersion")
}

MinecraftTag is for serialization between data class and Minecraft tag classes.

Ченджлог

2.1.4Релиз1.20.1 · 15 октября 2025 г.

:bug: Bug Fixes

  • 2d1c0a8 - add default logger (commit by @SettingDust)
2.1.4Релиз1.20.1, 1.21, 1.21.1 · 15 октября 2025 г.

:bug: Bug Fixes

  • 2d1c0a8 - add default logger (commit by @SettingDust)
2.1.3Релиз1.20.1 · 15 октября 2025 г.

:bug: Bug Fixes

  • e1b7aea - remove entrypoints (commit by @SettingDust)
2.1.3Релиз1.20.1, 1.21, 1.21.1 · 15 октября 2025 г.

:bug: Bug Fixes

  • e1b7aea - remove entrypoints (commit by @SettingDust)
2.1.2Релиз1.20.1 · 15 октября 2025 г.

:bug: Bug Fixes

  • 3193f01 - wrong group (commit by @SettingDust)
2.1.2Релиз1.20.1, 1.21, 1.21.1 · 15 октября 2025 г.

:bug: Bug Fixes

  • 3193f01 - wrong group (commit by @SettingDust)
2.1.1Релиз1.20.1 · 15 октября 2025 г.

:bug: Bug Fixes

  • 4450c53 - don't reference mixins non-exist (commit by @SettingDust)
2.1.1Релиз1.20.1, 1.21, 1.21.1 · 15 октября 2025 г.

:bug: Bug Fixes

  • 4450c53 - don't reference mixins non-exist (commit by @SettingDust)

Комментарии

Загружаем…