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

27 lines
1.3 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
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": {
"filters": { "$ref": "../filters.json", "description": "The filter group that defines the conditions for this trigger", "title": "Filters" },
2021-03-21 15:18:38 +01: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-03-21 15:18:38 +01:00
"filters": { "$ref": "../filters.json", "description": "The filter group that defines the conditions for using this item to heal the entity" },
"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
}
}
}