gigaherz / Guidebook

Minecraft book API and library
https://www.curseforge.com/minecraft/mc-mods/guidebook
Other
31 stars 16 forks source link

1.19.2 resource pack doesn't work #109

Closed huggger closed 1 year ago

huggger commented 1 year ago

As the title,I followed the method you given to create step by step,but it wasn't shown in game,I'd checked it out for many times but it was unusing either.I used command /give but I only got the "missing book".I'm sure the address was correct. Didn't 1.19.2 version support resource packs? (Even the example resource pack couldn't work...)

gigaherz commented 1 year ago

Hi the instructions may be outdated, but yes books in resource packs should work! If it doesn't work it's bug that I will have to fix.

Does your resource pack have a books.json file? and is the book xml with the right name and folder?

huggger commented 1 year ago

Hi,Yeah,I'm pretty sure.'Cuz I may wrong but example can't. I enabled the example datapack and tried typing command /give @p gbook:guidebook{Book:"gbook:demobook.xml"} 1,but fact is,I got another "missing book"

gigaherz commented 1 year ago

I'll check when I get home.

huggger commented 1 year ago

got it,now I find I can edit guidebook.xml to get the book i want,But it's not convenient for true

huggger commented 1 year ago

hmmm...Have you found out the incorrect places?

gigaherz commented 1 year ago

sorry I have become busy with christmas things. I will try to look as soon as I can but I can't promise when.

huggger commented 1 year ago

Don't be so worried,I'm just asking,have a nice christmas day btw.

huggger commented 1 year ago

oh,sorry that it's my bad,I put it into the datapacks folder instead of resourcepacks,it should be in resourcepacks one... Nothing wrong with your mod in 1.19.2,sorry again about wasting your spare time