Skip to content

Commit

Permalink
Document projectile power attribute
Browse files Browse the repository at this point in the history
Signed-off-by: Pear <[email protected]>
  • Loading branch information
TheRealPear committed Aug 27, 2024
1 parent 5ef794c commit 05ed67d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/modules/gear/projectiles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ or the item form of the custom projectile itself.
| `name` | The display name of this projectile, used in "shot by" messages, etc. | <span className="badge badge--primary">String</span> |
| `throwable` | Items are consumed when using them to shoot this projectile (making them more like grenades than guns). | <span className="badge badge--primary">true/false</span> | true |
| `projectile` | The entity this projectile is materialized as. | [Entity Type](/docs/reference/entities/entity-types) | <span className="badge badge--secondary">Arrow</span> |
| `power` | How powerful this projectile's explosive factor should be.<br />*This is only applicable to explosive projectiles.* | <span className="badge badge--primary">Number</span> |
| `damage` | The amount of damage this projectile deals. | <span className="badge badge--primary">Half-hearts</span> | 0.0 |
| `velocity` | The speed at which the projectile moves. | <span className="badge badge--primary">Meters/tick</span> | 1.0 |
| `click` | The click action that fires the projectile. | `right`,<br />`left`,<br />or `both` | `both` |
Expand Down

0 comments on commit 05ed67d

Please sign in to comment.