auto: Formatted documents
This commit is contained in:
@@ -4,13 +4,34 @@
|
||||
"description": "A minecraft loot table condition",
|
||||
"title": "Condition",
|
||||
"allOf": [
|
||||
{ "if": { "properties": { "condition": { "type": "string", "const": "entity_properties" } } }, "then": { "$ref": "./conditions/entity_properties.json" } },
|
||||
{ "if": { "properties": { "condition": { "type": "string", "const": "has_mark_variant" } } }, "then": { "$ref": "./conditions/has_mark_variant.json" } },
|
||||
{ "if": { "properties": { "condition": { "type": "string", "const": "killed_by_player" } } }, "then": { "$ref": "./conditions/killed_by_player.json" } },
|
||||
{ "if": { "properties": { "condition": { "type": "string", "const": "killed_by_player_or_pets" } } }, "then": { "$ref": "./conditions/killed_by_player_or_pets.json" } },
|
||||
{ "if": { "properties": { "condition": { "type": "string", "const": "random_chance" } } }, "then": { "$ref": "./conditions/random_chance.json" } },
|
||||
{ "if": { "properties": { "condition": { "type": "string", "const": "random_chance_with_looting" } } }, "then": { "$ref": "./conditions/random_chance_with_looting.json" } },
|
||||
{ "if": { "properties": { "condition": { "type": "string", "const": "random_difficulty_chance" } } }, "then": { "$ref": "./conditions/random_difficulty_chance.json" } },
|
||||
{
|
||||
"if": { "properties": { "condition": { "type": "string", "const": "entity_properties" } } },
|
||||
"then": { "$ref": "./conditions/entity_properties.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "condition": { "type": "string", "const": "has_mark_variant" } } },
|
||||
"then": { "$ref": "./conditions/has_mark_variant.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "condition": { "type": "string", "const": "killed_by_player" } } },
|
||||
"then": { "$ref": "./conditions/killed_by_player.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "condition": { "type": "string", "const": "killed_by_player_or_pets" } } },
|
||||
"then": { "$ref": "./conditions/killed_by_player_or_pets.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "condition": { "type": "string", "const": "random_chance" } } },
|
||||
"then": { "$ref": "./conditions/random_chance.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "condition": { "type": "string", "const": "random_chance_with_looting" } } },
|
||||
"then": { "$ref": "./conditions/random_chance_with_looting.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "condition": { "type": "string", "const": "random_difficulty_chance" } } },
|
||||
"then": { "$ref": "./conditions/random_difficulty_chance.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "condition": { "type": "string", "const": "random_regional_difficulty_chance" } } },
|
||||
"then": { "$ref": "./conditions/random_regional_difficulty_chance.json" }
|
||||
|
||||
@@ -14,7 +14,10 @@
|
||||
"description": "The entity's properties. \"on_fire\", \"on_ground\" is used for now.",
|
||||
"title": "Properties",
|
||||
"additionalProperties": false,
|
||||
"properties": { "on_fire": { "title": "On Fire", "description": "TODO", "type": "boolean" }, "on_ground": { "title": "On Fire", "description": "TODO", "type": "boolean" } }
|
||||
"properties": {
|
||||
"on_fire": { "title": "On Fire", "description": "TODO", "type": "boolean" },
|
||||
"on_ground": { "title": "On Fire", "description": "TODO", "type": "boolean" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
"title": "Random Difficulty Chance",
|
||||
"properties": {
|
||||
"condition": { "type": "string", "title": "Condition", "description": "TODO" },
|
||||
"default_chance": { "type": "number", "default": 0, "description": "The default random chance if the level difficulty is not assigned.", "title": "Default Chance" },
|
||||
"default_chance": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The default random chance if the level difficulty is not assigned.",
|
||||
"title": "Default Chance"
|
||||
},
|
||||
"easy": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
|
||||
@@ -7,7 +7,12 @@
|
||||
"title": "Random Regional Difficulty Chance",
|
||||
"properties": {
|
||||
"condition": { "type": "string", "title": "Condition", "description": "TODO" },
|
||||
"default_chance": { "type": "number", "default": 0, "description": "The default random chance if the level difficulty is not assigned.", "title": "Default Chance" },
|
||||
"default_chance": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The default random chance if the level difficulty is not assigned.",
|
||||
"title": "Default Chance"
|
||||
},
|
||||
"max_chance": { "title": "Max Chance", "type": "number", "description": "UNDOCUMENATED" },
|
||||
"easy": {
|
||||
"type": "number",
|
||||
|
||||
@@ -4,27 +4,69 @@
|
||||
"description": "A minecraft loot table condition",
|
||||
"title": "Functions",
|
||||
"allOf": [
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "enchant_random_gear" } } }, "then": { "$ref": "./functions/enchant_random_gear.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "enchant_book_for_trading" } } }, "then": { "$ref": "./functions/enchant_book_for_trading.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "enchant_randomly" } } }, "then": { "$ref": "./functions/enchant_randomly.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "enchant_with_levels" } } }, "then": { "$ref": "./functions/enchant_with_levels.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "exploration_map" } } }, "then": { "$ref": "./functions/exploration_map.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "fill_container" } } }, "then": { "$ref": "./functions/fill_container.json" } },
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "enchant_random_gear" } } },
|
||||
"then": { "$ref": "./functions/enchant_random_gear.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "enchant_book_for_trading" } } },
|
||||
"then": { "$ref": "./functions/enchant_book_for_trading.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "enchant_randomly" } } },
|
||||
"then": { "$ref": "./functions/enchant_randomly.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "enchant_with_levels" } } },
|
||||
"then": { "$ref": "./functions/enchant_with_levels.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "exploration_map" } } },
|
||||
"then": { "$ref": "./functions/exploration_map.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "fill_container" } } },
|
||||
"then": { "$ref": "./functions/fill_container.json" }
|
||||
},
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "furnace_smelt" } } }, "then": { "$ref": "./functions/furnace_smelt.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "looting_enchant" } } }, "then": { "$ref": "./functions/looting_enchant.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "random_aux_value" } } }, "then": { "$ref": "./functions/random_aux_value.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "random_block_state" } } }, "then": { "$ref": "./functions/random_block_state.json" } },
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "looting_enchant" } } },
|
||||
"then": { "$ref": "./functions/looting_enchant.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "random_aux_value" } } },
|
||||
"then": { "$ref": "./functions/random_aux_value.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "random_block_state" } } },
|
||||
"then": { "$ref": "./functions/random_block_state.json" }
|
||||
},
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "set_actor_id" } } }, "then": { "$ref": "./functions/set_actor_id.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "set_banner_details" } } }, "then": { "$ref": "./functions/set_banner_details.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "set_book_contents" } } }, "then": { "$ref": "./functions/set_book_contents.json" } },
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "set_banner_details" } } },
|
||||
"then": { "$ref": "./functions/set_banner_details.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "set_book_contents" } } },
|
||||
"then": { "$ref": "./functions/set_book_contents.json" }
|
||||
},
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "set_count" } } }, "then": { "$ref": "./functions/set_count.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "set_damage" } } }, "then": { "$ref": "./functions/set_damage.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "set_data" } } }, "then": { "$ref": "./functions/set_data.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "set_data_from_color_index" } } }, "then": { "$ref": "./functions/set_data_from_color_index.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "trader_material_type" } } }, "then": { "$ref": "./functions/trader_material_type.json" } },
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "set_data_from_color_index" } } },
|
||||
"then": { "$ref": "./functions/set_data_from_color_index.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "trader_material_type" } } },
|
||||
"then": { "$ref": "./functions/trader_material_type.json" }
|
||||
},
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "random_dye" } } }, "then": { "$ref": "./functions/random_dye.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "set_lore" } } }, "then": { "$ref": "./functions/set_lore.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "set_name" } } }, "then": { "$ref": "./functions/set_name.json" } },
|
||||
{ "if": { "properties": { "function": { "type": "string", "const": "specific_enchants" } } }, "then": { "$ref": "./functions/specific_enchants.json" } }
|
||||
{
|
||||
"if": { "properties": { "function": { "type": "string", "const": "specific_enchants" } } },
|
||||
"then": { "$ref": "./functions/specific_enchants.json" }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -9,7 +9,20 @@
|
||||
"destination": {
|
||||
"type": "string",
|
||||
"description": "The destination value defines what type of treasure map they receive.",
|
||||
"enum": ["endcity", "fortress", "mineshaft", "monument", "ruins", "stronghold", "temple", "village", "mansion", "shipwreck", "buriedtreasure", "pillageroutpost"],
|
||||
"enum": [
|
||||
"endcity",
|
||||
"fortress",
|
||||
"mineshaft",
|
||||
"monument",
|
||||
"ruins",
|
||||
"stronghold",
|
||||
"temple",
|
||||
"village",
|
||||
"mansion",
|
||||
"shipwreck",
|
||||
"buriedtreasure",
|
||||
"pillageroutpost"
|
||||
],
|
||||
"title": "TODO Title"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,10 @@
|
||||
"function": { "type": "string", "const": "set_count", "title": "Function", "description": "TODO description" },
|
||||
"count": {
|
||||
"title": "Count",
|
||||
"oneOf": [{ "type": "integer" }, { "type": "object", "properties": { "min": { "type": "integer", "title": "Minimum" }, "max": { "type": "integer", "title": "Maximum" } } }],
|
||||
"oneOf": [
|
||||
{ "type": "integer" },
|
||||
{ "type": "object", "properties": { "min": { "type": "integer", "title": "Minimum" }, "max": { "type": "integer", "title": "Maximum" } } }
|
||||
],
|
||||
"description": "TODO description"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,10 @@
|
||||
"function": { "type": "string", "const": "set_data", "description": "TODO description", "title": "TODO Title" },
|
||||
"data": {
|
||||
"title": "Data",
|
||||
"oneOf": [{ "type": "integer" }, { "type": "object", "properties": { "min": { "type": "integer", "title": "Minimum" }, "max": { "type": "integer", "title": "Maximum" } } }],
|
||||
"oneOf": [
|
||||
{ "type": "integer" },
|
||||
{ "type": "object", "properties": { "min": { "type": "integer", "title": "Minimum" }, "max": { "type": "integer", "title": "Maximum" } } }
|
||||
],
|
||||
"description": "TODO description"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,7 +39,10 @@
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["min", "max"],
|
||||
"properties": { "min": { "title": "Minimum", "type": "number", "minimum": 0 }, "max": { "title": "Minimum", "type": "number", "minimum": 1 } }
|
||||
"properties": {
|
||||
"min": { "title": "Minimum", "type": "number", "minimum": 0 },
|
||||
"max": { "title": "Minimum", "type": "number", "minimum": 1 }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -58,7 +61,11 @@
|
||||
"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 },
|
||||
"functions": { "title": "Functions", "type": "array", "items": { "type": "object", "required": ["function"], "title": "Function", "$ref": "./functions.json" } },
|
||||
"functions": {
|
||||
"title": "Functions",
|
||||
"type": "array",
|
||||
"items": { "type": "object", "required": ["function"], "title": "Function", "$ref": "./functions.json" }
|
||||
},
|
||||
"pools": { "$ref": "#/definitions/pools_spec" },
|
||||
"quality": { "title": "Quality", "description": "UNDOCUMANTED", "type": "integer" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user