Skip to content

Commit cca0eff

Browse files
committed
docs: rewrite README for Absolute Order 2.0
Describe the 2.0 multi-loader release: visual separators + whitelist filters + auto-deposit/pull, the supported Minecraft versions and loaders, the multiplayer server-install note, and how to build. Drop the legacy v1.1 screenshots/GIFs.
1 parent 8289ea7 commit cca0eff

1 file changed

Lines changed: 51 additions & 51 deletions

File tree

‎README.md‎

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,78 @@
1-
# 📦 Chest Separators | Visual Inventory Organization
1+
# Absolute Order
22

3-
![Java](https://img.shields.io/badge/Java-21-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-
![Render](https://img.shields.io/badge/Rendering-Mixin_Injection-blueviolet?style=for-the-badge)
6-
![NBT](https://img.shields.io/badge/Data-Persistent_NBT-2D7D9A?style=for-the-badge)
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.
74

8-
**Chest Separators** is a lightweight, client-side utility mod designed to enhance inventory management UX without altering server-side data. Unlike traditional mods that require crafting physical items (wasting inventory slots), this project implements a **Virtual Overlay System**, allowing users to draw visual dividers directly onto the container GUI.
9-
10-
> **⚠️ Engineering Focus**
11-
> This project demonstrates advanced **Java Bytecode Manipulation** using Mixins for rendering hooks and implements a custom **HSV-to-RGB Color Engine** for real-time dynamic palette generation.
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.
126

137
---
148

15-
## 📸 Interface & Workflow (v1.1 Update)
16-
17-
The user experience focuses on fluidity ("Drag & Paint") and deep customization via the new RGB Engine.
18-
19-
### 1. Modular UI Architecture
20-
New in v1.1: Layered UI rendering with depth control. The editor now floats independently over the container grid, preventing Z-fighting artifacts.
21-
22-
![Modular UI Architecture](img/rendering_layers_architecture.png)
9+
## Features
2310

24-
<br>
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.
2517

26-
### 2. HSV Color Engine & Persistence
27-
Moving away from static byte arrays, the mod now uses real-time `Math.hsvToRgb` conversion. Users can generate any color (16.7M possibilities) and persist them into custom NBT slots.
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.
2824

29-
![HSV Color Picker Integration](img/hsv_color_picker_integration.gif)
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.
3028

31-
<br>
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.
3233

33-
### 3. Raycast Drag & Paint
34-
Utilizes a custom slot-hitting algorithm to allow fluid "painting" across the GUI. Updates are rendered in real-time on the client tick event, ensuring zero input lag.
34+
---
3535

36-
![Raycast Drag System](img/raycast_drag_paint.gif)
36+
## Supported versions & loaders
3737

38-
<br>
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 |
3948

40-
### 4. NBT Clipboard Serialization
41-
Implements a deep-copy mechanism. Complex layouts are serialized into NBT data to replicate designs across multiple containers (Chests, Barrels, Shulkers) instantly.
49+
> Quilt is covered by the Fabric jar. Each release jar is named `AbsoluteOrder-<version>-<loader>-mc<version-or-range>.jar`.
4250
43-
![Clipboard System](img/nbt_serialization_clipboard.gif)
51+
---
4452

45-
<br>
53+
## Installation
4654

47-
### 5. State Management Tools
48-
Precise control over the visual layer. The **Smart Eraser** modifies specific bits in the array, while the **Trash Can** triggers a full array reset for the container.
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.
4958

50-
![State Tools](img/state_management_tools.gif)
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.
5160
5261
---
5362

54-
## 🏗️ Technical Architecture
63+
## Building from source
5564

56-
The core engineering challenge in v1.1 was integrating a complex UI state (Color Picker) while maintaining the zero-conflict rendering pipeline.
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:
5766

58-
### The Rendering Pipeline (Dual-Layer Strategy)
59-
To achieve the visual effect where lines appear *behind* items but *above* the background texture, the rendering logic is split:
60-
* **Layer 1 (Background):** Injected at the `HEAD` of the `drawSlots` method. This renders the persistent separator data relative to the container's coordinate system.
61-
* **Layer 2 (Transient UI):** The new v1.1 Editor and Color Picker are rendered at the `TAIL` of the render loop. This ensures high Z-Index priority for the floating windows and tooltips.
67+
```bash
68+
# from a version module directory
69+
./gradlew build
70+
```
6271

63-
### Context-Aware Persistence
64-
The mod employs a **Polymorphic Data Strategy** to save configurations:
65-
* **Static Blocks:** Uses `BlockPos` + `DimensionID` to create unique NBT files.
66-
* **Dynamic Entities:** Detects if the inventory belongs to an entity (e.g., Llama, Minecart) and uses the entity's persistent `UUID`.
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.
6773

6874
---
6975

70-
## 💻 Installation & Setup
76+
## License & credits
7177

72-
1. **Prerequisites:** Install [Minecraft Java Edition](https://www.minecraft.net/) and [Fabric Loader](https://fabricmc.net/).
73-
2. **Fabric API:** Ensure the [Fabric API](https://modrinth.com/mod/fabric-api) is installed.
74-
3. **Deployment:** Drop the [ChestSeparators-v1.1.0.jar](https://modrinth.com/mod/chest-separators) file into your `.minecraft/mods` folder.
75-
4. **Usage:** Open any chest and click the **Pencil (✎)** icon to access the new UI.
76-
77-
---
78-
*Looking for the source code? Check the `src` folder for the Mixin implementation.*
78+
Created and maintained by **marcsanz-dev**. See the in-repo license for terms.

0 commit comments

Comments
 (0)