mojira.dev
MC-228902

datapack validation failed?

So I have a datapack Ive been working on for the past few months (1.16), and I actually recently ran into an issue where chiseled_stone_bricks and stone_brick_walls just dont work? However, I was told this issue is "outdated" and to update to 1.17. So I did, because maybe the issue got fixed...

Nope.

Datapacks do not work at all.

It says "Data pack validation failed".

Attachments

Comments 9

Please attach the affected data pack.

You have a lot of mistakes in the provided datapack.

Some examples include:

  • You can only use lowercase characters, but you are using uppercase

  • You have some files in your datapack that are empty (for example acacia_slab.json). Delete all of them

  • You are using minecraft:air in some recipes, which does not exist. You need to specify the output item or use "result": {} if it should be empty.

  • As well as other errors

I suggest you track them down individually using the [minecraft/latest.log|https://minecrafthopper.net/help/finding-minecraft-data-folder/] file that contains more output on what exactly is wrong and where. Enabling log output in the Minecraft launcher settings can also be helpful.

Wait what? No that's the point. Im trying to overwrite and remove the recipes with blank files. It worked fine until the 1.17 update. Did something change?

And what do you mean by lowercase? Like do you mean the main folders? What needs to be lowercase and isnt?

And what recipes use air? I dont remember ever using minecraft:air in any of the recipes. Even if I did, wouldn't the recipe just not work? why would it make the entire pack not work??

It seems like most of the errors are related to an extra recipes folder I left in. Ill remove that and try again.

Okay bad news it still failed even after removing that. Actually Ill link the new error: https://paste.ubuntu.com/p/whPwZ3NYSp/

So whenever you guys get back to this, Ive fixed a few things, such as apparently one of the main issues was that I now need to specify world height and min_y. If the datapack is being converted from 1.16 is that not the first thing you would think of? Anyways I fixed that and the new error im still getting is that Basalt is "Not a JSON object"?

> So whenever you guys get back to this
This is not a support forum, you are going to have to fix the errors you made yourself.

You could ask for help on other sites, maybe the Datapack subreddit (https://old.reddit.com/r/datapacks/).
Most of the time the errors should be self-explanatory. "Not a JSON object" means you that you haven't used valid json format.

The bug tracker is for bugs only, we will be closing this report as Invalid.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Um sure? anyways it works now even in 1.17, if I dont use custom biomes for the nether. Is this a known bug?

aceplante

(Unassigned)

Unconfirmed

(Unassigned)

1.17

Retrieved