Skip to content

Cooking Ingredients

spigbop edited this page Jun 16, 2026 · 1 revision

Cooking ingredients should be inside the directory data/<namespace>/constant_ingredients. From there, any number of subdirectories can nest the contents. Keep in mind that, like any other minecraft identifier, when using these ingredients in other places, the subdirectories should also be present.

Example usages in other places:

  • <namespace>:myingredient will point to data/<namespace>/constant_ingredients/myingredient.
  • <namespace>:dir/otheringredient will point to data/<namespace>/constant_ingredients/dir/otheringredient.

Formatting of cooking ingredients is very similar to that of vanilla item tags with the addition of ingredient values:

{
  "values": [
    {
      // single item entry
      "id": "mymod:myitem",
      // ingredient value in 32-bit float, this value is preferred to be a 
      // multiple of 0.5
      "value": 1.0
    },
    {
      // item tag entry - every item in this tag will be assigned 1.0 
      // ingredient value
      // prefixed with a '#'
      "id": "#minecraft:oak_logs",
      "value": 1.5
    }
    // more entries...
  ]
}

Clone this wiki locally