API improvements for adding custom AEKeyTypes
ramidzkh opened this issue ยท 1 comments
In my mod to add Mekanism's 4 chemicals as AEKeyType
s, I have found that the existing API isn't good enough for such a task while being on-par with the standard item and fluid keys
-
Lack of world interactions
It's impossible to actually have a custom type in the system, such as with a storage bus. TheStackWorldBehaviors
class looks promising but most of the dependent interfaces are sealed off, along withStackWorldBehaviors
itself being non-API. -
Pattern provider return inventories and interfaces are hardcoded for the
ItemVariant
andFluidVariant
storages, so they cannot be made to accept other lookups through the API -
Lack of menu interactions
It's not possible through the API to declare how a container can be emptied or filled into the system through the UI provided by terminals, pattern providers and interfaces -
Lack of support in pattern providers
Pattern providers are hardcoded to fast fail on non-standardAEKeyType
s, for the system not knowing how to push non-standardAEKeys
. Related to point 2