Cyanide

模组

· 作者 alcatrazEscapee

一个大幅改善 Minecraft 数据驱动世界生成错误检测、报告及恢复机制的模组。

0 本站下载 0 关注 更新于 2 年前

最新 5.0.0 · 1.21.1 · NeoForge

一键开服(送7天)

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)

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源