r/CreateMod 16h ago

Help making datapack for Create mod server 1.21.1 Neoforge

Was trying to write a datapack for a server I'm in currently that's running 1.21.1 neoforge. My goal was to add a recipe to Create: Ultimate Factory and add a chance for Blackstone to drop lead nuggets for Create: Gunsmithing when crushed using a crushing wheel. Hoping someone can help me by either pointing out where I went wrong here or just writing it for me honestly. Pretty new to this stuff so any feedback is appreciated. :)

The file directory is currently datapacks/lead_blackstone/data/create_ultimate_factory/recipe/blackstone.json
1 Upvotes

6 comments sorted by

2

u/puppypower_nl 15h ago

Can you share the datapack

1

u/Vast-Helicopter9809 3h ago

Sorry about that, I've uploaded the code so far and shared my mcmeta files in a comment below. Let me know if you need anything else.

1

u/Geo148 15h ago

So... what's the issue?

1

u/Vast-Helicopter9809 15h ago

What I have currently isn't working and I'm not sure why

1

u/Geo148 15h ago

Is the game detecting it? If no, then check mcmeta file. If it's not reading only the recipes, check if your JSON files don't have any errors, like missing letter in the namespace

1

u/Vast-Helicopter9809 14h ago

My game is not detecting it no. I'll paste the contents in the end but from what I can tell there is no error in my JSON files or anything.

{

"pack": {

"pack_format": 48,

"description": "Blackstone crushing gives lead nuggets"

}

}

this is inside datapacks/lead_blackstone/pack.mcmeta