本模组专为整合包开发者打造,旨在为整合包中的生物群系、维度与世界提供程序(自 1.1 版本起)、附魔、实体(自 1.1 版本起)以及药水 ID 提供额外信息(并附带对 DataWatcher 的少量支持)。
包含以下功能:
- 输出可用 ID 列表
- 输出已占用 ID 列表,后跟注册对象的名称与类名
- 当检测到至少一个冲突时,将生成包含所有冲突的报告
- 当模组尝试使用已被占用的 ID 向任何实体的 DataWatcher 注册新对象时,将在日志中生成详细报告(若配置为崩溃则生成崩溃报告),其中包括在发生冲突注册时刻的所有已占用 ID,随后游戏崩溃。
所有生成的文件均位于你的 Minecraft 安装目录下的 IDCV 文件夹中。
每个文件均尽可能完整地包含服务器启动时(无论是单人还是多人)那一刻的所有 ID,这也是文件生成的时刻。如果在此之后有任何模组注册了新内容——这超出了该模组的处理范围。如果在此之前游戏因其他模组冲突检测或其他原因而崩溃,则不会生成任何报告。
默认情况下,任何冲突都会导致游戏强制停止(崩溃),除非另行配置(出于内部原因,DataWatcher 会忽略此配置),在这种情况下,它每 30 秒发送一次警告消息,以免你错过。
如果某些功能无法正常工作,以下是一些技术信息:
剧透(点击显示)
你是否按照上述说明安装了 ASJCore?
本模组正在修改运行时加载的原版 Minecraft 类(磁盘上的文件未更改),包括移除附魔构造函数中的强制异常。如果有任何模组依赖该异常(例如 Artifice 模组)——它将损坏,因此你应该在配置中禁用附魔部分。
本模组欢迎就新功能或改进提出建议,请在评论中发送。
This mod is created for modpack developers and is focused around giving extra info on Biome, Dimension and World Provider (since 1.1), Enchantment, Entity (since 1.1), and Potion IDs in your pack (and a little support with DataWatcher).
This includes following:
- Outputs a list of available IDs
- Outputs a list of taken IDs, followed by name and class of registered object
- When at least one conflict is detected, a report with all conflicts will be generated
- When a mod tries to register a new object in any entity's DataWatcher with an ID that is already taken, a detailed report will be generated in logs (or crash report if configured so), including all taken IDs at the moment of conflicting registration, followed by game crash.
Every generated file is located in IDCV folder of your minecraft installation directory.
Every file is most complete with all IDs at the moment of server start (either SP or MP) that is the moment of file generation. If any mod registers anything after that – that is out of mod scope. If the game crashes before that, either by other mod conflict detection or any other reason, no reports will be generated.
By default, any conflict will lead the game to forced stop (crash) except configured otherwise (DataWatcher ignores that config for internal reasons), in which case, it will send a warning message every 30 seconds, so you won't miss it.
This mod requires ASJCore to run!
Some technical info if something does not work:
Spoiler (click to show)
Have you installed ASJCore as mentioned above?
This mod is modifying vanilla minecraft classes loaded at runtime (no files are changed on your disk), including removing a forced exception in Enchantment constructor. If any mod is relying on that exception (like Artifice mod) – it will be broken, so you should disable enchantment part in config.
This mod is open for suggestions on new features or improvements, so send them in comments.
评论 0
登录后参与评分
还没有评论,来抢沙发吧