Cyanide
“cyanide 似乎让我想喝氰化物的欲望大大减少了。”——Starmute,世界生成数据包巫师。
一款大幅改进 Minecraft 数据驱动型世界生成错误检测与恢复机制的模组。它移除了不必要的堆栈跟踪信息,并为大多数常见的世界生成数据包问题生成用户友好的错误提示。有关 Cyanide 在错误报告方面的改进示例,请参阅以下列表:
所有错误均会标识出错的具体文件及来源数据包。部分错误信息已优化以提高清晰度,或在可能的情况下添加了更多上下文。
Parsing Error: Value provider too low (must be >= 0), got -1
at 'placement'
at 'cyanide:worldgen/placed_feature/ore_tin' defined in 'file/Test.zip'
“Unbound values in registry”(注册表中未绑定的值)错误会追踪引用该值的文件。
Missing File Error: 'cyanide:worldgen/configured_feature/big_ores' was referenced but not defined
at 'cyanide:worldgen/placed_feature/big_ores' defined in 'file/Test.zip'
非法 JSON 将显示确切的文件位置,以及解析失败时的周围上下文。
Syntax Error: Expected ':' at line 3 column 13 path $.config
at:
{
"type": "minecraft:big_flowers",
"config" {
^
here
at 'cyanide:worldgen/configured_feature/flowers' defined in 'file/Test.zip'
“Feature Cycle”(特性循环)错误(即不同生物群系中定义特性的顺序不一致)会追踪并报告所发现的确切循环路径。
A feature cycle was found.
Cycle:
At step 0
Feature 'minecraft:lake_lava_underground'
must be before 'minecraft:lake_lava_surface' (defined in 'minecraft:ocean' at index 1, 2 and 1 others)
must be before 'cyanide:big_ore' (defined in 'minecraft:ocean' at index 2, 3)
must be before 'cyanide:small_ore' (defined in 'minecraft:plains' at index 0, 1)
must be before 'minecraft:lake_lava_underground' (defined in 'minecraft:ocean' at index 0, 1 and 1 others)
你是这个资源的作者?登录后可认领此资源。
相似资源
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
查看物品与配方
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
AE2:一款流行的自动化与存储模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧