MONOREPO
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user