Edited the recipe loading a bit, it should now be possible for other mods that define entirely new crafting systems to add recipes from their new systems to CraftGuide. Will explain how later, as there is no stable API yet, so anything could change about it for now.
Also, shapeless recipes visually different:
Working on 2x2 recipes as well. Also highlighting the recipe under the mouse and considering a favourites list. Considering allowing GUI reskinners the ability to fully customize what each selection box looks like(Not final image):
Rollback Post to RevisionRollBack
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)
Some visual changes, so that small recipes that fit in the inventory 2x2 crafting grid show differently, and shapeless recipes don't have grid lines to make it simple to see that the ingredients may be placed in any order/shape.
The filter works! Now you can easily browse by item type, making it even easier to find what recipe you are looking for! (Could use an upgrade, as it won't show recipes requiring any colour wool when filtered to blue wool, and vice versa)
Rather insignificant things:
The row count shows a range and is right-aligned.
The entire recipe under the mouse has a different background, as one extra little bit of interactivity. Will help if some feature requires just clicking on a recipe, eventually.
Rollback Post to RevisionRollBack
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)
I'm making a mod-pack and I was going to use recipe book, but this seems like it will be better just for the fact that it is harder to come by, but it it easier to use! So, may I use it in my mod-pack? Anyways, amazing job!
I'm making a mod-pack and I was going to use recipe book, but this seems like it will be better just for the fact that it is harder to come by, but it it easier to use! So, may I use it in my mod-pack? Anyways, amazing job!
Most certainly! I'll add you to the list. Also, when you are done, I can put a link alongside it, if you want.
Rollback Post to RevisionRollBack
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)
Just thinking
You want to make a SMP version right?
Why not make a version that works in SMP where you right click with a book (on something that cant be right clicked) and the CraftGuide opens?
Perhaps a small option where you can change whether to use the CraftGuide item or the Item Book.
Or perhaps you could just detect if the player is in SMP.
By book I mean ID : 340
Most SMP servers will not install a server sided CraftBook which means you would need to convert something into CraftBook item.
Ofc Book would still need to be completely useable to craft bookcases and so on.
But wicked stuff you are making!
Keep up the good work!
P.S.
I know ALOT of people will love this way way more if it has client sided SMP support.
Atm Recipe Book can work in SMP. Using some hacky methods which everyone hates..
And you know what the GUI in recipe book is like..
The only thing is that I haven't looked at how SMP works, so am assuming the worst, that the server doesn't necessarily send all of the recipe information at once. If the client DOES have a copy of the recipes, or it's simple enough to send them the list, then SMP support should be fairly easy to add.
Rollback Post to RevisionRollBack
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)
The only thing is that I haven't looked at how SMP works, so am assuming the worst, that the server doesn't necessarily send all of the recipe information at once. If the client DOES have a copy of the recipes, or it's simple enough to send them the list, then SMP support should be fairly easy to add.
I'm wondering why something such as "recipe list" would be required to be sent? if they have the client installed, simply send a "load this list from client" or however you would do it, unless that's what you meant, and I've failed to understand it :tongue.gif:
i would assume the client does have a copy, otherwise SSP wouldnt function properly, right?
Thats how recipe book works in SMP when I run the hacky version.
The hacky version just allows me to hold the recipe book item, however I can still view all the recipes without the server knowing/caring.
Im not a expert or anything, I may be wrong.
But the server cant invent a new recipe without telling the client otherwise the client will not be able to make that recipe.
The client cant make a recipe the server knows to be false either.
^ Forgot why I included above information - Might be because the client may show recipes that will not work in SMP? I never tried that
Also the server cant change ID's or anything unless the client has the ID's changed too.
The client will crash if the ID's dont match up
(This is good for private servers who dont have IP's hidden lol)
Basically.
If the client can craft it. Then craftguide should see it.
There may be problems with SMP however, Though you could release a version that works in SMP.
Then if you are able.
Have a select thingy for turning Mod recipes in SMP on and off.
So I can turn off Buildcraft recipes when im in a vanilla server because I know it will not work.
I dont know if the recipes will show in SMP that the server doesnt know how to handle.
But I can safely assume it will as the mod is client sided.
The recipe list is client sided too.
After all.
This mod isnt sending to minecraft.net and asking for the recipes in SSP is it xD
Every time I check this thread the mod gets more epic.
Filtering different mod recipes? That is a level of awesome I couldn't possibly expect. Seriously, this is a must have mod to compliment all other mods.
Rollback Post to RevisionRollBack
If you think something's impossible.
You haven't tried hard enough.
Every time I check this thread the mod gets more epic.
Filtering different mod recipes? That is a level of awesome I couldn't possibly expect. Seriously, this is a must have mod to compliment all other mods.
Ikr.
This has way more content then Recipe book already.
I just cant wait for SMP.
Everytime someone goes "How to make piston"
Im gonna go "Google CraftGuide and click on first result"
No, RP2's alloy furnace, I would assume, as it doesn't use either the standard crafting or standard smelting systems. I hope to eventually figure out a simple API that would allow other mods to define such systems to have them show up alongside the rest of them, though.
Technically it already can do that, but it's all undocumented, liable to change at any time, and certainly could use a lot of work (especially on being less entangled with unrelated internal classes...). Once it has been described publicly, it won't change (if at all possible, as changing anything would risk instantly breaking any code using it; not something I want to do).
Rollback Post to RevisionRollBack
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)
would it be possible to make it so that if you click on an item in the book it will jump to the recipe to make that item? for example, crafting benches require planks, if I clicked on planks in that recipe it would jump to the recipe that shows how to make planks.
granted I wouldnt use it to see how to make planks but many mods have items you need to craft and then use those items in other crafting recipes.
Other than that I'm already using your mod over Recipebook, you've done an impressive job. I'd also like to add this to my SMP server, once you got around to add support for this. As others in this thread have already pointed out, you only need to add your recipe to the server, so you can craft it (the recipe and item ID has to exist on the server). You can then use the client's recipe list to show all recipes like you do in SSP. This list will also include items for mods that are installed on the client and not the server, but I'd always assume that users who install mods will know when they are running mods that are not on the server (and therefore will not be able to craft them in SMP).
And then there would be servers that wouldnt want to be forced to make all their players install this mod.
Which means he may have to use my idea of using the book for CraftGuide's recipes :\
What I’d like to see improved would be better adaptation to screen size. Right now there are only two columns of items shown and a lot of space around the GUI (this is dependent on GUI scale, of course, so you might have to check the user's setting to determine what size to display). I'd like to be able to increase the amount of columns shown and also increase the dialog's vertical size (the scroll bar is quite perfect already and should scale well with whatever vertical size the dialog is presented in).
True. I have a nice big screen and I feel like more recipes can be fitted into my screen
A textual search bar might be nice, though your filer does a good job for this already. Though for this you should display the item used for filtering above the "Clear"-button (and possibly a short note like "click any item to use it as a filter" when none is selected).
Another feature I would hope for :smile.gif:
Another nice feature (this might be a little out of scope for this mod, I don't know... I'm just putting it out there) would be the incorporation of some crafting helper functionality: if you open up the crafting table GUI with your new recipe book in your inventory (or right click on the workbench while holding your book), it could scan the contents of your inventory, check for items you can craft from those items and display a list of icons of the products to the left of the crafting table (inspired by TooManyItems). When you click one of those items, it puts the resources required to craft this item into the crafting field in the appropriate pattern. So you could build all the items comfortably without cheating / spawning any of them.
This idea doesnt really seem much like a good idea to me.
I wouldnt want this feature and I'd prefer he didnt include this.
I like this over Risugamis since his does get quite hectic when you have a mad that adds alot of stuff. The recipe also makes more sense in this one than the other one.
What I’d like to see improved would be better adaptation to screen size. Right now there are only two columns of items shown and a lot of space around the GUI (this is dependent on GUI scale, of course, so you might have to check the user's setting to determine what size to display). I'd like to be able to increase the amount of columns shown and also increase the dialog's vertical size (the scroll bar is quite perfect already and should scale well with whatever vertical size the dialog is presented in).
...
The other side of that, is that keeping the entire GUI at a fixed size makes it easier to reskin it arbitrarily. It wouldn't take long to alter it to use a few (9 each, likely) small images to draw the sides, corners, and fill of each background rectangle for arbitrary sizes, and there are only a few places that would need to be changed to support an arbitrarily sized recipe display rectangle.
As it is right now, you could copy a huge trollface in so that it is seen behind the recipes when there are less than three of them being shown at the time, but it can't resize at all.
Thinking about it, I suspect that more people would like resizing, but rather than just leave it at a guess, I'll just ask: Which one would you prefer?
Rollback Post to RevisionRollBack
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)
I'm using EE, RP2, BC, IC2, PG, and a few other add-ons to BC.
Last night, just after installing the latest Craft Guide, I noticed that in some mods, like EE, the item filtering never shows the recipe to make the thing I click on. This isn't the case for everything, but an example is the Philosopher Stone. The recipes that give you the Stone from other items not including the Stone itself (there are at least two or three ways to make the Stone with vanilla items) were never shown when filtering on the Stone. I noticed this same problem for a few other items as well.
80% of the time, when I want to click on an item to filter on it, I want to find all the ways I can make that item, not see all the other items I can make with it. It ought to be easy to list firstly the recipes that produce or output the filtered item, then list all the recipes that use the filtered item as an input. The Stone is a special problem, since EE has a huge number of recipes, and 90% of them involve the Stone.
Also, maybe sub-order the list further by alphabetical order of the outputted item, so that it is easier to find the desired item in a huge filtered list like that of the PStone.
Thanks! Great Mod!!!! Risugami's is great for vanilla Minecraft, but is worthless for a mod-list like mine.
Rollback Post to RevisionRollBack
Is there a mod that sends a wave of dirty, smelly zombies if you collect too many valuables? You could call it Occupy Minecraft.
My current mods using Forge 1.2.4: IC2 1.43, BC 2.2.11, RP2 pr4c, EE 5.7.3, Thaumcraft 1.2.1, Railcraft, PG4, WR 1.5, Adv Machines for IC2, Logistics Pipes 0.1.6, AddlBCPipes, Power Converters, BC-IC Crossover, Treecapitator, Charging Bench, Thermometer, Forestry, Ender Chest, NEI, ReiMM v2.9, OptiFine_1.0_HD_MT_D3, various Risugami & DaftPVF mods, & bonemouse's Isabella textures w/ScottKillen's add-ons. (Update to MC 1.1 in progress.)
I'm using EE, RP2, BC, IC2, PG, and a few other add-ons to BC.
Last night, just after installing the latest Craft Guide, I noticed that in some mods, like EE, the item filtering never shows the recipe to make the thing I click on. This isn't the case for everything, but an example is the Philosopher Stone. The recipes that give you the Stone from other items not including the Stone itself (there are at least two or three ways to make the Stone with vanilla items) were never shown when filtering on the Stone. I noticed this same problem for a few other items as well.
80% of the time, when I want to click on an item to filter on it, I want to find all the ways I can make that item, not see all the other items I can make with it. It ought to be easy to list firstly the recipes that produce or output the filtered item, then list all the recipes that use the filtered item as an input. The Stone is a special problem, since EE has a huge number of recipes, and 90% of them involve the Stone.
Also, maybe sub-order the list further by alphabetical order of the outputted item, so that it is easier to find the desired item in a huge filtered list like that of the PStone.
Thanks! Great Mod!!!! Risugami's is great for vanilla Minecraft, but is worthless for a mod-list like mine.
It's a known problem. Basically, Minecraft's default crafting system treats an item's damage value (what it uses to tell the difference between different versions of an item, such as wool colour, as well as actual damage for things like tools... Poor naming, there) specially: If it is -1, it will accept any damage value. Meanwhile, actual item stacks just see -1 as yet another value with no specific meaning.
To fix that, I just simply made my own comparison function that understands -1 as a wildcard, and used it rather than the existing itemstack comparison, but haven't released the fixed version just yet, as I am waiting until I have finished one or two more features (mainly having it display the item it is filtering by, but perhaps also having the GUI fully resizable if there is enough interest expressed here by then).
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)
Good ideas too, DanNetwalker!
Also, shapeless recipes visually different:
Working on 2x2 recipes as well. Also highlighting the recipe under the mouse and considering a favourites list. Considering allowing GUI reskinners the ability to fully customize what each selection box looks like(Not final image):
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)
Some visual changes, so that small recipes that fit in the inventory 2x2 crafting grid show differently, and shapeless recipes don't have grid lines to make it simple to see that the ingredients may be placed in any order/shape.
The filter works! Now you can easily browse by item type, making it even easier to find what recipe you are looking for! (Could use an upgrade, as it won't show recipes requiring any colour wool when filtered to blue wool, and vice versa)
Rather insignificant things:
The row count shows a range and is right-aligned.
The entire recipe under the mouse has a different background, as one extra little bit of interactivity. Will help if some feature requires just clicking on a recipe, eventually.
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)
Output quantities weren't showing up. Now they are.
Most certainly! I'll add you to the list. Also, when you are done, I can put a link alongside it, if you want.
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)
You want to make a SMP version right?
Why not make a version that works in SMP where you right click with a book (on something that cant be right clicked) and the CraftGuide opens?
Perhaps a small option where you can change whether to use the CraftGuide item or the Item Book.
Or perhaps you could just detect if the player is in SMP.
By book I mean ID : 340
Most SMP servers will not install a server sided CraftBook which means you would need to convert something into CraftBook item.
Ofc Book would still need to be completely useable to craft bookcases and so on.
But wicked stuff you are making!
Keep up the good work!
P.S.
I know ALOT of people will love this way way more if it has client sided SMP support.
Atm Recipe Book can work in SMP. Using some hacky methods which everyone hates..
And you know what the GUI in recipe book is like..
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)
Thats how recipe book works in SMP when I run the hacky version.
The hacky version just allows me to hold the recipe book item, however I can still view all the recipes without the server knowing/caring.
Im not a expert or anything, I may be wrong.
But the server cant invent a new recipe without telling the client otherwise the client will not be able to make that recipe.
The client cant make a recipe the server knows to be false either.
^ Forgot why I included above information - Might be because the client may show recipes that will not work in SMP? I never tried that
Also the server cant change ID's or anything unless the client has the ID's changed too.
The client will crash if the ID's dont match up
(This is good for private servers who dont have IP's hidden lol)
Basically.
If the client can craft it. Then craftguide should see it.
There may be problems with SMP however, Though you could release a version that works in SMP.
Then if you are able.
Have a select thingy for turning Mod recipes in SMP on and off.
So I can turn off Buildcraft recipes when im in a vanilla server because I know it will not work.
I dont know if the recipes will show in SMP that the server doesnt know how to handle.
But I can safely assume it will as the mod is client sided.
The recipe list is client sided too.
After all.
This mod isnt sending to minecraft.net and asking for the recipes in SSP is it xD
Filtering different mod recipes? That is a level of awesome I couldn't possibly expect. Seriously, this is a must have mod to compliment all other mods.
You haven't tried hard enough.
Ikr.
This has way more content then Recipe book already.
I just cant wait for SMP.
Everytime someone goes "How to make piston"
Im gonna go "Google CraftGuide and click on first result"
Awesome mod Uristqwerty, this will make playing with mods much more manageable!
[edit] It's a pity that RP2 smelting recipes don't show up, but that's probably beyond the scope of this mod.
Technically it already can do that, but it's all undocumented, liable to change at any time, and certainly could use a lot of work (especially on being less entangled with unrelated internal classes...). Once it has been described publicly, it won't change (if at all possible, as changing anything would risk instantly breaking any code using it; not something I want to do).
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)
EDIT:
actually, better then the old version :biggrin.gif:
granted I wouldnt use it to see how to make planks but many mods have items you need to craft and then use those items in other crafting recipes.
And then there would be servers that wouldnt want to be forced to make all their players install this mod.
Which means he may have to use my idea of using the book for CraftGuide's recipes :\
True. I have a nice big screen and I feel like more recipes can be fitted into my screen
Another feature I would hope for :smile.gif:
This idea doesnt really seem much like a good idea to me.
I wouldnt want this feature and I'd prefer he didnt include this.
Fierce as Fire, Immovable as a Mountain, Righteous as the Light!
The other side of that, is that keeping the entire GUI at a fixed size makes it easier to reskin it arbitrarily. It wouldn't take long to alter it to use a few (9 each, likely) small images to draw the sides, corners, and fill of each background rectangle for arbitrary sizes, and there are only a few places that would need to be changed to support an arbitrarily sized recipe display rectangle.
As it is right now, you could copy a huge trollface in so that it is seen behind the recipes when there are less than three of them being shown at the time, but it can't resize at all.
Thinking about it, I suspect that more people would like resizing, but rather than just leave it at a guess, I'll just ask: Which one would you prefer?
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)
I'm using EE, RP2, BC, IC2, PG, and a few other add-ons to BC.
Last night, just after installing the latest Craft Guide, I noticed that in some mods, like EE, the item filtering never shows the recipe to make the thing I click on. This isn't the case for everything, but an example is the Philosopher Stone. The recipes that give you the Stone from other items not including the Stone itself (there are at least two or three ways to make the Stone with vanilla items) were never shown when filtering on the Stone. I noticed this same problem for a few other items as well.
80% of the time, when I want to click on an item to filter on it, I want to find all the ways I can make that item, not see all the other items I can make with it. It ought to be easy to list firstly the recipes that produce or output the filtered item, then list all the recipes that use the filtered item as an input. The Stone is a special problem, since EE has a huge number of recipes, and 90% of them involve the Stone.
Also, maybe sub-order the list further by alphabetical order of the outputted item, so that it is easier to find the desired item in a huge filtered list like that of the PStone.
Thanks! Great Mod!!!! Risugami's is great for vanilla Minecraft, but is worthless for a mod-list like mine.
My current mods using
Forge 1.2.4: IC2 1.43, BC 2.2.11, RP2 pr4c, EE 5.7.3 , Thaumcraft 1.2.1, Railcraft, PG4, WR 1.5,Adv Machines for IC2, Logistics Pipes 0.1.6, AddlBCPipes, Power Converters, BC-IC Crossover, Treecapitator, Charging Bench, Thermometer, Forestry, Ender Chest, NEI, ReiMM v2.9, OptiFine_1.0_HD_MT_D3,various Risugami & DaftPVF mods, & bonemouse's Isabella textures w/ScottKillen's add-ons. (Update to MC 1.1 in progress.)It's a known problem. Basically, Minecraft's default crafting system treats an item's damage value (what it uses to tell the difference between different versions of an item, such as wool colour, as well as actual damage for things like tools... Poor naming, there) specially: If it is -1, it will accept any damage value. Meanwhile, actual item stacks just see -1 as yet another value with no specific meaning.
To fix that, I just simply made my own comparison function that understands -1 as a wildcard, and used it rather than the existing itemstack comparison, but haven't released the fixed version just yet, as I am waiting until I have finished one or two more features (mainly having it display the item it is filtering by, but perhaps also having the GUI fully resizable if there is enough interest expressed here by then).
CraftGuide, recipe viewer with a scrollbar! (Resizable window, too, if you prefer playing with a smaller GUI scale and are tired of GUIs only occupying a tiny square in the centre)