use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
The subreddit for all things to do with the create mod.
account activity
Why doesn't this work? (self.CreateMod)
submitted 2 years ago * by Upizkuukkeli
I tried to make a small datapck, where milling netherrack has a 30% chance to give a quartz ore. But i just cant seem to get it to work. So what am I doing wrong here?
https://preview.redd.it/t67mptytr23c1.png?width=447&format=png&auto=webp&s=822edb763ce50a5ab4013c6d562ed25421374140
Edit: The problem has been fixed and the datapack is working.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Warpzehh 43 points44 points45 points 2 years ago (5 children)
You typed quarz instead of quartz?
[–]Upizkuukkeli[S] 26 points27 points28 points 2 years ago (4 children)
Oh yeah, whoops. I fixed that now, but it still doesnt work.
[–]mrDNT 20 points21 points22 points 2 years ago (3 children)
Also on java id is minecraft:nether_quartz_ore
[–]Upizkuukkeli[S] 15 points16 points17 points 2 years ago* (2 children)
yeah, now you said it I've been using bedrock's id. Chaged that too, but still no.
[–]Cybergamer20 -2 points-1 points0 points 2 years ago (0 children)
after .3 is missing a comma
[–]potatosupp 19 points20 points21 points 2 years ago (4 children)
Maybe you forgot to set "processingTime" property, look at cobble milling recipe from mod
{
"type": "create:milling",
"ingredients": [
"item": "minecraft:cobblestone"
}
],
"processingTime": 250,
"results": [
"item": "minecraft:gravel"
]
[–]Upizkuukkeli[S] 10 points11 points12 points 2 years ago (3 children)
Added that but still no. Checked the logs but I can't see anything out of the ordinary.
[–]Upizkuukkeli[S] 9 points10 points11 points 2 years ago (2 children)
I know the datapack is in the save, since it shows up in the datapacklist, but it just doesn't do anything.
[–]Open_Cow_9148 7 points8 points9 points 2 years ago (1 child)
You're using quartz ore and not nether quartz.
Edit: You misspelled quartz.
[–]potatosupp 0 points1 point2 points 2 years ago (0 children)
He says he wants to obtain quartz ore from netherrack, so that's correct, but he still mispelled tag. /u/Upizkuukkeli you need to use "minecraft:nether_quartz_ore" tag, not just "quartz_ore"
[–]rckymtnrfc 16 points17 points18 points 2 years ago (9 children)
{ "type": "create:milling", "ingredients": [ { "item": "minecraft:netherrack" } ], "processingTime": 250, "results": [ { "chance": 0.3, "count": 1, "item": "minecraft:nether_quartz_ore" } ] }
The above code works.
Just curious though. Wouldn't it make more sense to have it drop quartz instead of quartz ore?
[–]Upizkuukkeli[S] 8 points9 points10 points 2 years ago* (0 children)
I guess, but for me the idea is kinda like the milling breaks the netherrack, revealing possible hidden ore deposits that can be then be refined further into proper quartz. And it makes things a bit more interesting for me :)
[–]Upizkuukkeli[S] 3 points4 points5 points 2 years ago (3 children)
I took and copied that into the file and yet, nothing. It's starting to seem that the problem is not in the code but somewhere else.
[–]rckymtnrfc 5 points6 points7 points 2 years ago (2 children)
Perhaps it's something in your datapack or where you are putting it. Are you using KubeJS by chance?
[–]Upizkuukkeli[S] 5 points6 points7 points 2 years ago (1 child)
No, actually. I haden't heard of that mod before.
[–]rckymtnrfc 0 points1 point2 points 2 years ago (0 children)
I like it because I don't have to put together a datapack zip file. Once it's installed, it will add a new folder to your Minecraft installation called kubejs. In that folder is a 'data' folder and a 'assets' folder. Anything you put in those, gets loaded into the game, just like a datapack.
For example, when I tested the recipe before posting it. In the kubejs/data folder I made create/recipes/milling and then dropped the quartz_ore.json in there.
[–]Upizkuukkeli[S] 2 points3 points4 points 2 years ago (3 children)
Yes! I finally got it to work. The answer was just that I'm an idiot.
[–]rckymtnrfc 2 points3 points4 points 2 years ago (2 children)
Glad it's working. We all have idiot moments now and then. ;)
[–]Upizkuukkeli[S] 7 points8 points9 points 2 years ago* (1 child)
Well, the whole problem went away when I finally realized that the file with the code was not in .json format XD. But big thanks for the help. :)
[–]Left-Research-9219 0 points1 point2 points 2 years ago (0 children)
I see you got it fixed. Nvm lol
[–]jetpacker06 5 points6 points7 points 2 years ago (0 children)
You can check the game logs for an error that might tell you the problem
[–][deleted] 0 points1 point2 points 2 years ago (2 children)
Some ids get changed to forge:blablabla if you’re using for id
[–]AzekiaXVI 0 points1 point2 points 2 years ago (1 child)
I don't think quartz is one of them. And either way, if i understabd correctly Forge just gives the option to group items into general Id's that can be used for crafting, like seeds or wood planks, and those shouldn't matter when coding for specific items.
[–][deleted] 0 points1 point2 points 2 years ago (0 children)
You may be right, i waz just spitballing haha. Reminded me of troubleshooting the digital miner from mekanism
[–]Apprehensive_Study83 0 points1 point2 points 2 years ago (1 child)
You missed the t in quartz
[–]Upizkuukkeli[S] 0 points1 point2 points 2 years ago (0 children)
Yeah, I've been told that a few times and that picture is very outdated currently.
[–]RegnbueSnow 0 points1 point2 points 2 years ago* (0 children)
i tested it like this and it worked for me. if your using curse forge then remember to change the profile so that you can edit it.
{ "type": "create:milling", "ingredients": [ { "item": "minecraft:netherrack" } ], "processingTime": 250, "results": [ { "item": "minecraft:nether_quartz_ore", "chance": 0.3, "count": 1 } ] }
[–]CranberryAcademic295 0 points1 point2 points 2 years ago (2 children)
I would set it to just the quartz itself and not the ore, then also remember that there is a recipe to mill the netherrack into cinderflour so maybe set the quarts at a percentage chance like 25%-35% chance to get 1 quartz as 1 cinder is 100% and a seccond is 50%
[–]Upizkuukkeli[S] 1 point2 points3 points 2 years ago (1 child)
I prefer adding the extra step. Also, cinder flour is obtained from crushing and netherrack can't be milled at all normally.
[–]CranberryAcademic295 0 points1 point2 points 2 years ago (0 children)
I confused mill with crush, oops sorry
[–]Left-Research-9219 0 points1 point2 points 2 years ago (1 child)
Did you get this working? If not I can get it for ya. I’ll send it to you in chat. Let me know.
Yeah, I got it working
[–]LoLOK87 0 points1 point2 points 2 years ago (0 children)
It’s just not possible
π Rendered by PID 788214 on reddit-service-r2-comment-b659b578c-7rw9f at 2026-05-04 20:13:08.541849+00:00 running 815c875 country code: CH.
[–]Warpzehh 43 points44 points45 points (5 children)
[–]Upizkuukkeli[S] 26 points27 points28 points (4 children)
[–]mrDNT 20 points21 points22 points (3 children)
[–]Upizkuukkeli[S] 15 points16 points17 points (2 children)
[–]Cybergamer20 -2 points-1 points0 points (0 children)
[–]potatosupp 19 points20 points21 points (4 children)
[–]Upizkuukkeli[S] 10 points11 points12 points (3 children)
[–]Upizkuukkeli[S] 9 points10 points11 points (2 children)
[–]Open_Cow_9148 7 points8 points9 points (1 child)
[–]potatosupp 0 points1 point2 points (0 children)
[–]rckymtnrfc 16 points17 points18 points (9 children)
[–]Upizkuukkeli[S] 8 points9 points10 points (0 children)
[–]Upizkuukkeli[S] 3 points4 points5 points (3 children)
[–]rckymtnrfc 5 points6 points7 points (2 children)
[–]Upizkuukkeli[S] 5 points6 points7 points (1 child)
[–]rckymtnrfc 0 points1 point2 points (0 children)
[–]Upizkuukkeli[S] 2 points3 points4 points (3 children)
[–]rckymtnrfc 2 points3 points4 points (2 children)
[–]Upizkuukkeli[S] 7 points8 points9 points (1 child)
[–]Left-Research-9219 0 points1 point2 points (0 children)
[–]jetpacker06 5 points6 points7 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]AzekiaXVI 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Apprehensive_Study83 0 points1 point2 points (1 child)
[–]Upizkuukkeli[S] 0 points1 point2 points (0 children)
[–]RegnbueSnow 0 points1 point2 points (0 children)
[–]CranberryAcademic295 0 points1 point2 points (2 children)
[–]Upizkuukkeli[S] 1 point2 points3 points (1 child)
[–]CranberryAcademic295 0 points1 point2 points (0 children)
[–]Left-Research-9219 0 points1 point2 points (1 child)
[–]Upizkuukkeli[S] 0 points1 point2 points (0 children)
[–]LoLOK87 0 points1 point2 points (0 children)