Item Projectile
Type ID: projectile:item
Fields
| Field | Type | Default | Description |
|---|---|---|---|
damage |
Integer | 0 |
The damage that the projectile will deal. |
height |
Float | 0.25 |
The height of the projectile. |
width |
Float | 0.25 |
The width of the projectile. |
gravity |
Float | 0.03 |
The gravity that the projectile will have. |
base_item |
Identifier | The item that the projectile will look like. | |
damage_source |
Damage Source | The damage source that the projectile deals. |
Example Code
{
"type": "projectile:item",
"damage": 4,
"base_item": "minecraft:magenta_dye",
"damage_source": {
"name": "staff",
"magic": true
}
}