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