#Trying to get a datapack with recipes to work

1 messages · Page 1 of 1 (latest)

glad bramble
#

I cant get my datapack to work even tho it looks fine

glad bramble
#

@elder vale

ashen copper
#

If the recipes aren't working can you send one of them here

prisma sparrow
glad bramble
glad bramble
elder vale
prisma sparrow
#

After you fixed the namespace issue that Silabear helped with did you /reload and/or restart the world?

glad bramble
#

the already fixed datapack

elder vale
#

does the pack show up when you do /datapack list

glad bramble
#

yes

#

it shows as enabled

elder vale
#

hmm try checking the game logs

prisma sparrow
#

Not sure if this is the issue

stuck inletBOT
prisma sparrow
#

But he's modifying vanilla recipes

#

So the namespace should be minecraft

#

Not event

elder vale
#

as long as the pack is above the default minecraft pack it shouldn't matter

#

actually that doesn't matter either, you're just adding a new recipe for the item instead of replacing one

prisma sparrow
#

Oh alright

#

But this way the vanilla recipe won't be replaced then, right

elder vale
#

replacing the exact file is only necessary if you're replacing the original recipe, otherwise you can have as many recipes for as many items as you want with any name

prisma sparrow
#

So the item can be crafted both ways

elder vale
#

yes

glad bramble
#

@elder vale @prisma sparrow okay so the only thing I foound is this

#

[15:06:56] [Worker-Main-21/ERROR]:Couldn't parse data file 'event:elytra' from 'event:recipe/elytra.json': DataResult.Error['Pattern references symbol '=' but it's not defined in the key']

#

which yeah I missed that

#

but

#

why wouldnt anything else work

prisma sparrow
#

Do any of the recipes show up when you do /recipe give @s event:?

#

(assuming event is your namespace)

glad bramble
#

Alr I fixed it somehow

tulip dove
#

somehow!

glad bramble
#

I think I had the pattern made wrong

glad bramble
tulip dove
#

this happened to me once

#

but I fixed it somehow and it doesn't happen again

glad bramble
#

but I have another issue that recipes which have space as a blank slot dont work...

#

like this doesnt work

#

nor does this

tulip dove
#

does it appear when you do /recipe give @s event:

glad bramble
#

nope

tulip dove
#

and where did you put the recipe files in?

#

like file structure

glad bramble
#

everything works except for the two I mentioned

#

would putting " ": "minecraft:air" in key work?

tulip dove
#

you shouldnt have to

#

that's weird honestly

#

can you show me the amethyst_shard one

glad bramble
glad bramble
tulip dove
#

stonecutter?

glad bramble
#

this is for the heavy core

glad bramble
tulip dove
#

and it works right

glad bramble
glad bramble
tulip dove
#

it works fine for me

#

even though I'm replicating your recipe

#

does any of the recipe have the same patterns and key

glad bramble
tulip dove
#

can you try copy and pasting one of them

#

and name them test

#

and see if it appears ingame?

#

but change one of the key items

#

to a different one

glad bramble
#

i tried chaning it all

#

just to be sure

#

ykyk

tulip dove
#

try

glad bramble
#

doesnt work

tulip dove
#

what about when you do /recipe

glad bramble
#

it doesnt show in event:

tulip dove
#

change the numbers to letters

glad bramble
#

now it works

#

with letters

glad bramble
tulip dove
glad bramble
#

do yk how cookingtimw works

tulip dove
#

ticks

glad bramble
#

well I have this

#

is it correct?

tulip dove
#

yeah

glad bramble
tulip dove
#

can i get helper role now

#

🥹

narrow moatBOT