COWMODSКаталог модов

SpaceServe Config

Simple, Kotlin centric, config api

Автор: SpaceClouds425312обновлён 18 июн. 2021 г.
Библиотеки

Описание

SpaceServe Config API

A super simple to use api that uses kotlinx serialization and Kotlin data classes. Simply make a data class that implements IConfigure, and all the necessary methods are right there for you. Saving, loading, and resetting the config are simple and documented method calls. Custom serializers are available for Minecraft's complex types; currently available are: Block, Enchantment, Identifier, Item, Text

Add to your project

repositories {
    maven { 
        name = "Modrinth"
        url = uri("https://api.modrinth.com/maven")
    }
}

dependencies {
    // Config
    modImplementation("maven.modrinth:config:0.1.1")
    include("maven.modrinth:config:0.1.1")
}

Последние версии

Все версии →
beta

Serializers o' Plenty

0.2.0
18 июн. 2021 г.351Minecraft: 1.17fabric
Скачать
Что нового
```diff + Better config loading functionality + GameProfileSerializer + UuidSerialier + ItemStackSerializer - Bug where missing config file causes crash on second load ```
beta

SpaceServe Config Initial Release

0.1.1
16 июн. 2021 г.182Minecraft: 1.17fabric
Скачать