Cyanide
A mod which substantially improves Minecraft's data driven world generation error detection, reporting, and recovery mechanisms.
介绍
Cyanide
cyanide seems to be something that will make me want to drink cyanide a lot less – Starmute, world generation datapack wizard.
A mod which substantially improves Minecraft’s data driven world generation error detection and recovery mechanisms. It removes unnecessary stack traces and generates user-friendly error messages for most common issues with world generation datapacks. For some examples of what improvements Cyanide makes to error reporting, see the below list:
All errors identify the exact file, and source datapack where the error originated. Some error messages are improved for clarity or have additional context added where possible.
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'
The “Unbound values in registry” error tracks what files were referencing it.
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'
Illegal JSON will show the exact file location, along with the surrounding context of where it failed to parse.
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” errors (where features are defined in different order within different biomes) trace and report the exact cycle found
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)
常见问题
Cyanide 支持哪些 Minecraft 版本?
Cyanide 支持 Minecraft Java 版 1.17.1–1.21.1,共 11 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Cyanide 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
alcatrazEscapee 的其他作品
查看全部 →No Tree Punching
这个模组通过其同名功能,让你在游戏最初几分钟内获得更真实的体验:如果没有使用正确的工具,方块被破坏后不会掉落任何物品。
Chocolate Fix
修复原版漏洞——主要是与自定义世界生成相关的问题,这些问题对模组环境的影响更大。
AlcatrazCore
一个简单的代码前置库
TerraFirmaCraft
TerraFirmaCraft(TFC)是一款彻底改造并重新构想生存模式的全面转换模组。
评论
登录后评论和评分