UNPKG

minecraft-data

Version:
64 lines (63 loc) 1.69 kB
{ "title": "entityLoot", "type": "array", "uniqueItems": true, "items": { "title": "entityLootEntry", "type": "object", "properties": { "entity": { "description": "The name of the entity", "type": "string", "pattern": "\\S+" }, "drops": { "description": "The list of item drops", "type": "array", "uniqueItems": true, "items": { "title": "entityItemDrop", "type": "object", "properties": { "item": { "description": "The name of the item being dropped", "type": "string" }, "metadata": { "description": "The metadata of the item being dropped (Bedrock Edition)", "type": "integer", "minimum": 0, "maximum": 127 }, "dropChance": { "description": "The percent chance of the item drop to occur", "type": "number" }, "stackSizeRange": { "description": "The min/max of number of items in this item drop stack", "type": "array", "items": { "type": ["number", "null"] } }, "playerKill": { "description": "If a player killer is required", "type": "boolean" } }, "required": [ "item", "dropChance", "stackSizeRange" ], "additionalProperties": false } } }, "required": [ "entity", "drops" ], "additionalProperties": false } }