Add new entity filters (#206)
This commit is contained in:
31
source/behavior/entities/filters/filters/is_panicking.json
Normal file
31
source/behavior/entities/filters/filters/is_panicking.json
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"$id": "blockception.minecraft.behavior.entities.filters.is_panicking",
|
||||||
|
"type": "object",
|
||||||
|
"title": "Is Panicking",
|
||||||
|
"description": "Tests if the subject is executing \"behavior.panic\".",
|
||||||
|
"properties": {
|
||||||
|
"test": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Test",
|
||||||
|
"description": "The test property."
|
||||||
|
},
|
||||||
|
"operator": {
|
||||||
|
"$ref": "./types/operator.json"
|
||||||
|
},
|
||||||
|
"subject": {
|
||||||
|
"$ref": "./types/subject.json"
|
||||||
|
},
|
||||||
|
"value": {
|
||||||
|
"description": "True or false.",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
|
"title": "Value"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"test": "is_panicking",
|
||||||
|
"value": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
31
source/behavior/entities/filters/filters/is_sprinting.json
Normal file
31
source/behavior/entities/filters/filters/is_sprinting.json
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"$id": "blockception.minecraft.behavior.entities.filters.is_sprinting",
|
||||||
|
"type": "object",
|
||||||
|
"title": "Is Sprinting",
|
||||||
|
"description": "Tests if the subject is sprinting.",
|
||||||
|
"properties": {
|
||||||
|
"test": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Test",
|
||||||
|
"description": "The test property."
|
||||||
|
},
|
||||||
|
"operator": {
|
||||||
|
"$ref": "./types/operator.json"
|
||||||
|
},
|
||||||
|
"subject": {
|
||||||
|
"$ref": "./types/subject.json"
|
||||||
|
},
|
||||||
|
"value": {
|
||||||
|
"description": "True or false.",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true,
|
||||||
|
"title": "Value"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"examples": [
|
||||||
|
{
|
||||||
|
"test": "is_sprinting",
|
||||||
|
"value": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user