2020-11-01 17:22:42 +01:00
{
"$id" : "blockception.minecraft.resource.particle.1.10.0.particle_appearance_tinting" ,
"description" : "Color fields are special, they can be either an RGB, or a \"#RRGGBB\" field (or RGBA or \"AARRGGBB\"). If RGB(A), the channels are from 0 to 1. If the string \"#AARRGGBB\", then the values are hex from 00 to ff." ,
"type" : "object" ,
2021-03-21 15:18:38 +01:00
"title" : "Particle Appearance Tinting Component For 1.10.0" ,
2020-11-01 17:22:42 +01:00
"additionalProperties" : false ,
"properties" : {
"color" : {
"title" : "Color" ,
"anyOf" : [
2021-06-05 21:54:49 +02:00
{ "type" : "array" , "description" : "Direct color field" , "items" : { "$ref" : "../../../../molang/number.json" } } ,
2021-03-21 15:18:38 +01:00
{ "type" : "string" , "format" : "color-hex" , "description" : "Direct color field" } ,
2020-11-01 17:22:42 +01:00
{
"description" : "Interpolation based color" ,
"type" : "object" ,
"additionalProperties" : false ,
"properties" : {
"gradient" : {
"title" : "Gradient" ,
"oneOf" : [
2021-05-18 23:32:44 +02:00
{
"description" : "An array of colors" ,
"type" : "array" ,
"items" : { "type" : "string" , "description" : "Color" , "title" : "Color" , "format" : "color-hex" }
} ,
2020-11-01 17:22:42 +01:00
{
"description" : "An object of colors" ,
"type" : "object" ,
2021-03-21 15:18:38 +01:00
"propertyNames" : { "pattern" : "(^[\\-0-9]+$|^[\\-0-9]+\\.[\\-0-9]+$)" } ,
"additionalProperties" : { "type" : "string" , "description" : "Color" , "format" : "color-hex" }
2020-11-01 17:22:42 +01:00
} ,
{
"description" : "An array of colors" ,
"type" : "array" ,
"items" : {
"type" : "array" ,
"minItems" : 3 ,
"items" : {
"oneOf" : [
2021-03-21 15:18:38 +01:00
{ "type" : "number" , "description" : "Color" , "title" : "Color" , "minimum" : 0 , "maximum" : 1 } ,
{ "type" : "string" , "title" : "Molang" }
2020-11-01 17:22:42 +01:00
]
}
}
}
]
} ,
2021-06-05 21:54:49 +02:00
"interpolant" : { "$ref" : "../../../../molang/number.json" , "description" : "TODO description: interpolant" , "title" : "Interpolant" }
2020-11-01 17:22:42 +01:00
}
}
] ,
"description" : "TODO description"
}
}
}