▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Serpentine
Serpentine

Serpentine

Serpentine is a light weight config library mod based on providing fast configuration to any mod needing it

Оцените первым
123
0

Multiplayer only works on 2.0.0+

Serpentine

Serpentine is a lightweight configuration library mod that can easily be used in other projects.

Serpentine provides an easy way to setup configuration for any mod, all you need is a class that extends the Config class provided by Serpentine and to then register it in your modInitializer.

Potential Bloat

what bloat?

The config screen is probably the only bloat in this mod but even then its just three classes that automate making a config screen for you.

what does the config screen do?

The config screen parses your config's expects and detects their default value's type. If it is an integer it makes a SliderWidget that goes from 0-100 (I'll add more customisation for this in later versions), if it is a boolean it'll make two buttons for True and False, the currently selected one (not saved one) will have a checkmark next to it. If it is a float or string then a textField will be made where the user can type in their desired value.

How to setup serpentine?

Check this out for how to install serpentine as a dependency.

Then to setup a config, check out this example

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Зависимости

Ссылки

Создатели

Детали

Лицензия:
Опубликован:7 месяцев назад
Обновлён:5 месяцев назад
Главная