54 lines
1.9 KiB
JSON
54 lines
1.9 KiB
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.equippable",
|
|
"type": "object",
|
|
"title": "Equippable 1.8.0",
|
|
"additionalProperties": false,
|
|
"description": "Defines an entity's behavior for having items equipped to it",
|
|
"required": [],
|
|
"properties": {
|
|
"slots": {
|
|
"description": "List of slots and the item that can be equipped",
|
|
"type": "array",
|
|
"items": {
|
|
"description": "A slot and the item that can be equipped",
|
|
"type": "object",
|
|
"properties": {
|
|
"slot": { "type": "integer", "default": 0, "description": "The slot number of this slot", "title": "Slot" },
|
|
"accepted_items": {
|
|
"type": "array",
|
|
"description": "The list of items that can go in this slot",
|
|
"items": {
|
|
"type": "string",
|
|
"description": "A item name",
|
|
"$ref": "../../../../general/item/identifier.json",
|
|
"title": "Accepted Items"
|
|
},
|
|
"title": "Accepted Items"
|
|
},
|
|
"item": { "type": "string", "default": 0, "description": "Identifier of the item that can be equipped for this slot", "title": "Item" },
|
|
"interact_text": {
|
|
"type": "string",
|
|
"default": 0,
|
|
"description": "Text to be displayed when the entity can be equipped with this item when playing with Touch-screen controls",
|
|
"title": "Interact Text"
|
|
},
|
|
"on_equip": {
|
|
"type": "string",
|
|
"default": 0,
|
|
"description": "Event to trigger when this entity is equipped with this item",
|
|
"title": "On Equip"
|
|
},
|
|
"on_unequip": {
|
|
"type": "string",
|
|
"default": 0,
|
|
"description": "Event to trigger when this item is removed from this entity",
|
|
"title": "On Unequip"
|
|
}
|
|
},
|
|
"title": "Slots"
|
|
},
|
|
"title": "Slots"
|
|
}
|
|
}
|
|
}
|