Updated titles
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
"additionalProperties": false,
|
||||
"description": "A minecraft loot table",
|
||||
"title": "Loot Table",
|
||||
"type": "object",
|
||||
"examples": [
|
||||
{
|
||||
"pools": [
|
||||
@@ -34,6 +35,8 @@
|
||||
"properties": {
|
||||
"rolls": {
|
||||
"title": "Rolls",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"oneOf": [
|
||||
{ "type": "integer", "minimum": 0 },
|
||||
{
|
||||
@@ -63,23 +66,46 @@
|
||||
"entries": {
|
||||
"title": "Entries",
|
||||
"type": "array",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": ["type"],
|
||||
"title": "Entry",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"properties": {
|
||||
"type": { "title": "Type", "type": "string", "enum": ["item", "empty", "loot_table"] },
|
||||
"count": { "type": "integer", "title": "Count", "description": "The amount of the item" },
|
||||
"type": {
|
||||
"title": "Type",
|
||||
"type": "string",
|
||||
"enum": ["item", "empty", "loot_table"],
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"count": {
|
||||
"type": "integer",
|
||||
"title": "Count",
|
||||
"description": "The amount of the item"
|
||||
},
|
||||
"name": { "title": "Name", "type": "string", "description": "An item or loottable", "pattern": "^([\\w]+:|loot_tables/)" },
|
||||
"weight": { "title": "Weight", "type": "integer", "minimum": 1 },
|
||||
"weight": { "title": "Weight", "type": "integer", "minimum": 1, "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
||||
"functions": {
|
||||
"title": "Functions",
|
||||
"type": "array",
|
||||
"items": { "type": "object", "required": ["function"], "title": "Function", "$ref": "./functions.json" }
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"required": ["function"],
|
||||
"title": "Function",
|
||||
"$ref": "./functions.json"
|
||||
}
|
||||
},
|
||||
"pools": { "$ref": "#/definitions/pools_spec" },
|
||||
"quality": { "title": "Quality", "description": "UNDOCUMANTED", "type": "integer" }
|
||||
"quality": { "title": "Quality", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "type": "integer" }
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -100,7 +126,7 @@
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"pools": { "$ref": "#/definitions/pools_spec", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "TODO Title" },
|
||||
"pools": { "$ref": "#/definitions/pools_spec", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Pools" },
|
||||
"type": { "title": "Type", "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["minecraft:chest"] }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user