#How do I make a recipe that returns item container after craft
24 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
if youre using the crafting table, you can add chain .replaceIngredient('water bottle ID', 'empty bottle ID') at the end of the recipe
Could you provide an example? I'm not familiar with events
ServerEvents.recipes(e => {
e.shapeless('dirt', 'water_bottle').replaceIngredient('water_bottle', 'bottle')
})
You can add, remove, and modify recipes with KubeJS. The wiki has a page on that!
If you want to learn how to add recipes to any mod, click the Custom button.
In Lexxie's example, you can see that if the namespace is minecraft, you can omit it. But this only is the case with minecraft namespace
For modded items, you must provide the namespace
it was mostly just placeholders in what i wrote
not sure if thats the correct id for the bottles
It's minecraft:potion
For water bottles and other potions
And minecraft:glass_bottle for empty, glass bottles
there you go uwu
Potions are differentiated by NBT, and potion without NBT is an uncraftable potion
as opposed to the normal minecraft:plastic_bottle
lol
always found it weird to add random things like that, when theres no need to differentiate it
Anyways, find out correct item IDs and item syntaxes using a command:
/kjs hand
while holding a desired item
Oh so it's not much different from regular recipes
Aight thanks a lot
I'll check it out when I can
Yep it's working thanks a lot
