mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 12:33:57 +01:00
Updated Custom Potato Cannon Projectile Types (markdown)
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user