Table of Contents

minecraft:projectile

The minecraft:projectile item component allows this item to be used as a projectile. It may be used in combination with minecraft:throwable to throw this item as the projectile, or it may be used as the ammunition in a minecraft:shooter.

Fields

Name Description Type Default Value
entity The entity to spawn. An entity initializer
damage The damage applied to the minecraft:shooter after shooting the projectile. An optional, non-negative integer 0
charged_speed The speed of the projectile when shot from a charged minecraft:shooter. An optional, non-negative float 3.15

Example

{
  "entity": {
    "type": "minecraft:arrow"
  },
  "damage": 1
}