#Custom Recipe Help

1 messages · Page 1 of 1 (latest)

chrome fulcrum
#

title

#

So currently

#
on load:
    register shaped recipe:
        id: "minecraft:bedrock"
        result: red dye named "&aA token to remove a death!"
        shape: "aba", "bcb", "ded"
        group: "bloop"
        category: "building"
        ingredients:
            set ingredient of "a" to netherite ingot
            set ingredient of "b" to golden apple
            set ingredient of "c" to totem of undying
            set ingredient of "d" to diamond block
            set ingredient of "e" to emerald block
#

i have a custom item

#

how would I incorporate this custom item into another recipe

timber pine
#

you can use the result of recpie "example" expression as an ingredient, or create the item in a variable, set the result to that, and use that in the next recipe

meager granite
#

I just usually set a temporary variable like {_1} to ingredients and use those

chrome fulcrum
timber pine
#

You can do something like ```on load:
set {item} to 1 of diamond named "custom"
#register recipe for {item}

set {otherItem} to 1 of emerald named "example"
register shaped recipe:
result: {otherItem}
ingredients:
#use {item} here```

timber pine
#

so you would set {item} to your red dye named "&aA token to remove a death!"
and then, you can use {item} as an ingredient in the next recipe

chrome fulcrum
#

wait

#

but the token to remove a death

#

i want to add to the recipe