40 lines
1.8 KiB
JSON
40 lines
1.8 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_motion_dynamic",
|
|
"description": "This component specifies the dynamic properties of the particle, from a simulation standpoint what forces act upon the particle? These dynamics alter the velocity of the particle, which is a combination of the direction of the particle and the speed. Particle direction will always be in the direction of the velocity of the particle.",
|
|
"type": "object",
|
|
"title": "The particle motion dynamic component for 1.10.0",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"linear_acceleration": {
|
|
"type": "array",
|
|
"default": [0, 0, 0],
|
|
"minItems": 3,
|
|
"maxItems": 3,
|
|
"items": {
|
|
"$ref": "../../../../molang/1.8.0/number.json"
|
|
},
|
|
"description": "The linear acceleration applied to the particle. Units are blocks/sec/sec",
|
|
"title": "Linear Acceleration"
|
|
},
|
|
"linear_drag_coefficient": {
|
|
"$ref": "../../../../molang/1.8.0/number.json",
|
|
"description": "Using the equation: 'acceleration = -linear_drag_coefficient*velocity' where velocity is the current direction times speed. Think of this as air-drag. The higher the value, the more drag evaluated every frame",
|
|
"default": 0,
|
|
"title": "Linear Drag Coefficient"
|
|
},
|
|
"rotation_acceleration": {
|
|
"$ref": "../../../../molang/1.8.0/number.json",
|
|
"description": "Acceleration applies to the rotation speed of the particle",
|
|
"title": "Rotation Acceleration",
|
|
"default": 0
|
|
},
|
|
"rotation_drag_coefficient": {
|
|
"$ref": "../../../../molang/1.8.0/number.json",
|
|
"description": "Drag applied to rotation",
|
|
"title": "Rotation Drag Coefficient",
|
|
"default": 0
|
|
}
|
|
}
|
|
}
|