-
Notifications
You must be signed in to change notification settings - Fork 19
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
suggestion: augment to disable pedestal sends of specific things #204
Comments
An alternative suggestion I was about to make when I saw this was to update That potentially simplifies the approach as it doesn't require more items/complexity for players to manage, and (at least to me) is more inline with my intuition/expectations of these blocks. At least most modded generators don't let you insert energy, and processing machines (even a vanilla furnace) don't let you put items into the output slot. |
If you've ever taken a look at the configs, 'energy' is a fairly dynamic concept in pedestals, this could be fluid, Fe, xp, or dust (from effect Scrolls mod) If you decide you want to PR all the code to make this work for the dynamic energy types, im down for that. But I personally won't be spending any time to do this,especially with a 1.20 port on the horizon. |
I'm not sure I fully grasp the specific rewrite you'd think required (or would accept). The issue I'm seeing here is that there seems to be a distinct difference in how pedestals versus upgrades handle the 5 types of transferrable things (items, fluid, energy [fe], experience, dust).
I think to support what I was suggesting, the change would require adding something like If what I describe above seems amenable to you — adding 10 new methods that control a single direction of each of the 5 types of transferrable things to |
if your new to forge stuff, basically there is handlers setup(capabilities) for managing how TYPES are managed across all mods, adding custom code to these handlers is extremely risky, yet the proper way to go about this.(ive done this with filters already)[i also did this a lot in 1.16 and it created way more dupes and bugs so im not super keen to do this anymore, hence my reluctance to implementing your suggestion myself] If you only changed my custom send methods it only prevents the pedestal from sending TYPES it wouldnt keep other mods from pulling them out unnecessarily(without also configuring the other mod not to do so) my other hesitation is that by implementing upgrades that are hardcoded to restrict transport, users cannot control that themselves, i can guarantee ill see comments from users in the future complaining about this if its implemented. (similar complaints happened in 1.16 as i did something like this back then too [the anvil upgrade in 1.16 was the main offender]) |
Ah yes, the places I suggested above would only work on pedestal-pedestal transfer (but as you point out, I could add this into the actual handlers setup that are exposed via getCapabilities [i.e. where you've already done this with filters]).
That's more the reason why I was asking if you were okay with this approach as opposed to going out and just making a PR. While I should be able to throw together the implementation, I wouldn't have to deal with the long-term support impact of fielding questions (or impacting your creative direction around how you'd prefer users interact with your mod). Happy to wait on having it be done via augments/filters. And in the meantime I'm still able to essentially handle this via pedestal indirection (i.e. using a pedestal between the generator and furnace to blacklist coal, and between the furnace and generator to blacklist power, so as to not create the unwanted transfers / infinite loop). |
this way a pedestal wouldnt send items, but would still send energy (in the case of an fe generator)
or wouldnt send fluids but would send xp (fluid converter)
The text was updated successfully, but these errors were encountered: