Updated Custom Potato Cannon Projectile Types (markdown)

PepperCode1 2021-10-22 18:18:23 -07:00
parent 7fc6e45576
commit 68459c7a1f

@ -12,18 +12,18 @@ Note: Custom types cannot define block or entity interactions or have a render m
## JSON Specification
|Key|Value Type|Default Value|
|---|----------|-------------|
|`items`|non-empty array of strings, each one representing the namespaced identifier of an item|
|`reload_ticks`|integer|`10`|
|`damage`|integer|`1`|
|`split`|integer|`1`|
|`knockback`|float|`1`|
|`drag`|float|`0.99`|
|`velocity_multiplier`|float|`1`|
|`gravity_multiplier`|float|`1`|
|`sound_pitch`|float|`1`|
|`sticky`|boolean|`false`|
|Key|Value Type|Default Value|Description|
|---|----------|-------------|-----------|
|`items`|string array|N/A|Each string represents the namespaced identifier of an item that will have this type applied to it.|
|`reload_ticks`|integer|`10`|The amount of ticks that must pass before a projectile can be fired again.|
|`damage`|integer|`1`|The amount of damage projectiles deal to entities.|
|`split`|integer|`1`|The amount of projectiles the original projectile splits into after being fired.|
|`knockback`|float|`1`|How far entities get knocked back after getting hit by a projectile.|
|`drag`|float|`0.99`|How fast the projectile loses velocity.|
|`velocity_multiplier`|float|`1`|How fast the projectile travels after being fired.|
|`gravity_multiplier`|float|`1`|How strongly the projectile is affected by gravity.|
|`sound_pitch`|float|`1`|The pitch of the firing sound.|
|`sticky`|boolean|`false`|If the projectile sticks to an entity after hitting it.|
## Examples