Is there a way to add potion recipes to guide
Lothrazar opened this issue · 11 comments
Potions use IBrewingRecipe , which does not extend IRecipe. So the crafting recipe page wont work
I looked through the documentation and source code, and it seems like we have PageIRecipe, PageFurnaceRecipe, and a few pages for sounds and text and images, but no text for potions.
Wow so pretty! Cool ill wait until textures are in so i wont worry about that and stay in the code.
forked and pulled code in from my own repository. This is what i have so far. Without textures and subject to change. #66
Let me know if anything needs to change with this. I couldnt get it running with the standalone repo, so technically untested but i had started out just in my own repo where i had it working https://github.com/PrinceOfAmber/Cyclic/blob/249946a1669a0fded529357a141fbf2385c19b9d/src/main/java/com/lothrazar/cyclicmagic/PageBrewingRecipe.java
If you need anything and im not responding right away ping me on twitter, otherwise i will check back in periodically https://twitter.com/lothrazar
Would you consider accepting a pull request with a PageBrewingRecipe into the base GuideAPI mod?
I havent made one yet.. but existing pages have nice clean readable code so ill probably be making one for my own use anyway.
Anyway let me know if you accept submissions like that @TehNut
Hopefully once #60 gets resolved, you'll be able to directly render the potion recipe from JEI when's its present, allowing your guide books to support modified recipes via CraftTweaker scripts etc