question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Block-Providing Items

See original GitHub issue

Hello there! I’m the Author of Builder’s Bag, a mod (for 1.12.2) which adds a bag that can craft, chisel and do much more with blocks that you provide in its inventory. I’ve been getting requests for integration with BuildingGadgets and so I looked through your code, but I don’t think as it currently stands I have the possibility to add compat on my end.

Ideally, I’d have something like this (from BetterBuildersWands): https://github.com/portablejim/BetterBuildersWands/blob/1.12/src/main/java/portablejim/bbw/api/IContainerHandler.java Perhaps it could also have a simulate boolean, to first check if it has the requiredBlocks before actually using them.

I think an interface like this would generally be useful to have, so that perhaps other backpack mods can integrate their pack, or perhaps the botania wands can work with the gadget.

Please let me know if I need to provide more information. This is my source: https://github.com/Tschipp/BuildersBag

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:35 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
MichaelHillcoxcommented, May 11, 2020

This is true, the only other option would be to have a dynamic slot size based on the amount of times you can currently build so when getStackInSlot and getSlots are called you’d allow the mod to currectly make the right comparisons. Simple is always the best way so if you had a list of items you can provide then each item in that list would be repersented by a slot so when getStackInSlot is called you’d just return then lists item based on the index passed. That’s how I’d do it in my head anyway 😄

https://github.com/Direwolf20-MC/BuildingGadgets/blob/d3259bf4e8cbdc449f490141a8eb39e936655f7f/src/main/java/com/direwolf20/buildinggadgets/common/tools/InventoryManipulation.java#L133-L151

1reaction
MichaelHillcoxcommented, Oct 24, 2020

To keep things tidy, we now have master list of feature requests, we thank you for your suggestion and we will use this issue for future reference. Closing in preference for https://github.com/Direwolf20-MC/BuildingGadgets/issues/534

Read more comments on GitHub >

github_iconTop Results From Across the Web

H&R Block Providing Help to Associates, Customers, and ...
Through Block Advisors and Wave, the company helps small business owners thrive with disruptive products like Wave Money, a small business ...
Read more >
Amazon Location Service now supports refined access control ...
Amazon Location Service is a location-based service that helps developers easily and securely add maps, points of interest, geocoding, routing, ...
Read more >
TLA2024EVM-PDK Evaluation board | TI.com
View the TI TLA2024EVM-PDK Evaluation board description, features, development resources and supporting documentation and start designing.
Read more >
ANNUAL SUBSCRIPTION FOR UP TO 50 DIGITAL ASSETS (PER ...
ANNUAL SUBSCRIPTION FOR UP TO 50 DIGITAL ASSETS (PER ASSET BLOCK) PROVIDING CONT ; Price: $215.00 ; MSRP: $575.00 ; Manufacturer: IGI CYBERLABS,...
Read more >
MCFS.-Day-Services-Adult.-HS-Summary.pdf
... by the provider and located on the same block, providing supported living ... residential settings also on the property, they can leave...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found