-
Notifications
You must be signed in to change notification settings - Fork 34
Description
On the Editing Recipes page of the wiki, under Advanced Techniques -> Looping (https://kubejs.com/wiki/tutorials/recipes#looping) there is this block of example code:
metals.forEach(metal => {
event.shapeless(kubejs:$==={metal}===_plate, [minecraft:$==={metal}===_ingot, 'kubejs:hammer'])
.damageIngredient('kubejs:hammer')
})
The equals symbols are not correct and seem to be there by mistake. Furthermore, part of it uses backticks instead of apostrophes, which is also incorrect. It should be:
metals.forEach(metal => {
event.shapeless(kubejs:${metal}_plate, [minecraft:${metal}_ingot, kubejs:hammer])
.damageIngredient('kubejs:hammer')
})
I mentioned this to another user and they said the "===" part was not on the site for them. Can someone else confirm if they also see this?