-
Notifications
You must be signed in to change notification settings - Fork 68
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
Ink Transfer API #462
base: 1.20.1-aria-for-painters
Are you sure you want to change the base?
Ink Transfer API #462
Conversation
had to add lots of unstable api suppresses because babric
Marked as draft because duh. |
Damn not CCing me. Meanie |
i forgor 💀 |
Anyways, do you currently have any comments relating to the PR? (apart from killing me with exploding hammers) |
I think it is best if we just keep it close to how the preexisting TAPI stuff works, no reason to reinvent the wheel when there is so much convention. Also, imho the pressure system should not be inforced in-api. Advanced details like that should be left to the implementer, especially since they may have good reasons why they would want to avoid it (eg: AE2 ink storage) |
There is no sensible reason AE2 shouln't follow the same convention. |
I will have to look at the todos later, but I like the general idea. |
Firstly. No, there is absolutely sensible reason why AE2 could disregard that convention, as it could (and imo should) come into play in endgame where it doesn't make sense. Plus it is kind of necessary for any sensible implementation of ink storage I kind of feel. Regardless though, what I feel does not matter as it is not our job to dictate what addons should or should not be doing. It is our job to give users as much power to make what they desire as possible. It is their job to make it balanced. Neither of those things imply us enforcing a design ideal unto the very foundations of the api. We do not decide what people get to make. |
Generally the main benefits for implementing FTRAPI would be mod compat would be very straight forward - you would simply use Fabric API Lookup API (aka. FAPI API API) to query the storage before transfer. You would also swap from simulations to transactions for the transfer themselves, which should be more robust.22. aug. 2024 09:05 skrev DaFuqs ***@***.***>:
I will have to look at the todos later, but I like the general idea.
What benefits would it have, compared to the current system?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I feel the default FAPI TransactionContext will do for the most part. Source Storage, Destination Storage and optionals for block & player (for advancement shenanigans). |
bump |
this thread dead as fuck lmAo |
Adds FAPI's Transfer API support for ink.
Since I'm hoping to actually get the whole R&D & discussion localized within this PR's thread, I'd rather have this specific PR be refactored multiple times than be closed and reopened with a different implementation.
DONE:
TODO:
InkStorageItem
andInkStorageBlockEntity
as context-holding transfer processing wrappers or (in line with Fabric) as context-holding ink storage wrappers (being ink storages themselves)