ErrorCraft

|
Return to Home

Itematic 0.7.0 for 1.21.11

3rd of August 2026

The final version for 1.21! This means I can finally move to 26.x and leave this mess of a versioning system and much more behind! 🎉🎉🎉 This version expands melee weapon items significantly.

A new roadmap has been made alongside this version showing what to expect and how I will migrate to 26.x as quickly as possible. For a few more details regarding the new future you can look at the roadmap to 26.x!

Changes

Item Behaviour Components

minecraft:useable

minecraft:weapon

So if you had this:

{
  "minecraft:weapon": {
    "attack_damage": {
      "default_damage": 5.0,
      "rules": []
    },
    "attack_speed": 0.15,
    "may_smash": true
  }
}

You now have to use this instead:

{
  "minecraft:weapon": {
    "attack_damage": {
      "default_damage": 5.0,
      "rules": []
    },
    "attack_speed": 0.15,
    "types": {
      "minecraft:smashing": {
        "heavy_smash_attack_fall_distance": 5.0,
        "hit_sounds": {
          "in_air": "minecraft:item.mace.smash_air",
          "on_ground_large_fall_distance": "minecraft:item.mace.smash_ground_heavy",
          "on_ground_small_fall_distance": "minecraft:item.mace.smash_ground"
        },
        "knockback_power": 0.699999988079071,
        "smash_attack_fall_distance": 1.5
      }
    }
  }
}

Example from the Iron Spear:

{
  "minecraft:weapon": {
    "attack_damage": {
      "default_damage": 2.0,
      "rules": []
    },
    "attack_range": {
      "hitbox_margin": 0.125,
      "max_creative_reach": 6.5,
      "max_reach": 4.5,
      "min_creative_reach": 2.0,
      "min_reach": 2.0,
      "mob_factor": 0.5
    },
    "attack_speed": 0.2631579041481018,
    "damage_type": "minecraft:spear",
    "minimum_attack_charge": 1.0,
    "swing_animation": {
      "type": "stab",
      "duration": 19
    },
    "types": {
      "minecraft:kinetic": {
        "damage_conditions": {
          "max_duration_ticks": 225,
          "min_relative_speed": 4.6
        },
        "damage_multiplier": 0.95,
        "delay_ticks": 12,
        "dismount_conditions": {
          "max_duration_ticks": 50,
          "min_speed": 8.0
        },
        "forward_movement": 0.38,
        "hit_sound": "minecraft:item.spear.hit",
        "knockback_conditions": {
          "max_duration_ticks": 135,
          "min_speed": 5.1
        },
        "sound": "minecraft:item.spear.use"
      },
      "minecraft:piercing": {
        "hit_sound": "minecraft:item.spear.hit",
        "sound": "minecraft:item.spear.attack"
      }
    }
  }
}

Melee Weapons

Allows a melee weapon to be used in a specific way. Its value is a component map with melee weapon components.

minecraft:disables_blocking

Example:

{
  "minecraft:disables_blocking": {
    "seconds": 5.0
  }
}

minecraft:kinetic

Example:

{
  "minecraft:kinetic": {
    "damage_conditions": {
      "max_duration_ticks": 225,
      "min_relative_speed": 4.6
    },
    "damage_multiplier": 0.95,
    "delay_ticks": 12,
    "dismount_conditions": {
      "max_duration_ticks": 50,
      "min_speed": 8.0
    },
    "forward_movement": 0.38,
    "hit_sound": "minecraft:item.spear.hit",
    "knockback_conditions": {
      "max_duration_ticks": 135,
      "min_speed": 5.1
    },
    "sound": "minecraft:item.spear.use"
  }
}

minecraft:piercing

Example:

{
  "minecraft:piercing": {
    "hit_sound": "minecraft:item.spear.hit",
    "sound": "minecraft:item.spear.attack"
  }
}

minecraft:smashing

Example:

{
  "minecraft:smashing": {
    "heavy_smash_attack_fall_distance": 5.0,
    "hit_sounds": {
      "in_air": "minecraft:item.mace.smash_air",
      "on_ground_large_fall_distance": "minecraft:item.mace.smash_ground_heavy",
      "on_ground_small_fall_distance": "minecraft:item.mace.smash_ground"
    },
    "knockback_power": 0.699999988079071,
    "smash_attack_fall_distance": 1.5
  }
}

Data Components

minecraft:smashing_weapon

Example:

{
  "heavy_smash_attack_fall_distance": 5.0,
  "hit_sounds": {
    "in_air": "minecraft:item.mace.smash_air",
    "on_ground_large_fall_distance": "minecraft:item.mace.smash_ground_heavy",
    "on_ground_small_fall_distance": "minecraft:item.mace.smash_ground"
  },
  "knockback_power": 0.699999988079071,
  "smash_attack_fall_distance": 1.5
}

Predicates

Item Predicates

So if you had this:

{
  "data_components": [
    "minecraft:bees"
  ]
}

You now have to use this instead:

{
  "predicates": {
    "minecraft:bees": {}
  }
}

Fixes