diff --git a/source/behavior/entities/filters/filters/is_panicking.json b/source/behavior/entities/filters/filters/is_panicking.json new file mode 100644 index 00000000..74759e5a --- /dev/null +++ b/source/behavior/entities/filters/filters/is_panicking.json @@ -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 + } + ] +} diff --git a/source/behavior/entities/filters/filters/is_sprinting.json b/source/behavior/entities/filters/filters/is_sprinting.json new file mode 100644 index 00000000..d873a64a --- /dev/null +++ b/source/behavior/entities/filters/filters/is_sprinting.json @@ -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 + } + ] +}