Download Cyanide — Minecraft Mods — MetaMods

Cyanide

Active

Downloads

1

Last update

1 year ago

Versions

1.17.1 — 1.21.1
Client
Fabric
Forge
Neoforge
Utils
World generators

Cyanide

With Cyanide, I'll want to take cyanide much less often - Starmute, world generation datapack wizard.

This mod significantly improves the error detection and correction mechanisms in Minecraft's procedural world generation. It removes unnecessary stack traces and creates clear error messages for the most common problems with world generation datapacks. Here are the improvements Cyanide brings to error handling:

All errors precisely indicate the specific file and source datapack where the problem occurred. Some error messages are made more understandable or supplemented with context 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 which files referenced them.

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'

Invalid JSON shows the exact file location along with the surrounding context where parsing failed.

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 (when features are defined in different order in different biomes) track 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 position 1, 2 and 1 others)
   must be before 'cyanide:big_ore' (defined in 'minecraft:ocean' at position 2, 3)
   must be before 'cyanide:small_ore' (defined in 'minecraft:plains' at position 0, 1)
   must be before 'minecraft:lake_lava_underground' (defined in 'minecraft:ocean' at position 0, 1 and 1 others)
Project members
alcatrazEscapee

alcatrazEscapee

Developer

Created: 15 Jun 2023

ID: 4296