Refactor
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user