#recipe for a book using 2 mods. in a way.
36 messages · Page 1 of 1 (latest)

1, get rid of those 1xs 
2. that's not how nbt works...
you can use /kjs hand while holding the book in your hand to copy it's nbt
click on the green text to copy it
and use that as the first argument in the recipe instead
??codeblock
You can write your code in a codeblock by typing it between the codeblock delimiters:
```js :arrow_left:
ServerEvents.recipes(event => {
event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
``` :arrow_left:
As an example, :arrow_up: will look like this:
ServerEvents.recipes(event => {
event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
??editor
If you're working with KubeJS scripts, config files, or similar things, we generally recommend using an actual IDE rather than just Notepad++ and its various siblings.
In a lot of cases, it can help you find errors in your code faster and also gives you neat features like syntax highlighting, automatic formatting, etc!
We recommend Visual Studio Code, since it's lightweight(-ish) and works very well with JavaScript files out-of-the-box.
no 
Missing the parenthesies at the event.shapeless, and the closing for the Item.of and the comma after that
// inside of the recipes event
e.shapeless(Item.of('patchouli:guide_book', '{"patchouli:book":"bigreactors:erguide"}'), ['bigreactors:basic_reactorcasing', 'book']).id('kubejs:sgz-custom-recipes/misc/minecraft_crafting/guide-book')


rule 1
#1 🇬🇧 English only!
my patience is being tested, i see
huh
i'll note it down that saying "excuse me" is me complaining
not you, you goofball
Ticket closed!



