1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-04-04 19:54:15 +00:00
Files
bedrock-samples/metadata/json_schemas/Particle Motion Collision v1.21.0.json
Mike Ammerlaan 8cb28e3b1e v1.21.70.3
2025-03-25 09:13:19 -07:00

100 lines
2.7 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "49717204",
"definitions": {
"2715320761": {
"title": "hashed_string",
"type": "string"
},
"2751853296": {
"title": "particle_motion_collision_event_vector v1.21.0",
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/2423881331"
}
},
{
"$ref": "#/definitions/2423881331"
}
]
},
"3178719147": {
"title": "struct SharedTypes::Legacy::ExpressionNode",
"oneOf": [
{
"$ref": "#/definitions/2267778531"
},
{
"type": "number"
}
]
},
"2267778531": {
"title": "struct SharedTypes::Legacy::ExpressionNode::StringRepresentation",
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"expression": {
"type": "string"
},
"version": {
"type": "integer"
}
},
"required": [
"expression",
"version"
]
}
]
},
"2423881331": {
"title": "particle_motion_collision_event v1.21.0",
"type": "object",
"properties": {
"min_speed": {
"type": "number"
},
"event": {
"$ref": "#/definitions/2715320761"
}
},
"required": [
"event"
]
}
},
"title": "particle_motion_collision v1.21.0",
"type": "object",
"properties": {
"enabled": {
"$ref": "#/definitions/3178719147"
},
"collision_radius": {
"type": "number",
"minimum": 0.0,
"maximum": 0.5
},
"collision_drag": {
"type": "number"
},
"coefficient_of_restitution": {
"type": "number"
},
"expire_on_contact": {
"type": "boolean"
},
"events": {
"$ref": "#/definitions/2751853296"
}
},
"required": [
"collision_radius"
]
}