Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Backpack Attribute

Backpack Attribute

An unconventional backpack mod using an entity attribute.

5,150
5
Adventure
Library
Storage
AboutGalleryChangelogVersions

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 value "default_backpack_slot_amount" in the server config file controls the amount of backpack slots each player has by default.

The entity attributes "generic.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?"

Two new game rules control what happens in the case of player death.

"keepBackpackInventory" defaults to false.

"clearBackpackInventoryOnDeath" defaults to false.

When "keepBackpackInventory" is set to true, the items stay in the backpack. This is similar to the vanilla gameRule "keepInventory".

When "keepBackpackInventory" is set to false, two outcomes are possible:

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

Mod Compatibility

The backpack screen will not show disabled inventory slots, when "Inventory Size Attributes" is installed.

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x
1.20.1

Platforms

Fabric

Supported environments

Client and server

Links

Report issues View source Join Discord server

Creators

TheRedBrain
TheRedBrain Member

Details

Licensed MIT
Published last year
Updated 6 months ago

Modrinth is open source.

main@656c5b6

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.