ErrorCraft

|
Return to Home

Itematic 0.9.0 Preview 3 for 26.3

20th of October 2026

This preview is all about data components, as it adds context number providers for them and moves a bunch of item behaviour to data components! On top of that, the mod is now also available on CurseForge! Right on time for the mod's first anniversary...

Changes

Item Behaviour Components

So if you had this:

{
  "minecraft:cooldown": {
    "ticks": 20
  }
}

You now have to use this instead:

{
  "minecraft:useable": {
    "cooldown": {
      "seconds": 1.0
    }
  }
}

minecraft:block

minecraft:bucket

minecraft:consumable

So if you had this:

{
  "minecraft:consumable": {
    "has_consume_particles": false,
    "sound": "minecraft:item.honey_bottle.drink"
  },
  "minecraft:useable": {
    "animation": "drink",
    "remainder": {
      "id": "minecraft:glass_bottle"
    },
    "ticks": 40
  }
}

You now have to use this instead:

{
  "minecraft:consumable": {},
  "minecraft:useable": {
    "animation": "drink",
    "remainder": {
      "id": "minecraft:glass_bottle"
    },
    "sound": "minecraft:item.honey_bottle.drink",
    "ticks": 40
  }
}

minecraft:enchantable

minecraft:entity

minecraft:equipment

minecraft:projectile

minecraft:tool

minecraft:useable

Example:

{
  "minecraft:useable": {
    "animation": "eat",
    "has_use_particles": true,
    "sound": "minecraft:entity.generic.eat",
    "ticks": 32
  }
}

minecraft:weapon

minecraft:zoom

Data Components

minecraft:block_placer

Example:

{
  "block": "minecraft:cobblestone"
}

minecraft:bucket

Example:

{
  "entity": {
    "entity": "minecraft:pufferfish"
  },
  "modification": {
    "type": "minecraft:place_fluid",
    "fluid": "minecraft:water",
    "place_sound": "minecraft:item.bucket.empty_fish",
    "transforms_into": "minecraft:bucket"
  }
}

minecraft:consumable

So if you had this:

{
  "minecraft:consumable": {}
}

minecraft:dispense_behavior

Example:

{
  "minecraft:dispense_behavior": "minecraft:shoot_projectile"
}

minecraft:enchantable

Example:

{
  "value": 1,
  "transforms_into": "minecraft:enchanted_book"
}

You now have to use this instead:

{
  "minecraft:consumable": {},
  "minecraft:has_use_particles": {},
  "minecraft:use_sound": "minecraft:entity.generic.eat"
}

Examples:

{
  "minecraft:consumable": {}
}
{
  "minecraft:consumable": {
    "amount": 2
  }
}

minecraft:entity_placer

Example:

{
  "allow_spawner_modification": true,
  "entity": {
    "allow_item_data": true,
    "entity": "minecraft:pig"
  },
  "passes": [
    "block",
    "fluid"
  ]
}

minecraft:equippable

minecraft:has_use_particles

minecraft:item_holder_sounds

Example:

{
  "minecraft:item_holder_sounds": {
    "empty": "minecraft:item.bundle.drop_contents",
    "insert_item": "minecraft:item.bundle.insert",
    "insert_item_fail": "minecraft:item.bundle.insert_fail",
    "remove_item": "minecraft:item.bundle.remove_one"
  }
}

minecraft:kinetic_weapon

minecraft:piercing_weapon

minecraft:projectile

Example:

{
  "components": {
    "minecraft:chicken/variant": "minecraft:temperate"
  },
  "entity": "minecraft:egg"
}

minecraft:smashing_weapon

minecraft:tool

minecraft:use_sound

Example:

{
  "minecraft:use_sound": "minecraft:entity.generic.eat"
}

minecraft:weapon

minecraft:zoom_field_of_view_multiplier

minecraft:zoom_sounds

Example:

{
  "start": "minecraft:item.spyglass.use",
  "stop": "minecraft:item.spyglass.stop_using"
}

Use Duration Providers

minecraft:instant

Example:

{
  "type": "minecraft:instant"
}

Context Int Providers

minecraft:data_component

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:ominous_bottle_amplifier",
  "source": "tool"
}

Context Float Providers

minecraft:data_component

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:food",
  "provider": "saturation",
  "source": "tool"
}

Data Component Context Int Providers

minecraft:custom_data

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:custom_data",
  "path": "example_map.integer_value",
  "source": "tool"
}

minecraft:damage

damage

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:damage",
  "provider": "damage",
  "source": "tool"
}

durability

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:damage",
  "provider": "durability",
  "source": "tool"
}

minecraft:enchantments

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:enchantments",
  "enchantment": "minecraft:sharpness",
  "source": "tool"
}

minecraft:food

nutrition

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:food",
  "provider": "nutrition",
  "source": "tool"
}

minecraft:max_damage

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:max_damage",
  "source": "tool"
}

minecraft:max_stack_size

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:max_stack_size",
  "source": "tool"
}

minecraft:ominous_bottle_amplifier

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:ominous_bottle_amplifier",
  "source": "tool"
}

minecraft:stored_enchantments

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:stored_enchantments",
  "enchantment": "minecraft:sharpness",
  "source": "tool"
}

Data Component Context Float Providers

minecraft:custom_data

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:custom_data",
  "path": "example_map.float_value",
  "source": "tool"
}

minecraft:custom_model_data

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:custom_model_data",
  "index": 0,
  "source": "tool"
}

minecraft:damage

damage_percentage

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:damage",
  "provider": "damage_percentage",
  "source": "tool"
}

minecraft:food

saturation

Example:

{
  "type": "minecraft:data_component",
  "component": "minecraft:food",
  "provider": "saturation",
  "source": "tool"
}

Fixes