Sign in
Skip to main content

Discuss ways to make Minecraft easier to use and enjoy for everyone, including players with different needs, abilities, devices, or ways of playing.

1

DataPack question about 1.21.11's spears

1 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    same guy that posted it the json file is

    {
      "function": "minecraft:set_components",
      "components": {
        "minecraft:kinetic_weapon": {
          "damage_conditions": {
            "max_duration_ticks": 65,
            "min_relative_speed": 4.6
          },
          "damage_multiplier": 1.2,
          "delay_ticks": 8,
          "dismount_conditions": {
            "max_duration_ticks": 110,
            "min_speed": 9
          },
          "forward_movement": 0.0,
          "hit_sound": "minecraft:item.spear.hit",
          "knockback_conditions": {
            "max_duration_ticks": 60,
            "min_speed": 5.1
          },
          "sound": "minecraft:item.spear.use"
        },
        "minecraft:use_effects": {
          "can_sprint": true,
          "speed_multiplier": 1.0
        },
        "minecraft:swing_animation":{
          "type": "stab",
          "duration": 22
        }
      }
    }