-
-
Notifications
You must be signed in to change notification settings - Fork 41
Snowstorm
Chryfi edited this page Nov 21, 2022
·
3 revisions
Blockbuster adheres mostly to the Bedrock snowstorm documentation provided here Minecraft Bedrock Snowstorm Documentation
However, Blockbuster also implements extra features and more functionality-
Here is a list of components and their json parts.
This component is executed once for every particle and initializes its starting position and direction.
All sub-components include the following information:
"minecraft:emitter_shape_...": {
// emit only from the surface of the shape
"surface_only": <bool> <default:false>
// specifies the offset from the emitter to emit the particles
"offset": [<float/molang>, <float/molang>, <float/molang>] <default:[0, 0, 0]>
// blockbuster feature
// whether to rotate the direction vector according to the emitter rotation
"local_direction": <bool> <default:false>
// blockbuster feature
// whether the emitter should rotate and scale the shape, which also includes offset
"local_shape": <bool> <default:false>
// the direction of the particle.
// <default:"outwards">
"direction": "inwards" // particle direction towards the center of the shape
"direction": "outwards" // particle direction away from center
// the length of the custom vector doesn't matter as the speed will be set in a different component.
"direction": [<float/molang>, <float/molang>, <float/molang>] <default:[0, 0, 0]
}
"minecraft:emitter_shape_point": {
// specifies the offset from the emitter to emit the particles
"offset": [<float/molang>, <float/molang>, <float/molang>] <default:[0, 0, 0]>
// blockbuster feature
// whether to rotate the direction vector according to the emitter rotation
"local_direction": <bool> <default:false>
// blockbuster feature
// whether the emitter should rotate and scale the shape, which also includes offset
"local_shape": <bool> <default:false>
// the direction of the particle. Its length doesn't matter, the speed will be set in a different component.
"direction": [<float/molang>, <float/molang>, <float/molang>]
}
"minecraft:emitter_shape_box": {
// specifies the offset from the emitter to emit the particles
"offset": [<float/molang>, <float/molang>, <float/molang>] <default:[0, 0, 0]>
// blockbuster feature
// whether to rotate the direction vector according to the emitter rotation
"local_direction": <bool> <default:false>
// blockbuster feature
// whether the emitter should rotate and scale the shape, which also includes offset
"local_shape": <bool> <default:false>
// box dimensions
// the half dimensions of the box, i.e. a value of 1 for x, would give a total width of 2
"half_dimensions": [<float/molang>, <float/molang> <float/molang],
// emit only from the surface of the box
"surface_only": <bool> <default:false>
// specifies the direction of particles. Defaults to "outwards"
"direction": "inwards" // particle direction towards center of sphere
"direction": "outwards" // particle direction away from center of sphere
"direction": [<float/molang>, <float/molang>, <float/molang>]
}