#"Data pack validation failed!" almost every time I create a configured_feature/placed_feature pair
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 If nobody has answered you by <t:1751248683:t>, feel free to use the Summon Helpers button to ping our helper team.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
What's the full error in the logs?
.../placed_feature/mossy_clay_pool.json
"feature": "scenic:mossy_clay_pool",
"placement": [
{
"type": "minecraft:count",
"count": {
"type": "minecraft:uniform",
"min_inclusive": 3,
"max_inclusive": 6
}
},
{
"type": "minecraft:in_square"
},
{
"type": "minecraft:heightmap",
"heightmap": "WORLD_SURFACE"
}
]
}```
One sec
Errors in element scenic:mossy_clay_pool:
java.lang.IllegalStateException: Failed to parse scenic:worldgen/configured_feature/mossy_clay_pool.json from pack file/scenic_datapack
at ....DELETED LONG BLOCK OF ERROR...
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
Caused by: java.lang.IllegalStateException: Not a string: ["minecraft:air"]
at knot//com.mojang.serialization.DataResult$Error.getOrThrow(DataResult.java:287)
at knot//com.mojang.serialization.DataResult.getOrThrow(DataResult.java:81)
at knot//net.minecraft.class_7655.method_56915(class_7655.java:303)
at knot//net.minecraft.class_7655.method_45122(class_7655.java:319)
... 36 more
let me send the configured feature
the only line with "minecraft:air" is under "cannot_replace": [ "minecraft:air" ],
which spyglass says is good
update: tried changing from a list of strings to just a single string, no dice
error log said "not a tag" with that attempt, so i changed it to "#minecraft:air", got this new one:
Feature order cycle found, involved sources: [Reference{ResourceKey[minecraft:worldgen/biome / scenic:scenic_plains]=net.minecraft.class_1959@7ffe3064}, Reference{ResourceKey[minecraft:worldgen/biome / scenic:scenic_forest]=net.minecraft.class_1959@485fc24f}]
Good work solving that
So now, a feature order cycle error means you have two or more features that appear in two or more biomes, but you've listed them in different orders in one or more of those biomes
Which isn't allowed
Features must always be listed in the same order relative to each other
Okay that's very doable thank you
Your question, #1389054843821494392 ("Data pack validation failed!" almost every time I create a configured_feature/placed_feature pair), was resolved!
#1389054843821494392 message
25m