User Tools

Site Tools


items:item_components:projectile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
items:item_components:projectile [2024/04/19 13:27] – ↷ Page moved from item_components:projectile to items:item_components:projectile errorcraftitems:item_components:projectile [2024/05/14 22:46] (current) – fix link to entity initializers errorcraft
Line 1: Line 1:
 ====== minecraft:projectile ====== ====== minecraft:projectile ======
 The ''minecraft:projectile'' item component allows this item to be used as a projectile. The ''minecraft:projectile'' item component allows this item to be used as a projectile.
-It may be used in combination with [[item_components:throwable|minecraft:throwable]] to throw this item as the projectile, or it may be used as the ammunition in a [[item_components:shooter|minecraft:shooter]].+It may be used in combination with [[items:item_components:throwable|minecraft:throwable]] to throw this item as the projectile, or it may be used as the ammunition in a [[items:item_components:shooter|minecraft:shooter]].
  
  
 ==== Fields ==== ==== Fields ====
 ^  Name  ^  Description  ^  Type  ^  Default Value  ^ ^  Name  ^  Description  ^  Type  ^  Default Value  ^
-| ''entity'' | The entity to spawn. | An [[entities:entity_initializers|entity initializer]] | | +| ''entity'' | The entity to spawn. | An [[entities:entity_initializers:|entity initializer]] | | 
-| ''damage'' | The damage applied to the [[item_components:shooter|minecraft:shooter]] after shooting the projectile. | An optional, non-negative integer | ''0''+| ''damage'' | The damage applied to the [[items:item_components:shooter|minecraft:shooter]] after shooting the projectile. | An optional, non-negative integer | ''0''
-| ''charged_speed'' | The speed of the projectile when shot from a charged [[item_components:shooter|minecraft:shooter]]. | An optional, non-negative float | ''3.15'' |+| ''charged_speed'' | The speed of the projectile when shot from a charged [[items:item_components:shooter|minecraft:shooter]]. | An optional, non-negative float | ''3.15'' |
  
  
items/item_components/projectile.1713533224.txt.gz · Last modified: 2024/04/19 13:27 by errorcraft