Trouble making recipe using the Create mod's curshing weel

Started by Rasmusmario123 on

Topic category: Help with modding (Java Edition)

Last seen on 15:41, 21. Jun 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trouble making recipe using the Create mod's curshing weel

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!

Last seen on 00:15, 20. May 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
double check the registry…
Tue, 06/20/2023 - 15:46

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.

Last seen on 15:41, 21. Jun 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Turns out i'm just an idiot…
Tue, 06/20/2023 - 15:58

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