unable to get the guide book
VaporeonScripts opened this issue ยท 29 comments
I don't know, I'm guessin Item.of takes a second param which would be for the component data
1.21.1 neoforge
altough i tried on a new world in creative by crafting and it gave me it?
the item is not called productivebees:guide
, it's a patchouli guide book with productivebees:guide
as the data
once you have the book from crafting hold it in your hand and run the cmd /data get entity @p SelectedItem
to get the ID and data
the book in your screenshot would not work, it's also one with a component
the three other guide books in your script uses their own item instead of the patchouli one and do not require a component
https://wiki.latvian.dev/books/kubejs-legacy/page/starting-items
it shows the second param in the example so it would be something like Item.of('patchouli:guide_book', '{components:{"patchouli_book": "productivebees:guide"}}')
what do you expect me to do? I don't make kubejs and you give me no info on how it's not working. check the kjs logs or something
dont u know the exact id of the book or wth?, anyways im asking in the kubejs discord
that's why you need to add the component (what was NBT in pervious versions) as the second param
the id for the book is patchouli:guide_book[patchouli:book="productivebees:guide"]