Files
minecraft-bedrock-json-schemas/source/behaviour/entities/1.13.0/components/minecraft.ageable.json
2021-02-01 18:39:12 +01:00

51 lines
1.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.13.0.minecraft.ageable",
"type": "object",
"title": "Ageable 1.13.0",
"description": "Adds a timer for the entity to grow up. It can be accelerated by giving the entity the items it likes as defined by feedItems.",
"additionalProperties": false,
"properties": {
"drop_items": {
"description": "List of items that the entity drops when it grows up.",
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"title": "TODO title"
},
"duration": {
"type": "number",
"default": 1200,
"description": "Amount of time before the entity grows up, -1 for always a baby.",
"title": "TODO title"
},
"feed_items": {
"description": "List of items that can be fed to the entity. Includes 'item' for the item name and 'growth' to define how much time it grows up by",
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"title": "TODO title"
},
"grow_up": {
"description": "Event to run when this entity grows up.",
"title": "TODO title"
}
}
}