ErrorCraft

|
Return to Home

Itematic 0.2.0 Preview 1

20th of November 2025

The very first content preview for Itematic! In this preview version the useable item behaviour was unified.

Download it here!

Changes

Item Behaviour Components

The useable behaviour was merged together and removed from some other components. This makes it so other behaviour components no longer start using an item on their own.

minecraft:shooter

So if you had this:

{
  "minecraft:shooter": {
    "ammunition": "minecraft:bow_ammunition",
    "held_ammunition": "minecraft:bow_ammunition",
    "range": 15
  }
}

You now have to use this instead:

{
  "minecraft:shooter": {
    "ammunition": "#minecraft:bow_ammunition",
    "held_ammunition": "#minecraft:bow_ammunition",
    "range": 15
  },
  "minecraft:useable": {
    "ticks": {
      "type": "minecraft:shooter"
    }
  }
}

minecraft:throwable

So if you had this:

{
  "minecraft:throwable": {
    "angle_offset": 0.0,
    "draw_duration": {
      "min": 10
    },
    "speed": 2.5,
    "use_riptide_check": true
  }
}

You now have to use this instead:

{
  "minecraft:throwable": {
    "angle_offset": 0.0,
    "draw_duration": {
      "min": 10
    },
    "speed": 2.5
  },
  "minecraft:useable": {
    "ticks": {
      "type": "minecraft:trident"
    }
  }
}

minecraft:use_animation

minecraft:useable

So if you had this:

{
  "minecraft:use_animation": "eat",
  "minecraft:useable": {
    "ticks": 32
  }
}

You now have to use this instead:

{
  "minecraft:useable": {
    "animation": "eat",
    "ticks": 32
  }
}

Data Components

Examples:

{
  "minecraft:shooter_ammunition": "#minecraft:bow_ammunition"
}
{
  "minecraft:shooter_held_ammunition": "#minecraft:crossbow_ammunition"
}

minecraft:use_animation

minecraft:use_duration

Examples:

Actions

Use Integer Providers

These providers are added so the use duration is not hardcoded for specific behaviour components by using different sources. The integer provider type is determined by the type field and all types are shown below. An integer provider may return an empty value, in which case the user will not start using the item.

minecraft:constant

Uses the item for a constant duration.

Fields

minecraft:playable

Uses the minecraft:playable item behaviour component to get the use duration from the minecraft:instrument data component or from a default set of instruments as defined by minecraft:playable otherwise. Has no additional fields.

Example

{
  "type": "minecraft:playable"
}

minecraft:shooter

Uses the minecraft:shooter item behaviour component to use the item indefinitely if the user is either holding ammunition as defined by the minecraft:shooter_held_ammunition data component or has ammunition in their inventory as defined by the minecraft:shooter_ammunition data component. Has no additional fields.

Example

{
  "type": "minecraft:shooter"
}

minecraft:trident

Uses the item indefinitely if the item stack has the Riptide enchantment and is either not damageable or not in a broken state and if its user is touching water or rain. Has no additional fields.

Example

{
  "type": "minecraft:trident"
}

minecraft:condition

Uses the item for the ticks specified in the amount field if the specified condition passes.

Fields