Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/components/minecraft.inventory.json

38 lines
1.6 KiB
JSON
Raw Normal View History

2021-06-06 10:07:19 +00:00
{
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.inventory",
"description": "Defines this entity's inventory properties.",
"type": "object",
"title": "Inventory 1.8.0",
"additionalProperties": false,
"required": [],
"properties": {
"additional_slots_per_strength": {
"type": "integer",
"default": 0,
"description": "Number of slots that this entity can gain per extra strength",
2021-07-01 16:42:21 +02:00
"title": "Additional Slots Per Strength"
2021-06-06 10:07:19 +00:00
},
"can_be_siphoned_from": {
"type": "boolean",
"default": false,
"description": "If true, the contents of this inventory can be removed by a hopper",
2021-07-01 16:42:21 +02:00
"title": "Can Be Siphoned From"
2021-06-06 10:07:19 +00:00
},
"container_type": {
"type": "string",
"default": "none",
"description": "Type of container this entity has. Can be horse, minecart_chest, minecart_hopper, inventory, container or hopper",
"enum": ["horse", "minecart_chest", "minecart_hopper", "inventory", "container", "hopper"],
2021-07-01 16:42:21 +02:00
"title": "Container Type"
2021-06-06 10:07:19 +00:00
},
2021-07-01 16:42:21 +02:00
"inventory_size": { "type": "integer", "default": 5, "description": "Number of slots the container has", "title": "Inventory Size" },
"private": { "type": "boolean", "default": false, "description": "If true, only the entity can access the inventory", "title": "Private" },
2021-06-06 10:07:19 +00:00
"restrict_to_owner": {
"type": "boolean",
"default": false,
"description": "If true, the entity's inventory can only be accessed by its owner or itself",
2021-07-01 16:42:21 +02:00
"title": "Restrict To Owner"
2021-06-06 10:07:19 +00:00
}
}
}