Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document projectile power attribute #138

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading