Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/components/minecraft.healable.json

38 lines
1.3 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.healable",
2020-11-01 17:22:42 +01:00
"description": "Defines the interactions with this entity for healing it.",
"type": "object",
"title": "Healable 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
2021-06-03 14:02:28 +02:00
"filters": {
"$ref": "../../filters/filters.json",
"description": "The filter group that defines the conditions for this trigger",
"title": "Filters"
},
2021-05-18 23:32:44 +02:00
"force_use": {
"type": "boolean",
"default": false,
"description": "Determines if item can be used regardless of entity being at full health",
"title": "TODO Title"
},
2020-11-01 17:22:42 +01:00
"items": {
"description": "The array of items that can be used to heal this entity",
"type": "array",
"items": {
"type": "object",
"properties": {
2021-05-18 23:32:44 +02:00
"filters": {
2021-06-03 14:02:28 +02:00
"$ref": "../../filters/filters.json",
2021-05-18 23:32:44 +02:00
"description": "The filter group that defines the conditions for using this item to heal the entity"
},
2021-03-21 15:18:38 +01:00
"heal_amount": { "type": "integer", "default": 1, "description": "The amount of health this entity gains when fed this item" },
"item": { "type": "string", "description": "Item identifier that can be used to heal this entity" }
2020-11-01 17:22:42 +01:00
}
},
2021-03-21 15:18:38 +01:00
"title": "TODO Title"
2020-11-01 17:22:42 +01:00
}
}
}