So my code is this:
const potionRecipes = (potionID) => {
// [...] Some other recipes that work fine
event.shapeless(
`4x kubejs:${potionID}`,
[`kubejs:${potionID}_bucket`, 'minecraft:glass_bottle', 'minecraft:glass_bottle', 'minecraft:glass_bottle', 'minecraft:glass_bottle']
).replaceIngredient(`kubejs:${potionID}_bucket`, 'minecraft:bucket')
.id(`shapeless/${potionID}`);
};```
The recipe works just fine
However, it seems that it doesn't like my template strings. I also tried using `Item.of('kubejs:${potionID}_bucket')` (pretend the ' are backticks, markdown), but without success.
If I replace it with `'minecraft:glass_bottle'` it does only replace the bottles