1. Wiki
  2. /Items
  3. /minecraft:storage_weight_limit

minecraft:storage_weight_limit

Don't want to write this by hand? GodCraft sets minecraft:storage_weight_limit for you with a switch.Get GodCraft

Overview

minecraft:storage_weight_limit is an item component: it goes in the components object of a custom item. Sets how much total weight a storage item can hold. Each stored item counts by its own weight.

Fields

FieldTypeDefaultDescription
max_weight_limitinteger64The highest total weight allowed inside, up to 64.Range: … to 64

Example

Inside the components object of BP/items/<name>.json (values are the defaults or placeholders):

BP/items/<name>.json
{
  "minecraft:storage_weight_limit": {
    "max_weight_limit": 64
  }
}

Items: Behavior pack

We use cookies to improve your experience and analyse site traffic. Learn more