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. For example, consider the following fairly common error in Vanilla:
Feature: Not a JSON object: "minecraft:disk_gravel"; Not a JSON object: "minecraft:disk_clay"; Not a JSON object: "minecraft:disk_sand"; Not a JSON object: "minecraft:ore_copper"; Not a JSON object: "minecraft:ore_lapis"; Not a JSON object: "minecraft:ore_diamond"; Not a JSON object: "minecraft:ore_redstone"; Not a JSON object: "minecraft:ore_gold"; Not a JSON object: "minecraft:ore_iron"; Not a JSON object: "minecraft:ore_coal"; Not a JSON object: "cyanide:broken_disk_gravel"; Not a JSON object: "minecraft:ore_deepslate"; Not a JSON object: "minecraft:ore_tuff"; Not a JSON object: "minecraft:ore_andesite"; Not a JSON object: "minecraft:ore_diorite"; Not a JSON object: "minecraft:ore_granite"; Not a JSON object: "minecraft:ore_gravel"; Not a JSON object: "minecraft:ore_dirt"
[19:04:44] [Render thread/WARN]: Failed to validate datapack
java.util.concurrent.CompletionException: com.google.gson.JsonParseException: Error loading registry data: No key snowy in MapLike[{"not_snowy":"true"}]
And now compare the error, using the exact same datapack, with Cyanide included:
Error(s) loading registry minecraft:worldgen/biome:
No key snowy in MapLike[{"not_snowy":"true"}]
at: file "data/cyanide/worldgen/configured_feature/broken_disk_gravel.json"
at: data pack cyanide-debug.zip
at: reference to "cyanide:broken_disk_gravel" from minecraft:worldgen/configured_feature
Missing feature at index 7
at: "features", step underground_ores, index 6
at: file "data/cyanide/worldgen/biome/plains_broken_feature.json"
at: data pack cyanide-debug.zip
Missing feature at index 6
at: "features", step underground_ores, index 6
at: file "data/cyanide/worldgen/biome/plains_unregistered_feature.json"
at: data pack cyanide-debug.zip;
Error(s) loading registry minecraft:worldgen/configured_feature:
No key snowy in MapLike[{"not_snowy":"true"}]
at: file "data/cyanide/worldgen/configured_feature/broken_disk_gravel.json"
at: data pack cyanide-debug.zip
Unknown element name: invalid_heightmap
at: file "data/cyanide/worldgen/configured_feature/broken_disk_gravel_2.json"
at: data pack cyanide-debug.zip
World Generation Data Pack Error Improvements
at: file "data/cyanide/blah/blah.json"
)at: data pack blah.zip
)In a biome json, the following is a valid temperature modifier.
It is the same as using a temperature modifier of 'none'.
In Cyanide, this would error.
"temperature_modifier": "hocus pocus!"
carvers
, surface_builder
, etc. in biomes will be traced in error messages.Feature: Not a JSON Object
log messages. These are now upgraded to full errors.Unknown category name: not_a_category, expected one of [none, taiga, extreme_hills, jungle, mesa, plains, savanna, icy, the_end, beach, forest, ocean, desert, river, swamp, mushroom, nether, underground]
at: file "data/cyanide/worldgen/biome/invalid_category.json"
at: data pack test_data_pack.zip