硫氰酸盐

硫氰酸盐

SCN-:cyanide 的现代移植版

工具

请勿向 CYANIDE 报告问题。请向我报告问题。

硫氰酸盐

SCN- :cyanide 的现代化移植版本(GitHub | Modrinth)

Cyanide

(复制自 cyanide 的 README.md)

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)

致谢

感谢 AlcatrazEscapee 创建了 cyanide。Cyanide 采用 MIT 许可证,可在此处查看:链接。