Fly's config lib 图标

Fly's config lib

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/flys-config-lib
资源信息

Minecraft 版本: 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6

平台: forge

标签: library

资源介绍

Fly's Config Lib

A shared configuration library for Fly's Minecraft mods providing JSON config management, registry helpers, and NBT pattern matching.

Features

  • Load and save mod settings from a JSON file
  • Automatically creates a default config file if none exists
  • Detects when the config file is edited on disk and reloads it without restarting
  • Backs up broken/corrupted config files with a timestamp before resetting to defaults
  • Look up items, blocks, and entities by their in-game I
  • Caches registry lookups so repeated lookups don't slow things down
  • Match items by their NBT data (enchantments, custom names, written book authors, etc.)
  • Partial NBT matching — only the tags you specify need to match, the rest are ignored
  • Exact NBT matching — the item must have exactly the tags specified, nothing more
  • List NBT matching — check if an item has at least one of the specified enchantments/tags
  • Strict list matching — check if an item has all of the specified enchantments/tags
  • Numeric NBT values match regardless of internal type
  • Map config keys to values using either exact strings or regex patterns
  • Extract parts of a matched string via capture groups and reuse them in the mapped value
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
BeeFree

价格:0 墨喵币
下载量:0

查看详情
Dynamic Lights [BTW Addon]

价格:0 墨喵币
下载量:0

查看详情
LifeBase

价格:0 墨喵币
下载量:0

查看详情
JS Expanded

价格:0 墨喵币
下载量:0

查看详情