Skip to content

Commit adeba9d

Browse files
committed
docs: showcase README with the v2.0 recordings
Rework the README into the developer-facing showcase design (badges, engineering focus, technical-architecture breakdown) and embed only the media recorded for 2.0 (area-mode painting, editor zone tools, filter build/priority/presets, one-click deposit, pull-from-chest, version support, config). Also vendor the image set onto this branch so the README renders here too.
1 parent cca0eff commit adeba9d

27 files changed

Lines changed: 98 additions & 48 deletions

‎README.md‎

Lines changed: 98 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,128 @@
1-
# Absolute Order
1+
# 📦 Absolute Order | Multi-Loader Inventory Engineering
22

3-
**Absolute Order** (formerly *Chest Separators*) is a Minecraft utility mod for organizing containers and your inventory. It combines a purely visual layer — colored dividers and slot backgrounds painted onto any container GUI — with a powerful per-slot **filter** system that controls which items may enter each slot, and one-key **auto-deposit / auto-pull** to move items between your inventory and nearby storage.
3+
![Java](https://img.shields.io/badge/Java-11_|_21_|_25-ED8B00?style=for-the-badge&logo=openjdk&logoColor=white)
4+
![Fabric](https://img.shields.io/badge/Loader-Fabric-c9b889?style=for-the-badge&logo=fabric&logoColor=black)
5+
![NeoForge](https://img.shields.io/badge/Loader-NeoForge-f16436?style=for-the-badge)
6+
![Forge](https://img.shields.io/badge/Loader-Forge-1e2d4e?style=for-the-badge)
7+
![Architectury](https://img.shields.io/badge/Toolchain-Architectury-5b6ee1?style=for-the-badge)
8+
![Mixin](https://img.shields.io/badge/Rendering-Mixin_Injection-blueviolet?style=for-the-badge)
9+
![Versions](https://img.shields.io/badge/Minecraft-1.12.2_→_26.2-2D7D9A?style=for-the-badge)
410

5-
Version **2.0** ("The Liftoff Update") rebuilt the mod as a **multi-loader, multi-version** project: one codebase now ships for Fabric, NeoForge and Forge across a wide range of Minecraft versions.
11+
**Absolute Order** (formerly *Chest Separators*) is an inventory-organization mod built around a **Virtual Overlay System**: instead of crafting physical dividers that waste slots, it paints separators and per-slot filters directly onto the container GUI, and enforces those filters server-side for real item-routing behavior (shift-click, hoppers, auto-deposit).
12+
13+
Version **2.0 — "The Liftoff Update"** rebuilt the project from a single Fabric mod into **one shared codebase that ships for Fabric, NeoForge and Forge across nine Minecraft versions** (1.12.2 → 26.2), spanning five distinct rendering eras.
14+
15+
![Vanilla chaos vs. Absolute Order](img/vanilla_chaos_vs_absolute_order.png)
16+
17+
> **⚠️ Engineering Focus**
18+
> This project is a study in **cross-version portability**: a common source set driven by **Architectury** + **Mojmap/Parchment**, an abstraction over five rendering eras (from legacy `MatrixStack` to modern `RenderPipelines`), a **server-authoritative persistence layer** using Data Components / chunk NBT, and heavy **Java bytecode manipulation** via SpongePowered Mixins for insertion rules, hopper routing and GUI hooks.
619
720
---
821

9-
## Features
22+
## 🧩 Feature Set
23+
24+
### 1. Visual Separators — client-local overlay
25+
Colored lines between slots and per-slot backgrounds painted onto any container GUI. A custom slot-hitting algorithm allows fluid **drag & paint** (pencil/brush/area/trace) across the grid, rendered on the client tick for zero input lag. A real-time **HSV→RGB engine** generates any of 16.7M colors with an eyedropper and per-layer custom palettes, and layouts are deep-copied through an **NBT clipboard** to replicate a design across containers instantly.
26+
27+
![Area-mode painting](img/easy_painting_area_mode.gif)
28+
29+
The editor floats over the container grid with layered depth control and per-zone tools, so it never Z-fights with the slots underneath.
30+
31+
![Editor layout & zone tools](img/edit_layout_zone_tools.png)
32+
33+
### 2. Whitelist Filters — server-authoritative
34+
Per-slot rules deciding which items may enter a slot, built by dragging items in and out of a filter and grouping slots into one logical unit.
35+
36+
![Building a filter](img/filter_drag_add_remove.gif)
37+
38+
A filter's item order is a **priority order** you arrange by dragging — it drives which slot each item lands in, and powers one-click auto-sort. Rules are enforced for **manual placement, shift-click and hoppers** (each axis toggleable), refused at the insertion mixin rather than silently swallowed.
39+
40+
![Filter priority & auto-sort](img/filter_priority_autosort.gif)
41+
42+
Whole filter setups can be saved as **presets** and reapplied to any container. Filters on **block containers travel with the block** (Data Component → chunk NBT); entity inventories and the Ender Chest are client-local.
43+
44+
![Filter presets](img/filter_presets.gif)
45+
46+
### 3. Auto-Deposit & Auto-Pull
47+
One keystroke sweeps matching items from your inventory **into** nearby filtered storage…
1048

11-
### Visual separators (cosmetic, client-side)
12-
- Paint colored **lines** between slots and **backgrounds** on slots of any container (chests, barrels, shulker boxes, entity inventories, the Ender Chest…).
13-
- Full **HSV color picker** with an eyedropper and per-layer custom palette slots.
14-
- **Drag & paint** with pencil/brush/area/trace tools, plus a smart eraser and per-container reset.
15-
- **Undo / redo** and an NBT **clipboard** to copy a whole layout onto another container.
16-
- Purely client-side and cosmetic: stored per-player on your machine, never sent to the server.
49+
![One-click auto-deposit](img/one_click_absolute_order.gif)
1750

18-
### Whitelist filters (functional)
19-
- Assign each slot a **filter** of allowed items; group several slots into one logical filter.
20-
- Enforced for **manual placement, shift-click, and hoppers** (each rule can be toggled per filter).
21-
- The filter's item order is a **priority order** you arrange by dragging — it decides which slot an item lands in.
22-
- **Presets** for quick reuse, import from the creative tabs / search, and export.
23-
- Filters on **block containers are server-authoritative** (they travel with the block); entity inventories and the Ender Chest are client-local.
51+
…or pulls items **from** storage to top up your filtered inventory slots. Every action ships a **live preview** generated by the same ordering primitive as the real operation, so the predicted result and the server's authoritative result can never drift.
2452

25-
### Auto-deposit & auto-pull
26-
- One key sweeps matching items from your inventory **into** nearby filtered storage (auto-deposit), or pulls items **from** storage to top up your filtered inventory slots (pull).
27-
- Live **previews** show exactly what an action will do before you commit it.
53+
![Pull from chest](img/pull_from_chest.gif)
2854

29-
### Quality of life
30-
- Cloth Config settings screen and rebindable keys.
31-
- REI / EMI / JEI exclusion-zone integration so the editor never overlaps recipe UIs.
32-
- Localized into 20 languages.
55+
### 4. Configuration
56+
Everything is tunable through a Cloth Config screen with rebindable keys, and the editor declares REI / EMI / JEI exclusion zones so it never overlaps recipe UIs. Localized into 20 languages.
57+
58+
![Configuration](img/config_visuals.png)
3359

3460
---
3561

36-
## Supported versions & loaders
62+
## 🏗️ Technical Architecture
63+
64+
### Multi-loader, single source of truth
65+
Modern ports use an Architectury **`common/` + loader modules** layout: the feature code lives once in `common`, and thin Fabric / NeoForge / Forge modules bind it to each platform's entrypoints, networking and registration. The legacy **1.12.2** port is a separate hand-written Forge project (MCP names, no Architectury) that shares the design but not the code.
66+
67+
### Rendering-era abstraction
68+
The dual-layer rendering pipeline (persistent separators behind items, transient editor UI on top) is written against five eras and selected per version:
69+
70+
| Era | Representative | GUI primitive |
71+
| --- | --- | --- |
72+
| E5 | 26.1 / 26.2 / 1.21.11 | `RenderPipelines` |
73+
| E4 | 1.21.1 / 1.20.1 | `GuiGraphics` |
74+
| E3 | 1.19.2 | `GuiGraphics` (early) |
75+
| E2 | 1.18.2 / 1.16.5 | `PoseStack` / `MatrixStack` |
76+
| E1 | 1.12.2 | legacy immediate mode |
3777

38-
| Minecraft | Loaders |
39-
|---|---|
40-
| 26.2, 26.1 | Fabric, NeoForge |
41-
| 1.21.11 | Fabric, NeoForge |
42-
| 1.21.1 | Fabric, NeoForge |
43-
| 1.20.1 | Fabric, Forge |
44-
| 1.19.2 | Fabric, Forge |
45-
| 1.18.2 | Fabric, Forge |
46-
| 1.16.5 | Fabric, Forge |
47-
| 1.12.2 | Forge |
78+
### Context-aware persistence
79+
A **polymorphic data strategy** picks the storage path per target:
80+
* **Block containers** → server-authoritative **Data Component** that rides the block into chunk NBT.
81+
* **Entities** (minecarts, llamas…) → keyed by the entity's persistent `UUID`.
82+
* **Client-local** visuals + inventory/Ender-Chest filters → per-world `.dat` NBT files.
4883

49-
> Quilt is covered by the Fabric jar. Each release jar is named `AbsoluteOrder-<version>-<loader>-mc<version-or-range>.jar`.
84+
Item-count serialization, item-equality and the resource-id API all differ by version (byte vs VarInt on the wire, `isSameItemSameComponents` vs `isSameItemSameTags` vs a meta-aware `ItemKey`); these are centralized so one change propagates cleanly across all nine ports.
85+
86+
### Enforcement pipeline
87+
Insertion is a **4-pass deposit sweep** — filtered stacking → filtered filling → unfiltered stacking → unfiltered filling — and every automatic path (shift, hopper, grab, deposit) shares one `FilterPriority` ordering primitive, expressed as a *conditional refusal* so vanilla performs the actual transfer and client/server stay in agreement.
5088

5189
---
5290

53-
## Installation
91+
## 🎮 Supported Versions & Loaders
92+
93+
![Version support](img/version_support_showcase.png)
5494

55-
1. Install the matching loader for your Minecraft version (Fabric, NeoForge, or Forge).
56-
2. On Fabric, also install the **Fabric API**; on all loaders, **Architectury API** is required (Forge/NeoForge builds bundle what they need — see the download page notes).
57-
3. Drop the jar for your version and loader into your `mods` folder.
95+
| Minecraft | Loaders | Build JDK |
96+
| --- | --- | --- |
97+
| 26.2, 26.1 | Fabric, NeoForge | 25 |
98+
| 1.21.11, 1.21.1 | Fabric, NeoForge | 21 |
99+
| 1.20.1, 1.19.2, 1.18.2, 1.16.5 | Fabric, Forge | 21 |
100+
| 1.12.2 | Forge | 11 |
58101

59-
> **Playing on a server?** Filters for block containers are **server-authoritative**, so the mod must be installed **on the server** as well as on the client for those filters to persist in multiplayer. The visual separators and inventory filters are client-side and work without a modded server.
102+
> Quilt runs the Fabric jar. Release jars are named `AbsoluteOrder-<version>-<loader>-mc<version-or-range>.jar`.
60103
61104
---
62105

63-
## Building from source
106+
## 💻 Installation
107+
108+
1. Install the matching loader (Fabric, NeoForge, or Forge) for your Minecraft version.
109+
2. Add the dependencies noted on the download page — **Fabric API** (Fabric) and **Architectury API** on the modern ports.
110+
3. Drop the jar for your version + loader into your `mods` folder.
64111

65-
The project uses Gradle with Architectury Loom. Each version lives in its own module (`multiloader`, `multiloader-1.20.1`, `multiloader-1.12.2`, …). Build a module with its required JDK, for example:
112+
> **Multiplayer:** filters on block containers are **server-authoritative**, so the mod must be installed **on the server** for those filters to persist online. Visual separators and inventory filters are client-side and work without a modded server.
113+
114+
---
115+
116+
## 🛠️ Building from Source
117+
118+
Gradle + Architectury Loom, one module per version. Build a module with its required JDK:
66119

67120
```bash
68-
# from a version module directory
121+
# from a version module directory (e.g. multiloader-1.20.1/)
69122
./gradlew build
70123
```
71124

72-
JDK requirements: **Java 21** for the modern ports, **Java 25** for the 26.x ports, and **Java 11** for the legacy 1.12.2 port.
125+
JDKs: **21** for the modern ports, **25** for the 26.x ports, **11** for legacy 1.12.2.
73126

74127
---
75-
76-
## License & credits
77-
78-
Created and maintained by **marcsanz-dev**. See the in-repo license for terms.
128+
*Created and maintained by **marcsanz-dev**. Looking for the internals? Start at `common/src/main/java/...` (or `src/` on 1.12.2) for the Mixin and networking implementation.*
604 KB
Loading
1.57 MB
Loading
874 KB
Loading

‎img/all_separator_colors.png‎

14.3 KB
Loading

‎img/compatibility_showcase.png‎

161 KB
Loading

‎img/config1.png‎

1.5 MB
Loading

‎img/config2.png‎

1.55 MB
Loading

‎img/config3.png‎

1.53 MB
Loading

‎img/config_visuals.png‎

1.58 MB
Loading

0 commit comments

Comments
 (0)