ErrorCraft

|
Return to Home

Itematic 0.3.0

11th of January 2026

The release before the split to 1.21 happens as described in the roadmap to 1.21! This version added item bar styles and made a couple of changes to the item holder and block placement behaviour.

Download it here!

Changes

Assets

Items

Example:

{
  "base": {
    "item_bar_style": "minecraft:bundle",
    "translation_key": "item.minecraft.bundle"
  }
}

Item Behaviour Components

minecraft:block

minecraft:item_holder

An example from the minecraft:bundle item:

[
  {
    "type": "minecraft:reject",
    "condition": {
      "items": "#minecraft:banned_bundle_items"
    }
  },
  {
    "type": "minecraft:fraction_with_occupancy_held_items",
    "condition": {
      "behavior": [
        "minecraft:item_holder"
      ]
    },
    "fraction": {
      "denominator": 16,
      "numerator": 1
    }
  },
  {
    "type": "minecraft:fraction",
    "condition": {
      "data_components": [
        "minecraft:bees"
      ]
    },
    "fraction": {
      "denominator": 1,
      "numerator": 1
    }
  }
]

Example:

{
  "denominator": 4,
  "numerator": 1
}

Data Components

minecraft:item_bar_style

minecraft:item_holder_capacity

Examples:

minecraft:item_holder_rules

Example:

[
  {
    "type": "minecraft:reject",
    "condition": {
      "items": "#minecraft:banned_bundle_items"
    }
  },
  {
    "type": "minecraft:occupancy_held_items_with_penalty",
    "condition": {
      "behavior": [
        "minecraft:item_holder"
      ]
    },
    "penalty": {
      "denominator": 16,
      "numerator": 1
    }
  },
  {
    "type": "minecraft:fraction",
    "condition": {
      "data_components": [
        "minecraft:bees"
      ]
    },
    "fraction": {
      "denominator": 1,
      "numerator": 1
    }
  }
]

Item Bar Styles

An item bar style determines the visuals for the item bar that is displayed on top of an item stack. They are specified under the item_bar_style folder in a resource pack. Format:

Example:

{
  "color": {
    "type": "minecraft:hue_shift",
    "end": 0,
    "start": 120
  },
  "progress": "minecraft:damage",
  "textures": [
    "minecraft:item_bar/progress/13",
    "minecraft:item_bar/progress/12",
    "minecraft:item_bar/progress/11",
    "minecraft:item_bar/progress/10",
    "minecraft:item_bar/progress/9",
    "minecraft:item_bar/progress/8",
    "minecraft:item_bar/progress/7",
    "minecraft:item_bar/progress/6",
    "minecraft:item_bar/progress/5",
    "minecraft:item_bar/progress/4",
    "minecraft:item_bar/progress/3",
    "minecraft:item_bar/progress/2",
    "minecraft:item_bar/progress/1",
    "minecraft:item_bar/progress/0"
  ]
}

Colour Providers

A colour provider determines the colour to apply over the texture. Format: A map with fields determined by the type in the type field. Example:

{
  "type": "minecraft:hue_shift",
  "end": 0,
  "start": 120
}

minecraft:constant

Progress Providers

A progress provider determines whether to display the item bar and what value to use that determines its texture.

minecraft:damage

minecraft:item_holder_occupancy

Item Holder Rules

An item holder rule determines whether an item stack can be added to an item holder or not and decides how much room it takes. Its format is a map with fields determined by the type in the type field, as well as an optional condition field that is an item predicate. All possible types are shown below.

Example:

{
  "type": "minecraft:reject",
  "condition": {
    "items": "#minecraft:banned_bundle_items"
  }
}

minecraft:fraction

Example:

{
  "type": "minecraft:fraction",
  "condition": {
    "data_components": [
      "minecraft:bees"
    ]
  },
  "fraction": {
    "denominator": 1,
    "numerator": 1
  }
}

minecraft:occupancy_held_items_with_penalty

Example:

{
  "type": "minecraft:occupancy_held_items_with_penalty",
  "condition": {
    "behavior": [
      "minecraft:item_holder"
    ]
  },
  "penalty": {
    "denominator": 16,
    "numerator": 1
  }
}

minecraft:reject

Example:

{
  "type": "minecraft:reject",
  "condition": {
    "items": "#minecraft:banned_bundle_items"
  }
}

Extras

Fractions

Example:

{
  "denominator": 4,
  "numerator": 1
}

Item Predicates

Fixes