... | ... | @@ -62,30 +62,32 @@ NOTE: All particle configs will have different required values in `properties` d |
|
|
}
|
|
|
```
|
|
|
`properties.rate` - Float for the distance between each individual particle inside a shape. It is **recommended to set this value between 0.2 and 0.5** for optimal performance and nice-looking shapes
|
|
|
`properties.update` - Integer for how often the server should update the particle in ticks. It is **recommended to set this value above 5 for non-moving shapes** to avoid unnecessary server lag and FPS drops for clients as most particles will stay for a few ticks even if not updated. For moving particles with `LINE` or `WAVE` particle types, this value determines how fast the shape travels<br>
|
|
|
`properties.duration` - Integer for how long in ticks a particles in a shape should should stay for<br>
|
|
|
#### Cube particle type
|
|
|
```json
|
|
|
"properties": {
|
|
|
"length": 3,
|
|
|
"length": 3.0,
|
|
|
"rate": 0.5,
|
|
|
"update": 5,
|
|
|
"duration": 200,
|
|
|
"rotationAngle": 50,
|
|
|
"rotationAngle": 50.0,
|
|
|
"rotationAxis": "x"
|
|
|
}
|
|
|
```
|
|
|
`properties.length` - Float for length of a cuboid object<br>
|
|
|
`properties.rotationAngle` - Float for angle the object should be rotated by<br>
|
|
|
`properties.rotationAxis` - Character for axis the object should be rotated in. Can be `x`, `y` or `z`
|
|
|
#### Ring particle type
|
|
|
```json
|
|
|
"properties": {
|
|
|
"radius": 2,
|
|
|
"radius": 2.0,
|
|
|
"rate": 0.3,
|
|
|
"update": 5,
|
|
|
"duration": 70,
|
|
|
"rotationAngle": -35,
|
|
|
"rotationAngle": -35.0,
|
|
|
"rotationAxis": "x"
|
|
|
}
|
|
|
```
|
|
|
`properties.radius` - Float for radius of a circular object<br>
|
|
|
#### Circle particle type
|
|
|
```json
|
|
|
"properties": {
|
... | ... | @@ -93,14 +95,14 @@ NOTE: All particle configs will have different required values in `properties` d |
|
|
"rate": 0.3,
|
|
|
"update": 5,
|
|
|
"duration": 100,
|
|
|
"rotationAngle": 35,
|
|
|
"rotationAngle": 35.0,
|
|
|
"rotationAxis": "x"
|
|
|
}
|
|
|
```
|
|
|
#### Sphere particle type
|
|
|
```json
|
|
|
"properties": {
|
|
|
"radius": 1,
|
|
|
"radius": 1.0,
|
|
|
"rate": 0.2,
|
|
|
"update": 5,
|
|
|
"duration": 150
|
... | ... | @@ -112,11 +114,13 @@ NOTE: All particle configs will have different required values in `properties` d |
|
|
"rate": 0.5,
|
|
|
"update": 1,
|
|
|
"duration": 5,
|
|
|
"waveCycles": 6,
|
|
|
"waveAmplitude": 3,
|
|
|
"rotationAngle": 50,
|
|
|
"waveCycles": 6.0,
|
|
|
"waveAmplitude": 3.0,
|
|
|
"rotationAngle": 50.0,
|
|
|
"rotationAxis": "x"
|
|
|
}
|
|
|
`properties.waveCycles` - Float for how many complete cycles the wave should consist of<br>
|
|
|
`properties.waveAmplitude` - Float for the maximum height in blocks of each wave relative to its midpoint
|
|
|
```
|
|
|
|
|
|
## Troubleshooting
|
... | ... | |