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

39 lines
1.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.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",
"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"
}
}
},
"title": "TODO title"
}
}
}