Updated int_property.json so the value type. (#167)

Updated int_property.json so the value type is "integer" instead of "string"
This commit is contained in:
StealthyX
2023-03-20 06:38:08 -04:00
committed by GitHub
parent 09bd77226c
commit 46f7df7b5f

View File

@@ -2,14 +2,14 @@
"$id": "blockception.minecraft.behavior.entities.filters.int_property", "$id": "blockception.minecraft.behavior.entities.filters.int_property",
"type": "object", "type": "object",
"title": "Int Property", "title": "Int Property",
"description": "Returns true when the int actor property matches the value provided.", "description": "Returns true when the integer actor property matches the value provided.",
"required": ["value", "domain"], "required": ["value", "domain"],
"examples": [{ "test": "bool_property", "value": true }], "examples": [{ "test": "int_property", "value": 1 }],
"properties": { "properties": {
"test": { "test": {
"type": "string", "type": "string",
"title": "Test Property", "title": "Test Property",
"description": "Returns true when the int actor property matches the value provided." "description": "Returns true when the integer actor property matches the value provided."
}, },
"domain": { "domain": {
"description": "(Required) The property name to look for", "description": "(Required) The property name to look for",
@@ -29,9 +29,9 @@
"title": "Subject" "title": "Subject"
}, },
"value": { "value": {
"type": "string", "type": "integer",
"title": "Value", "title": "Value",
"description": "(Required) A floating point value." "description": "(Required) A integer value."
} }
} }
} }