2021-06-06 10:07:19 +00:00
{
"$id" : "blockception.minecraft.behavior.condition.entity_properties" ,
"type" : "object" ,
"additionalProperties" : false ,
"description" : "Returns true if the actor properties defined were executed." ,
"title" : "Entity Properties" ,
"properties" : {
2022-03-18 08:51:06 +01:00
"condition" : { "type" : "string" , "title" : "Condition" , "description" : "Returns true if the actor properties defined were executed." , "$comment" : "UNDOCUMENTED" } ,
2021-06-19 15:05:41 +02:00
"entity" : { "type" : "string" , "default" : "this" , "description" : "The entity to test. The value must be only `this`." , "title" : "Entity" } ,
2021-06-06 10:07:19 +00:00
"properties" : {
"type" : "object" ,
"default" : { } ,
2021-06-19 15:05:41 +02:00
"description" : "The entity's properties. `on_fire`, `on_ground` is used for now." ,
2021-06-06 10:07:19 +00:00
"title" : "Properties" ,
"additionalProperties" : false ,
"properties" : {
2022-03-18 08:51:06 +01:00
"on_fire" : {
"title" : "On Fire" ,
"description" : "Checks if the entity is on fire or not" ,
"$comment" : "UNDOCUMENTED" ,
"type" : "boolean"
} ,
"on_ground" : {
"title" : "On Ground" ,
"description" : "Checks if the entity is on the ground or not" ,
"$comment" : "UNDOCUMENTED" ,
"type" : "boolean"
}
2021-06-06 10:07:19 +00:00
}
}
}
}