Fixing particle effects for resource_pack
This commit is contained in:
@@ -319,28 +319,16 @@
|
||||
"title": "Particle effects",
|
||||
"description": "TODO",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ParticleEffect"
|
||||
},
|
||||
{ "$ref": "#/definitions/ParticleEffect" },
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d.]+$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[\\d.]+$", "examples": ["0.0"] },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline object",
|
||||
"description": "A single point in time",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/ParticleEffect"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ParticleEffect"
|
||||
}
|
||||
}
|
||||
{ "type": "object","$ref": "#/definitions/ParticleEffect" },
|
||||
{ "type": "array", "items": { "$ref": "#/definitions/ParticleEffect" }}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -317,16 +317,21 @@
|
||||
"particle_effects": {
|
||||
"title": "Particle effects",
|
||||
"description": "TODO",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d.]+$",
|
||||
"examples": ["0.0", "1.0", "2.3"]
|
||||
},
|
||||
"additionalProperties": {
|
||||
"title": "Timeline object",
|
||||
"description": "A single point in time",
|
||||
"$ref": "#/definitions/ParticleEffect"
|
||||
}
|
||||
"oneOf": [
|
||||
{ "$ref": "#/definitions/ParticleEffect" },
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^[\\d.]+$", "examples": ["0.0"] },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline object",
|
||||
"description": "A single point in time",
|
||||
"oneOf": [
|
||||
{ "type": "object","$ref": "#/definitions/ParticleEffect" },
|
||||
{ "type": "array", "items": { "$ref": "#/definitions/ParticleEffect" }}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"start_delay": {
|
||||
"title": "Start delay",
|
||||
|
||||
Reference in New Issue
Block a user