AppliedEnergistics / Applied-Energistics-2

A Minecraft Mod about Matter, Energy and using them to conquer the world..
https://appliedenergistics.github.io/
Other
1.41k stars 647 forks source link

Allow filtering AEKeys into matter condenser #7787

Open ramidzkh opened 5 months ago

ramidzkh commented 5 months ago

Matter condenser accepts radioactive gasses with no API to not do that

shartte commented 5 months ago

Do other trash cans have such support?

Technici4n commented 5 months ago

I don't think there really exist gas trash cans? 🤔

shartte commented 5 months ago

@Technici4n Well, what about fluid or other trash cans? How do they handle it? We have the slight problem of not being able to define tags on AEKeys I think

Random832 commented 5 months ago

In general Mekanism and its radioactive stuff is unique in attempting to prevent you from destroying a resource without consequences, there's probably not much precedent elsewhere.

shartte commented 5 months ago

In general Mekanism and its radioactive stuff is unique in attempting to prevent you from destroying a resource without consequences, there's probably not much precedent elsewhere.

Yes but I am not willing to introduce an entire java-based code path just for this one AEKey... Filtering an entire AEKeyType is a different story (since those can be included in vanilla tags), but I'd assume you still want chemical->condenser to work in general.

Technici4n commented 5 months ago

Well you can store any fluid in any tank. But you can't store radioactive gasses in regular chemical tanks. I think the feature request makes sense.

We could just post an event for matter condenser input or something like that, idk.

XenonDB commented 4 months ago

I think an alternative way is make an API to allow filter of storage bus able to be post-modified in some circumstances. For example, applied mekanistics can add a hidden nuclear waste blacklist filter for all storage bus which attach to Matter condenser.

Also, in the future, if TC7 is released and thaumic energestic update for supporting TC7 and AE2, it might need such feature since TC must not allow anyone to handle essentia without completing researching. For example, insert essentia card into storage bus to remove this limitation.

Maybe some mod can also add upgrade such like custom tag filter card or create filter card(allow filter option based on create filter)