Topic category: Help with Minecraft modding (Java Edition)
I want to create a recipe to make powdered sugar from my own mod using the crushing wheel from create. I did this by creating an empty recipe in MCreator and copypasting some edited code from the official create mod files, but when i start my modpack the recipe does not exist, and the latest.log shows the message:
[16:57:34] [main/ERROR]: Found a broken recipe: The Almighy Semla thealmightysemla:powdered_sugar_recipe class com.simibubi.create.content.contraptions.components.crusher.CrushingRecipe
Outputs:
net.minecraft.item.ItemStack: [[1 air minecraft:air]]
Inputs:
net.minecraft.item.ItemStack: [[1 sugar minecraft:sugar]]java.lang.IllegalArgumentException: ItemStack value must not be empty. 1 air minecraft:air
at mezz.jei.util.ErrorUtil.checkNotEmpty(ErrorUtil.java:206) ~[?:7.7.1.153]
at mezz.jei.plugins.vanilla.ingredients.item.ItemStackHelper.getUniqueId(ItemStackHelper.java:88) ~
The Create code i copied looks like this:
{
"type": "create:crushing",
"ingredients": [
{
"item": "minecraft:coal_ore"
}
],
"results": [
{
"item": "minecraft:coal",
"count": 2
},
{
"item": "minecraft:coal",
"count": 2,
"chance": 0.5
},
{
"item": "minecraft:cobblestone",
"chance": 0.125
}
],
"processingTime": 300
}
And the code i made from it looks like this:
{
"type": "create:crushing",
"ingredients": [
{
"item": "minecraft:sugar"
}
],
"results": [
{
"item": "thealmightysemla:powdered_sugar",
"count": 1
}
],
"processingTime": 300
}
Any help is appreciated!
double check the registry name for powdered sugar to make sure you did not include a typo, also make sure you are using the right recipe format for the create version you are using, the recipe format is different for different create versions.
Turns out i'm just an idiot in every sense of the word. I tried saving the script with ctrl+s but never double checked if it actually got saved, so i kept using a broken version of the script i knew wouldn't work