Piggy Inventory

Piggy Inventory

A simple yet powerful mod designed to enhance your inventory management experience in Minecraft. Piggy Inventory aims to streamline your interactions with items, tools, and containers.

by
183 Downloads
fabricutility
Rent Server with this Mod

Screenshots

Piggy Inventory Screenshot 1
Piggy Inventory Screenshot 2
Piggy Inventory Screenshot 3
Piggy Inventory Screenshot 4

About this Mod

build
test
release

Piggy Inventory

A simple yet powerful mod designed to enhance your inventory management experience in Minecraft. Piggy Inventory aims to streamline your interactions with items, tools, and containers.


Screenshots

Sorting by color

Auto switching to shears when mining vines and such

Radial Menu of the tool swap between silk touch and fortune

Radial Menu for the weapon swap : range, speed, attack

⚠️ Disclaimer

This is a personal project. It comes AS IS and might have issues.

  • No Support: Do not expect regular support or bug fixes.
  • No Forge Port: There are NO plans to port this mod to Forge/NeoForge.
  • Use at your own risk.

Feel free to fork the project or submit a Pull Request if you want to contribute fixes or features!


Features

⚡ Automatic Swapping

  • Auto Tool Swap: Automatically selects the best tool for the block you are mining.
    • Supports Silk Touch/Fortune preferences (configurable per-ore).
    • Respects enchantments (Efficiency, Unbreaking, etc.).
  • Auto Weapon Swap: Automatically switches to your best weapon when attacking.
    • Considers damage, enchantments (Sharpness, Smite, Bane of Arthropods, etc.).
    • Configurable preferences for different target types.

🔄 Auto Refill

  • Tool/Weapon Refill: Never stop fighting or mining - broken tools are automatically replaced.
  • Food Refill: Eat continuously without opening inventory.
  • Smart Matching: Finds the next best item in your inventory automatically.

🎒 Inventory Management

  • Inventory Sorting: Sort your inventory or containers instantly with R or Middle Click.
    • Advanced Sorting Engine: A robust, prioritized algorithm that clears mega-stacks and avoids infinite loops.
    • Smart Categorization: Groups items logically (Tools, Weapons, Resources, Food) before applying secondary sorting (Material, Alphabetical).
    • Anti-Glitch Logic: Gracefully handles unswappable items and network latency to prevent the "sorting dance" (ping-ponging items).
    • Multiple algorithms: Smart Category, Alphabetical, Creative Order, Rarity, Type, Material, Color, Tag.
    • Customizable via JSON lists.
  • Fast Loot / Deposit:
    • Refined QuickLoot: Improved stability when interacting with large containers or during rapid scrolling.
    • Shift + Scroll: Move matching items between inventories.
    • Ctrl + Scroll: Move ALL items between inventories.
    • Note: This only works when looking at a Container (Chest, Barrel, etc.) to preserve vanilla crouching!
  • Slot Locking: Lock inventory slots to prevent accidental sorting or quick-looting.
  • Continuous Crafting: Hold your click to craft, trade, or move items repeatedly. No more clicking spam!

Controls

You can rebind these keys in the standard Minecraft Controls menu under "Piggy Inventory".

Action Default Key Description
Tool Preference Menu H Opens radial menu to set Silk Touch/Fortune preference.
Weapon Preference Menu G Opens radial menu to configure weapon swap behavior.
Sort Inventory R (in inventory) Sorts your player inventory.
Sort Container Middle Click Sorts the container you're looking at.
Fast Loot Matching Shift + Scroll (unbound by default) Moves matching items while looking at container.
Fast Loot All Ctrl + Scroll (unbound by default) Moves all items while looking at container.

🎮 Hybrid Key System

To avoid conflicts with vanilla controls:

  • Loot Matching: Defaults to Unbound. When unbound, uses Shift.
  • Loot All: Defaults to Unbound. When unbound, uses Control.
  • Customization: Bind to specific keys in Controls menu if you prefer not using Shift/Ctrl.

Configuration

Access the configuration menu via Mod Menu.

  • Sorting: Choose default algorithm and layout (Compact, Rows, Columns, Grid).
  • Tool/Weapon Swap: Toggle auto-swapping, configure preferences.
  • Slot Locking: Set which slots to lock.
  • Quick Loot: Adjust delays and behavior.
  • Custom Lists: Configure Silk Touch blocks, tool priorities, etc.

Dependencies & Installation

Requirements

  • Minecraft: ~1.21.1
  • Fabric Loader: >=0.18.1
  • Java: >=21

Required Mods

Installation

  1. Download the .jar file from Releases.
  2. Install Fabric Loader for Minecraft 1.21.1.
  3. Place the piggy-inventory jar (along with Fabric API, YACL, and Piggy Lib) into your .minecraft/mods folder.
  4. Launch the game!

Inspiration

This mod was inspired by:

  • Tweakeroo - For advanced inventory management features and auto-refill mechanics.
  • Inventory Profiles Next - For sorting algorithms and inventory organization.
  • Mouse Tweaks - For scroll-based item movement and quick loot features.
  • Inventory Tabs - For UI/UX inspiration in inventory management.

License: CC0-1.0

Available Versions

Piggy Inventory 2.0.1release
MC 1.21.1fabric
April 25, 2026
Piggy Inventory 2.0.0release
MC 1.21.1fabric
March 28, 2026
Piggy Inventory 1.1.5release
MC 1.21.1fabric
March 18, 2026
Piggy Inventory 1.1.4release
MC 1.21.1fabric
March 12, 2026
Piggy Inventory 1.1.3release
MC 1.21.1fabric
March 11, 2026

How to Install Piggy Inventory on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Piggy Inventory". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.1

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Piggy Inventory server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.

Is Piggy Inventory compatible with fabric?

Piggy Inventory officially supports fabric for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Piggy Inventory – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Piggy Inventory consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Piggy Inventory with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Creative Commons Zero v1.0 Universal
Server-side
Unsupported

Supported Versions

1.21.1