- Added is_vehicle_family filter (#352)
This commit is contained in:
@@ -154,6 +154,7 @@
|
|||||||
{ "if": { "properties": { "test": { "const": "is_underground" } } }, "then": { "$ref": "./filters/is_underground.json" } },
|
{ "if": { "properties": { "test": { "const": "is_underground" } } }, "then": { "$ref": "./filters/is_underground.json" } },
|
||||||
{ "if": { "properties": { "test": { "const": "is_underwater" } } }, "then": { "$ref": "./filters/is_underwater.json" } },
|
{ "if": { "properties": { "test": { "const": "is_underwater" } } }, "then": { "$ref": "./filters/is_underwater.json" } },
|
||||||
{ "if": { "properties": { "test": { "const": "is_variant" } } }, "then": { "$ref": "./filters/is_variant.json" } },
|
{ "if": { "properties": { "test": { "const": "is_variant" } } }, "then": { "$ref": "./filters/is_variant.json" } },
|
||||||
|
{ "if": { "properties": { "test": { "const": "is_vehicle_family" } } }, "then": { "$ref": "./filters/is_vehicle_family.json" } },
|
||||||
{ "if": { "properties": { "test": { "const": "is_visible" } } }, "then": { "$ref": "./filters/is_visible.json" } },
|
{ "if": { "properties": { "test": { "const": "is_visible" } } }, "then": { "$ref": "./filters/is_visible.json" } },
|
||||||
{ "if": { "properties": { "test": { "const": "is_waterlogged" } } }, "then": { "$ref": "./filters/is_waterlogged.json" } },
|
{ "if": { "properties": { "test": { "const": "is_waterlogged" } } }, "then": { "$ref": "./filters/is_waterlogged.json" } },
|
||||||
{ "if": { "properties": { "test": { "const": "light_level" } } }, "then": { "$ref": "./filters/light_level.json" } },
|
{ "if": { "properties": { "test": { "const": "light_level" } } }, "then": { "$ref": "./filters/light_level.json" } },
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"$id": "blockception.minecraft.behavior.entities.filters.is_vehicle_family",
|
||||||
|
"type": "object",
|
||||||
|
"title": "Is Vehicle Family",
|
||||||
|
"description": "Returns true when the subject entity's vehicle is a member of the named family.",
|
||||||
|
"required": ["value"],
|
||||||
|
"properties": {
|
||||||
|
"test": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Test Property",
|
||||||
|
"description": "The test property."
|
||||||
|
},
|
||||||
|
"operator": {
|
||||||
|
"$ref": "./types/operator.json"
|
||||||
|
},
|
||||||
|
"subject": {
|
||||||
|
"$ref": "./types/subject.json"
|
||||||
|
},
|
||||||
|
"value": {
|
||||||
|
"title": "Value",
|
||||||
|
"description": "The Family name to look for.",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"test": "is_vehicle_family",
|
||||||
|
"value": "player"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user