Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the machine's processables to the machine's usage #204

Closed
Prospector opened this issue Mar 8, 2016 · 6 comments
Closed

Add the machine's processables to the machine's usage #204

Prospector opened this issue Mar 8, 2016 · 6 comments
Assignees

Comments

@Prospector
Copy link

It would be real nice to be able to search up the uses for a crafting table to bring up the recipes that are crafted in it. This could be added in a couple ways (and both of them should be added IMO):

  • Machine's processes in usage (example: when I view uses for crafting table, all crafting table recipes show up
  • When viewing the machine's JEI handler, show the machine in the corner so you can view the crafting recipe of the machine itself. (example: when I view alloy smelter recipes, I can click on an alloy smelter icon in the corner to view the recipe of the alloy smelter itself)
@mezz mezz self-assigned this Apr 29, 2016
@mezz
Copy link
Owner

mezz commented Apr 29, 2016

Currently working on this. It's a big feature, making a real mess of things. I think it will be really good to have though.

@mezz mezz closed this as completed in 6ffdee5 Apr 29, 2016
@mezz
Copy link
Owner

mezz commented Apr 29, 2016

2016-04-29_14 03 26

@KnightMiner
Copy link

does this support multiple stacks for a single handler? Like could a mod add their crafting table to a list for vanilla crafting then animate through that, or otherwise a mod list multiple machines for their own recipe?

@mezz
Copy link
Owner

mezz commented Apr 29, 2016

It should yes, I haven't tested it yet since 1.9 is lacking mods heh.

Registration looks like this:

registry.addRecipeCategoryCraftingItem(new ItemStack(Blocks.CRAFTING_TABLE), VanillaRecipeCategoryUid.CRAFTING);
registry.addRecipeCategoryCraftingItem(new ItemStack(Blocks.FURNACE), VanillaRecipeCategoryUid.SMELTING, VanillaRecipeCategoryUid.FUEL);
registry.addRecipeCategoryCraftingItem(new ItemStack(Items.BREWING_STAND), VanillaRecipeCategoryUid.BREWING);

I'll do some tests to make sure it's working properly.

@mezz
Copy link
Owner

mezz commented Apr 29, 2016

There were some glitches, they're fixed now.

@Prospector
Copy link
Author

Awesome!

KnightMiner added a commit to KnightMiner/TinkersConstruct that referenced this issue Apr 30, 2016
Adds a smeltery controller to smeltery melting and alloying, a drying rack to drying recipes, and a casting table and basin to casting recipes

See mezz/JustEnoughItems#204 for more information on the ItemStack displays

Also fixes the casting recipe category's liquid being 1 pixel too high when there is no cast, and the racks in JEI not showing their recipe when right clicked
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants