Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/components/minecraft.shareables.json
2021-06-24 17:46:39 +02:00

28 lines
1.2 KiB
JSON

{
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.shareables",
"description": "Defines a list of items the mob wants to share. Each item must have the following parameters:",
"type": "object",
"title": "Shareables 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"items": {
"type": "array",
"description": "List of items that the entity wants to share",
"title": "Shareables Items",
"items": {
"type": "object",
"properties": {
"item": { "type": "string", "description": "The name of the item", "$ref": "../../../../general/item/identifier.json" },
"want_amount": { "type": "integer", "description": "Number of this item this entity wants to share" },
"surplus_amount": { "type": "integer", "description": "Number of this item considered extra that the entity wants to share" },
"craft_info": {
"$ref": "../../../../general/item/identifier.json",
"description": "Defines the item this entity wants to craft with the item defined above. Should be an item name"
}
}
}
}
}
}