-
Notifications
You must be signed in to change notification settings - Fork 151
CJB Item Spawner API #234
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
base: master
Are you sure you want to change the base?
CJB Item Spawner API #234
Conversation
|
I think it would be useful to be able to register Item providers, but I'm not sure the best way to handle that, since the internals are heavily reliant on Maybe |
|
Updated the proposal to add an api method for mods adding custom item repositories for returning additional searchable items. |
|
Added #236 as an alternative approach |
|
Hi! It already supports custom item type definitions automatically, so other mods should add custom items that way instead of integrating with mods like CJB Item Spawner one-by-one. |
|
I think @tlitookilakin had an example of a usecase that this would serve related to Profession Books, but I don't know the specific details so I'll let them explain if it would be needed for that. |
|
Profession Books and Better Beehouses both- the main issue is not an inability to add plain items, but an inability to define a specific range of variants of an item. Better Beehouses, for example, has options to allow making honey from non-flower produce, and previously had to use harmony hacks to inject the new variants. Currently, it simply does not support Item Spawner or Lookup Anything. Profession Books again adds specific variants of a single object through item queries. Another thing worth considering in this general vein, though it does not affect me personally, is that many mods do add custom flavor/preserve items. |
This is intended to be a draft of a possible api for CJB Item Spawner. I wanted to submit to facilitate the discussion.
Currently all it does is allow the menu to be launched.