什么是 ItemFig
一个用于在 MC Forge 中通过 JSON 保存和读取物品配置的简单库。
该库由 CrazedAerialCable 从零开始编写,其灵感源自 Weaponworks 1.3 中的原始想法。当时这一想法由优秀的模组作者 Lyof 提供并进行了原型开发。我诚挚推荐你查看他的其他作品,例如 Sortilege 和 Ends Phantasm!
当前功能:
-
从 JSON 格式的配置文件中读取和保存配置值。
-
如果配置文件被删除,则根据设定的默认值自动重建配置文件。
-
自动重建配置文件中缺失物品的整组值(例如当添加了新物品时)。
-
自动重建物品字段值的配置(例如当你想要重置武器的伤害值时)。
-
更改配置文件的位置和名称(扩展名必须为 json)。
当前限制
以下是我目前已知、能想到且未来可能改进的地方:
- 目前所有内容都存放在同一个配置文件中。
- 你无法更改配置文件本身的路径。它只会保存在 config 文件夹中。
Wiki:
What is ItemFig
A simple library for saving and reading config for items in MC Forge with use of JSON.
The lib, while written from scratch by CrazedAerialCable, bases on the original idea seen in Weaponworks 1.3. The idea itself back then was provided and prototyped by the awesome modder Lyof. I kindly encourage you to check out his mods like Sortilege and Ends Phantasm!
Current features:
-
Reading and saving config values from and to a config file in json format.
-
Auto-recreating config file from set default values if the config is deleted.
-
Auto-recreating values for entire missing items in config file (i.e. when new item is added).
-
Auto-recreating values for items' fields values (i.e. when you want to reset damage value of a weapon).
-
Changing the location and name of the config file (extension can be only json tho).
Current limitations
What I am aware of and can think of and can do something about in the future:
- For now everything is put in one config file.
- You cannot change the path to the config file itself. It will just land in the config folder.
Wiki:
下载 ItemFig
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ItemFig
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ItemFig
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ItemFig
下载 ItemFig
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
-移植到 NeoForge 1.20.1
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧