
Cyanide
A mod which substantially improves Minecraft's data driven world generation error detection, reporting, and recovery mechanisms.
Обновлён 4 октября 2024 г. · опубликован 13 июня 2023 г.
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)
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 5.0.0 | Релиз | 1.21.1 | neoforge | 4 октября 2024 г. | Скачать (48 КБ) |
| 5.0.0 | Релиз | 1.21.1 | fabric | 4 октября 2024 г. | Скачать (51 КБ) |
| 4.1.1 | Релиз | 1.20.1 | fabric | 3 октября 2024 г. | Скачать (79 КБ) |
| 4.1.1 | Релиз | 1.20.1 | forge, neoforge | 3 октября 2024 г. | Скачать (75 КБ) |
| 4.1.0 | Релиз | 1.20.1 | fabric | 29 октября 2023 г. | Скачать (77 КБ) |
| 4.1.0 | Релиз | 1.20.1 | forge, neoforge | 29 октября 2023 г. | Скачать (74 КБ) |
| 4.0.0 | Релиз | 1.20, 1.20.1 | fabric | 13 июня 2023 г. | Скачать (77 КБ) |
| 4.0.0 | Релиз | 1.20, 1.20.1 | forge, neoforge | 13 июня 2023 г. | Скачать (74 КБ) |
| 3.1.0 | Релиз | 1.19.3 | fabric | 13 июня 2023 г. | Скачать (77 КБ) |
| 3.1.0 | Релиз | 1.19.3 | forge | 13 июня 2023 г. | Скачать (74 КБ) |
| 3.0.1 | Релиз | 1.19.2 | fabric | 13 июня 2023 г. | Скачать (79 КБ) |
| 3.0.1 | Релиз | 1.19.2 | forge | 13 июня 2023 г. | Скачать (73 КБ) |
| 2.1.1 | Релиз | 1.18.2 | fabric | 13 июня 2023 г. | Скачать (74 КБ) |
| 2.1.1 | Релиз | 1.18.2 | forge | 13 июня 2023 г. | Скачать (71 КБ) |
| 1.2.3 | Релиз | 1.17.1 | fabric | 13 июня 2023 г. | Скачать (65 КБ) |
Показаны последние 15 из 16 версий.
Ченджлог
5.0.0Релиз1.21.1 · 4 октября 2024 г.
Initial update to Minecraft 1.21. This version had a lot of (Mojang made) changes, especially a large update to DataFixerUpper which required a lot of changes within Cyanide. Some of Cyanide's features have been integrated into Minecraft itself (see for example, Mojang/DataFixerUpper@e491561 or Mojang/DataFixerUpper#54).
With these changes, come some improvements to Cyanide's error tracking, mainly in being able to handle the "Unbound values in registry" more gracefully by tracking where the unbound reference(s) came from:
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'
Changes
- Updated to Minecraft 1.21, supporting NeoForge and Fabric.
- Rewrote registry parsing (again) in order to better handle "Unbound values in registry" errors.
- Added improved error messages for
IntProviderandFloatProvider. - Added various
fieldOfinjections for traceability across a number of different data types. - Removed error reporting modifications for
Biomes,Enumtypes, and list indexes.
Features
For a more comprehensive list of Cyanide's existing features, see here.
5.0.0Релиз1.21.1 · 4 октября 2024 г.
Initial update to Minecraft 1.21. This version had a lot of (Mojang made) changes, especially a large update to DataFixerUpper which required a lot of changes within Cyanide. Some of Cyanide's features have been integrated into Minecraft itself (see for example, Mojang/DataFixerUpper@e491561 or Mojang/DataFixerUpper#54).
With these changes, come some improvements to Cyanide's error tracking, mainly in being able to handle the "Unbound values in registry" more gracefully by tracking where the unbound reference(s) came from:
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'
Changes
- Updated to Minecraft 1.21, supporting NeoForge and Fabric.
- Rewrote registry parsing (again) in order to better handle "Unbound values in registry" errors.
- Added improved error messages for
IntProviderandFloatProvider. - Added various
fieldOfinjections for traceability across a number of different data types. - Removed error reporting modifications for
Biomes,Enumtypes, and list indexes.
Features
For a more comprehensive list of Cyanide's existing features, see here.
4.1.1Релиз1.20.1 · 3 октября 2024 г.
Changes
- Support Fabric's custom world gen registry API. Fixes #28, #29
4.1.1Релиз1.20.1 · 3 октября 2024 г.
Changes
- Support Fabric's custom world gen registry API. Fixes #28, #29
4.1.0Релиз1.20.1 · 29 октября 2023 г.
Changes
- Update to 1.20.1
- Support Forge's custom world gen registry API. Fixes #20, #21, and #22.
4.1.0Релиз1.20.1 · 29 октября 2023 г.
Changes
- Update to 1.20.1
- Support Forge's custom world gen registry API. Fixes #20, #21, and #22.
4.0.0Релиз1.20, 1.20.1 · 13 июня 2023 г.
Update to 1.20. No notable changes.
4.0.0Релиз1.20, 1.20.1 · 13 июня 2023 г.
Update to 1.20. No notable changes.
Комментарии
Загружаем…