ErrorCraft

|
Return to Home

Itematic 0.9.0 Preview 5 for 26.3

17th of November 2026

What do you mean Mojang added a data-driven dispense behaviour registry to 26.4?! It's enchantments all over again, but worse as this touches several systems in my mod... Oh well, it had to happen at some point; Glad it exists in vanilla now. Now I get to have extra fun when porting to 26.4.

This preview moves all of the remaining item behaviour to data components! This means that the item behaviour system now only provides data components, matching the entirety of vanilla once again ever since data components were introduced in 1.20.5.

Changes

Item Behaviour

minecraft:attack_blocking

minecraft:banner_pattern_holder

So if you had this:

{
  "minecraft:banner_pattern_holder": {
    "color": "orange"
  }
}

You now have to use this instead:

{
  "minecraft:banner_pattern_holder": {
    "banner_base_color": "orange"
  }
}

minecraft:brush

Example:

{
  "minecraft:brush": {
    "sweep_count": 10
  }
}

minecraft:castable

Example:

{
  "minecraft:castable": {
    "cast_sound": "minecraft:entity.fishing_bobber.throw",
    "fish_experience": "minecraft:fishing/experience",
    "fish_loot_table": "minecraft:gameplay/fishing",
    "retrieve_sound": "minecraft:entity.fishing_bobber.retrieve"
  }
}

minecraft:damageable

minecraft:debug_stick

minecraft:dye

So if you had this:

{
  "minecraft:dye": "orange"
}

You now have to use this instead:

{
  "minecraft:dye": "orange",
  "minecraft:sign_modifier": {
    "apply_sound": "minecraft:item.dye.use",
    "color": "orange"
  }
}

minecraft:firework

Example:

{
  "minecraft:firework": {
    "default": {
      "flight_duration": 1
    }
  }
}

So if you had this:

{
  "minecraft:firework": {}
}

You now have to use this instead if you want to use the entity placement behaviour:

{
  "minecraft:entity": {
    "entity": {
      "entity": "minecraft:firework_rocket",
      "spawn_rules": "minecraft:firework_rocket"
    }
  }
}

Or this if you want to use the glider fuel behaviour:

{
  "minecraft:glider_fuel": {
    "constantly_added_speed": "minecraft:glider/firework_rocket_constantly_added_speed",
    "target_speed": "minecraft:glider/firework_rocket_target_speed",
    "target_speed_factor": "minecraft:glider/firework_rocket_target_speed_factor"
  }
}

minecraft:glider

minecraft:glider_fuel

Example:

{
  "minecraft:glider_fuel": {
    "constantly_added_speed": "minecraft:glider/firework_rocket_constantly_added_speed",
    "target_speed": "minecraft:glider/firework_rocket_target_speed",
    "target_speed_factor": "minecraft:glider/firework_rocket_target_speed_factor"
  }
}

minecraft:map_decoration_holder

minecraft:potion_holder

minecraft:repairable

minecraft:sign_modifier

Example:

{
  "minecraft:sign_modifier": {
    "apply_sound": "minecraft:item.honeycomb.wax_on",
    "can_apply_without_text": true,
    "wax": true
  }
}

minecraft:smithing_template_display

Example:

{
  "minecraft:smithing_template_display": "minecraft:netherite_upgrade"
}

minecraft:suspicious_effect_ingredient

So if you had this:

{
  "minecraft:suspicious_effect_ingredient": {
    "effects": [
      {
        "id": "minecraft:saturation",
        "duration": 140
      }
    ]
  }
}

You now have to use this instead:

{
  "minecraft:suspicious_effect_ingredient": [
    {
      "id": "minecraft:saturation",
      "duration": 140
    }
  ]
}

Data Components

minecraft:blocks_attacks

minecraft:banner_base_color

Example:

{
  "minecraft:banner_base_color": "orange"
}

minecraft:block_brusher

Example:

{
  "minecraft:brush": {
    "sweep_count": 10
  }
}

minecraft:castable

Example:

{
  "minecraft:castable": {
    "cast_sound": "minecraft:entity.fishing_bobber.throw",
    "fish_experience": "minecraft:fishing/experience",
    "fish_loot_table": "minecraft:gameplay/fishing",
    "retrieve_sound": "minecraft:entity.fishing_bobber.retrieve"
  }
}

minecraft:debug_stick_state

minecraft:glider_fuel

Example:

{
  "minecraft:glider_fuel": {
    "constantly_added_speed": "minecraft:glider/firework_rocket_constantly_added_speed",
    "target_speed": "minecraft:glider/firework_rocket_target_speed",
    "target_speed_factor": "minecraft:glider/firework_rocket_target_speed_factor"
  }
}

minecraft:max_damage

minecraft:preserve_damaged_item

minecraft:provides_suspicious_stew_effects

Example:

{
  "minecraft:provides_suspicious_stew_effects": [
    {
      "id": "minecraft:saturation",
      "duration": 140
    }
  ]
}

minecraft:repairable

minecraft:sign_modifier

Example:

{
  "minecraft:sign_modifier": {
    "apply_sound": "minecraft:item.honeycomb.wax_on",
    "can_apply_without_text": true,
    "wax": true
  }
}

minecraft:smithing_template_display

Use Duration Providers

Entity Spawn Rule Sets

Entity Spawn Rules

minecraft:offset_spawn_position_by_interacted_side

minecraft:set_spawn_position_to_interacted_position

So if you had this entity spawn rule:

{
  "type": "minecraft:offset_spawn_position_to_exact_y"
}

You now have to use this instead:

{
  "type": "minecraft:set_spawn_position_to_interacted_position",
  "y": true
}

Entity Initialisers

Context Parameter Sets

minecraft:glider_boost

Parameter Value Required
minecraft:this_entity The user boosting their equipped minecraft:glider. Yes
minecraft:origin The position of the user boosting. Yes
minecraft:tool The fuel item used to boost the minecraft:glider with. Yes

Actions

Number Providers

Item Modifiers

minecraft:fill_map

Example:

{
  "type": "minecraft:fill_map",
  "position": "this",
  "zoom": 0
}

Changes

Predicates

Item Predicates

So if you had this:

{
  "behavior": [
    "minecraft:item_holder"
  ]
}

You now have to use this instead:

{
  "predicates": {
    "minecraft:bundle_contents": {}
  }
}

Note that in this example, checking for the minecraft:item_holder_rules data component is also an option if you want to check for the item holder behaviour, rather than the presence of its contents.

Smithing Template Displays

Smithing Template Slots

Example:

{
  "additions_slot": {
    "description": {
      "translate": "item.minecraft.smithing_template.netherite_upgrade.additions_slot_description"
    },
    "empty_textures": [
      "minecraft:container/slot/ingot"
    ]
  },
  "base_slot": {
    "description": {
      "translate": "item.minecraft.smithing_template.netherite_upgrade.base_slot_description"
    },
    "empty_textures": [
      "minecraft:container/slot/helmet",
      "minecraft:container/slot/sword",
      "minecraft:container/slot/chestplate",
      "minecraft:container/slot/pickaxe",
      "minecraft:container/slot/leggings",
      "minecraft:container/slot/axe",
      "minecraft:container/slot/boots",
      "minecraft:container/slot/hoe",
      "minecraft:container/slot/shovel",
      "minecraft:container/slot/nautilus_armor",
      "minecraft:container/slot/spear"
    ]
  }
}

Fixes