Версия игры
1.21 508 1.20 990 1.19 1.4K 1.18 748 1.17 1K 1.16 1.3K 1.15 555 1.14 649 1.13 44 1.12 78 1.11 57 1.10 41 1.9 67 1.8 93 1.7 26 1.6 37
RU
Y
21.11.20244950

YetAnotherConfigLib (YACL) — 3.2.1+1.20 (Forge)

# YetAnotherConfigLib 3.2.1 for 1.20.1-0 ## Changes ### Config API — Added `ConfigClassHandler#save` and `ConfigClassHandler#load` and deprecated `ConfigClassHandler#serializer`. — The serializer should now never be called directly. —…

Версии1.20
ПлатформаWindows
Обновлён21.11.2024
Скачали43.2K
Работает на версии 1.20
Опубликовал: admin-planet

# YetAnotherConfigLib 3.2.1 for 1.20.1-0

## Changes

### Config API

— Added `ConfigClassHandler#save` and `ConfigClassHandler#load` and deprecated `ConfigClassHandler#serializer`.
— The serializer should now never be called directly.
— New load method tells serializer to load into a new instance of the config class. Only applied if the load was fully successful.
— Deprecated `ConfigSerializer#load` for `ConfigSerializer#loadSafely`.
— Added new parameter on `SerialEntry`, called `required`.
— If set to true, and the entry is not found in the config, the config will be re-saved with the default value.
— If set to false, and the entry is not found in the config, the default value will be used, but the config will not be re-saved.
— Added new parameter on `SerialEntry`, called `nullable`.
— If set to false, and the entry is found in the config, but the value is null, the default value will be used, and the config will be re-saved.

## Bug Fixes

— Fixed error when using the same image twice.
— Removed debug log from WEBP and GIF image loaders.

Похожие

Добавить комментарий

2 × пять =