Initial Commit
This commit is contained in:
41
behaviour/entities/1.8.0/components/minecraft.healable.json
Normal file
41
behaviour/entities/1.8.0/components/minecraft.healable.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.healable",
|
||||
"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" },
|
||||
"force_use": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Determines if item can be used regardless of entity being at full health",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"items": {
|
||||
"description": "The array of items that can be used to heal this entity",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"title": "TODO title"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user