Skip to content

Backpack Attribute

An unconventional backpack mod using an entity attribute.

Fabric
Loaders
Fabric
Downloads on Modrinth
10.7K
Followers on Modrinth
11
versions
7
Updated
April 21, 2026Apr 21
Published
in 2024
This is a library — other mods need it, and it adds nothing to the game by itself
Backpack with 5 active slots · swipe

At a glance

A library: other mods need it
Runs on Fabric
For Minecraft 1.21–1.21.1, 1.21.11–26.1.2 …
Needed in the game and on the server
Latest version — 4.0.0 from April 21, 2026
Requires Fabric API and Slot Customization API
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions1.20.1, 1.21–1.21.1, 1.21.11–26.1.2

Backpack Attribute

This is a different approach to a backpack in Minecraft. No backpack items are added, the backpack can be accessed at any time (depending on the config settings).

The player can open the new backpack screen via a hotkey (B by default).

The minimum amount of slots is 0, in which case the backpack screen won't open. The player gets notified that they currently don't have backpack slots.

The maximum amount of slots is 27.

Configuration

The "natural_backpack_capacity" server config option controls the amount of backpack slots each player has by default.

The entity attribute "backpackattribute:backpack_capacity" controls how many slots are added to/removed from the default amount. This is 0 by default, but with entity attribute modifiers (EAMs) it can be changed.

The background texture of disabled slots is not shown. This can be disabled in the client config.

"What happens to items in my backpack when my backpack gets smaller?"

When a backpack slot contains an item and becomes inactive, that item is moved to the normal inventory or dropped at the players location, when the inventory is full. This is announced to the player via a chat message.

"What happens to items in my backpack when I die?"

Several server config options control what happens in the case of player death.

When the "keep_backpack_inventory_on_death" option is set to true, the items stay in the backpack. This is similar to the vanilla "keepInventory" game rule.

When "keep_backpack_inventory_on_death" is set to false, two outcomes are possible, depending on the "clear_backpack_inventory_on_death" option:

  • When the option is true, the items are destroyed.
  • When the option is false, the items are dropped on the players position.

FAQ

How to install Backpack Attribute?

Install Fabric for your Minecraft version, download Backpack Attribute for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Backpack Attribute support?

Backpack Attribute has builds for Minecraft 1.20.1, 1.21–1.21.1, 1.21.11–26.1.2.

Is Backpack Attribute needed on the server?

Needed in the game and on the server

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More