Improvement: Container utils by beanbag44 · Pull Request #218 · lambda-client/lambda · GitHub
Skip to content

Improvement: Container utils - #218

Merged
beanbag44 merged 6 commits into
1.21.11from
improvement/container-utils-rework
Jan 11, 2026
Merged

Improvement: Container utils#218
beanbag44 merged 6 commits into
1.21.11from
improvement/container-utils-rework

Conversation

@beanbag44

Copy link
Copy Markdown
Member

Reworks the container utils system to use slots as a way of accessing immediately accessible stacks, while stacks are used for caching. When an ExternalContainer's slots are empty, you can call access() to receive a task to open the inventory. For something like an enderchest, it will place one, open it, and then, if you specified to exit the inventory afterward, it will break and pick it back up.

By detaching the transfer system from being completely reliant on tasks, it allows the system to be used in areas where transfers are supposed to be instant, without the overhead of a task.

@beanbag44
beanbag44 requested a review from emyfops January 8, 2026 15:59
@beanbag44

Copy link
Copy Markdown
Member Author

@beanbag44
beanbag44 merged commit 4044077 into 1.21.11 Jan 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants