1. Wiki
  2. /Items
  3. /minecraft:projectile

minecraft:projectile

Don't want to write this by hand? GodCraft sets minecraft:projectile for you with a switch.Get GodCraft

Overview

minecraft:projectile is an item component: it goes in the components object of a custom item. Marks the item as ammo that a shooter item (like a bow) can fire, and says which entity flies out.

Fields

FieldTypeDefaultDescription
minimum_critical_powernumber0How much the shot must be charged before it can land a critical hit.
projectile_entityEntity ReferencenoneThe entity that is launched, for example "minecraft:arrow".

Example

Inside the components object of BP/items/<name>.json (values are the defaults or placeholders):

BP/items/<name>.json
{
  "minecraft:projectile": {
    "minimum_critical_power": 0,
    "projectile_entity": {}
  }
}

Items: Behavior pack

We use cookies to improve your experience and analyse site traffic. Learn more