Skip to content

Retain inventory quantity, improved item routing, and Fabric 26.3 support - #11

Open
Samuel1698 wants to merge 23 commits into
marcsanz-dev:mainfrom
Samuel1698:contrib/inventory-filters-and-fabric-26.3
Open

Samuel1698 wants to merge 23 commits into
marcsanz-dev:mainfrom
Samuel1698:contrib/inventory-filters-and-fabric-26.3

Conversation

@Samuel1698

Copy link
Copy Markdown

Summary

This pull request proposes several inventory-filtering improvements to Absolute Order, along with an initial Fabric implementation for Minecraft 26.3.

I originally encountered a few limitations with inventory filtering and automatic transfers while using the mod on a multiplayer server. After investigating and testing the behavior, I developed a fork to address those issues. I'd like to contribute the changes back to the original project for consideration.

Changes

Inventory filtering and transfers

  • Protect filtered inventory items from automatic deposit operations. Closes Pressing the "Auto Deposit" key takes away items from the filtered slots in inventory #10
  • Introduce configurable retained item quantities, including a slider with common stack-size snapping points.
  • Consolidate matching items into their designated filtered slots.
  • Distinguish deliberate hotbar placement from automatic inventory routing.
  • Improve Shift-click transfers and number-key hotbar swaps.
  • Relocate displaced hotbar items into eligible inventory slots instead of unnecessarily rejecting valid swaps.
  • Improve accuracy of container transfer previews.

Ender Chest compatibility

  • Improve synchronization of Ender Chest filters between client and server.
  • Support size-aware handling for expanded Ender Chest inventories.

Minecraft 26.3

  • Introduce a Fabric-specific 26.3 module while retaining the previous 26.2 implementation.
  • Update affected rendering, keyboard, mouse, and packet APIs for Minecraft 26.3.

Testing

The changes have undergone manual singleplayer and dedicated-server testing, including inventory protection, retained quantities, automatic transfers, filter refill behavior, hotbar interactions, and Ender Chest routing on both 26.2 and 26.3 Fabric.

Other mod loaders have not been ported or verified.

Notes for maintainers

The implementation preserves the existing mod ID and largely retains established filtering behavior, with additions intended to address specific transfer and usability limitations.

The fork currently uses its own release version, 2.1.0-fork.1. This version designation is not intended to dictate upstream versioning.

I understand this is a substantial contribution and that the project supports multiple Minecraft versions and mod loaders. I'm happy to split the changes into smaller pull requests or adapt the implementation to better fit the upstream architecture.

Thank you for creating and maintaining Absolute Order. I hope these improvements are useful to the project.

Samuel1698 and others added 23 commits November 20, 2026 02:52
…lider

feat: improve inventory filters, quantity retention, and Ender Chest support
feat: inventory filter improvements and Fabric 26.3 support
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.

Pressing the "Auto Deposit" key takes away items from the filtered slots in inventory

1 participant