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

Fly's config lib

Simplest JSON config lib to not repeat yourself :P

Оцените первым
443
3
Все версииFly's config lib 1.1.0

Fly's config lib 1.1.0

Release18.03.2026

Список изменений

  • Generic JSON config manager with typed deserialization (JsonConfigManager)
  • Auto-creates default config file if missing
  • Hot-reload on file change detection (reloadIfChanged)
  • Corrupted config auto-backup with timestamp before falling back to defaults
  • Raw JsonObject access for advanced manual parsing
  • In-place config modification with auto-save (modify(Consumer))
  • Registry lookup with caching for items, blocks, and entity types (RegistryConfigHelper)
  • Handles both namespaced (mod:id) and bare (id → minecraft:id) resource locations
  • NBT pattern matching on ItemStacks (NbtPatternMatcher)
  • Partial NBT matching — pattern only needs to be a subset of the item's full NBT
  • Exact NBT matching via = prefix on pattern string
  • List matching — strict (all pattern elements must be in stack list) or non-strict (any one matches)
  • Recursive compound tag matching
  • Numeric type-insensitive comparison (ShortTag(2s) matches IntTag(2))
  • Pattern cache to avoid re-parsing the same pattern string repeatedly
  • Regex-based config key mapping with capture group support (RegexConfigHelper)
  • Exact string mappings and regex: prefixed pattern mappings in the same config block
  • Capture group substitution in mapped values via $1, $2, etc.

Файлы

flysconfiglib-1.1.0.jar(18.40 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.1.0

Загрузчики

Forge

Версии игры

1.20–1.20.6

Загрузок

374

Дата публикации

18.03.2026

Загрузил

ID версии

Главная