#Custom Recipe Help
1 messages · Page 1 of 1 (latest)
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
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
I just usually set a temporary variable like {_1} to ingredients and use those
could you show me an example
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```
???
im so confused what
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
thank you
on load:
register shaped recipe:
id: "minecraft:barrier"
result: purple dye named "&aRevive your peer!"
shape: "aba", "bcb", "aba"
group: "bloop"
category: "building"
ingredients:
set ingredient of "a" to diamond block
set ingredient of "b" to netherite ingot
set ingredient of "c" to beacon
wait
but the token to remove a death
i want to add to the recipe
so how would I do this?