auto: Formatted documents

This commit is contained in:
DaanV2
2021-05-18 23:32:44 +02:00
parent 6963d4eaab
commit 5b784a9cfc
400 changed files with 6276 additions and 1125 deletions

View File

@@ -15,7 +15,9 @@
"description": {
"additionalProperties": false,
"type": "object",
"properties": { "identifier": { "title": "Identifier", "type": "string", "description": "TODO", "$ref": "../../../general/item/identifier.json" } }
"properties": {
"identifier": { "title": "Identifier", "type": "string", "description": "TODO", "$ref": "../../../general/item/identifier.json" }
}
},
"components": {
"additionalProperties": false,
@@ -51,8 +53,16 @@
"description": "Choose: poor, low, normal, good, max, supernatural.",
"enum": ["poor", "low", "normal", "good", "max", "supernatural"]
},
"using_converts_to": { "type": "string", "description": "After using, item converts it to this item.", "$ref": "../../../general/item/identifier.json" },
"on_use_action": { "type": "string", "description": "'chorus_teleport' or 'none'.", "enum": ["chorus_teleport", "suspicious_stew_effect", "none"] },
"using_converts_to": {
"type": "string",
"description": "After using, item converts it to this item.",
"$ref": "../../../general/item/identifier.json"
},
"on_use_action": {
"type": "string",
"description": "'chorus_teleport' or 'none'.",
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
},
"on_use_range": { "$ref": "../../../general/array_3_number.json" },
"cooldown_type": { "type": "string", "description": "'chorusfruit' or 'none'.", "enum": ["chorusfruit", "none"] },
"cooldown_time": { "type": "integer", "description": "Cooldown time in ticks." },

View File

@@ -17,7 +17,9 @@
"type": "object",
"title": "Description",
"description": "TODO",
"properties": { "identifier": { "title": "Identifier", "type": "string", "description": "TODO", "$ref": "../../../general/item/identifier.json" } }
"properties": {
"identifier": { "title": "Identifier", "type": "string", "description": "TODO", "$ref": "../../../general/item/identifier.json" }
}
},
"components": {
"additionalProperties": false,
@@ -36,13 +38,21 @@
"slide_away_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" }
}
},
"minecraft:max_damage": { "type": "integer", "description": "Max damage item has, this is used like item max health.", "title": "UNDOCUMANTED" },
"minecraft:max_damage": {
"type": "integer",
"description": "Max damage item has, this is used like item max health.",
"title": "UNDOCUMANTED"
},
"minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." },
"minecraft:stacked_by_data": { "type": "boolean", "description": "Stacked by data aux value or not?", "title": "UNDOCUMANTED" },
"minecraft:foil": { "type": "boolean", "description": "Foil or glint.", "title": "UNDOCUMANTED" },
"minecraft:block": { "type": "string", "description": "Block name, leave blank for no block.", "title": "UNDOCUMANTED" },
"minecraft:max_stack_size": { "type": "integer", "description": "Max stack size.", "title": "UNDOCUMANTED", "minimum": 0 },
"minecraft:use_duration": { "type": "integer", "description": "How long to use before item is done being used.", "title": "UNDOCUMANTED" },
"minecraft:use_duration": {
"type": "integer",
"description": "How long to use before item is done being used.",
"title": "UNDOCUMANTED"
},
"minecraft:food": {
"type": "object",
"description": "Food settings of the item",
@@ -68,7 +78,12 @@
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
},
"on_use_range": { "$ref": "../../../general/array_3_number.json", "title": "UNDOCUMANTED" },
"cooldown_type": { "type": "string", "description": "'chorusfruit' or 'none'.", "title": "UNDOCUMANTED", "enum": ["chorusfruit", "none"] },
"cooldown_type": {
"type": "string",
"description": "'chorusfruit' or 'none'.",
"title": "UNDOCUMANTED",
"enum": ["chorusfruit", "none"]
},
"cooldown_time": { "type": "integer", "description": "Cooldown time in ticks.", "title": "UNDOCUMANTED" },
"can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false.", "title": "UNDOCUMANTED" },
"effects": {

View File

@@ -55,13 +55,21 @@
"slide_away_duration": { "type": "number", "description": "UNDOCUMANTED", "title": "UNDOCUMANTED" }
}
},
"minecraft:max_damage": { "type": "integer", "description": "Max damage item has, this is used like item max health.", "title": "UNDOCUMANTED" },
"minecraft:max_damage": {
"type": "integer",
"description": "Max damage item has, this is used like item max health.",
"title": "UNDOCUMANTED"
},
"minecraft:hand_equipped": { "type": "boolean", "title": "Hand Equipped", "description": "Is this a hand equipped item." },
"minecraft:stacked_by_data": { "type": "boolean", "description": "Stacked by data aux value or not?", "title": "UNDOCUMANTED" },
"minecraft:foil": { "type": "boolean", "description": "Foil or glint.", "title": "UNDOCUMANTED" },
"minecraft:block": { "type": "string", "description": "Block name, leave blank for no block.", "title": "UNDOCUMANTED" },
"minecraft:max_stack_size": { "type": "integer", "description": "Max stack size.", "title": "UNDOCUMANTED", "minimum": 0 },
"minecraft:use_duration": { "type": "integer", "description": "How long to use before item is done being used.", "title": "UNDOCUMANTED" },
"minecraft:use_duration": {
"type": "integer",
"description": "How long to use before item is done being used.",
"title": "UNDOCUMANTED"
},
"minecraft:food": {
"type": "object",
"description": "Food settings of the item",
@@ -86,7 +94,12 @@
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
},
"on_use_range": { "$ref": "../../../general/array_3_number.json" },
"cooldown_type": { "type": "string", "description": "'chorusfruit' or 'none'.", "title": "UNDOCUMANTED", "enum": ["chorusfruit", "none"] },
"cooldown_type": {
"type": "string",
"description": "'chorusfruit' or 'none'.",
"title": "UNDOCUMANTED",
"enum": ["chorusfruit", "none"]
},
"cooldown_time": { "type": "integer", "description": "Cooldown time in ticks.", "title": "UNDOCUMANTED" },
"can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false.", "title": "UNDOCUMANTED" },
"effects": {

View File

@@ -8,6 +8,10 @@
"required": ["category", "duration"],
"properties": {
"category": { "type": "string", "description": "The type of cool down for this item.", "title": "Category" },
"duration": { "description": "The duration of time this item will spend cooling down before becoming usable again.", "title": "Duration", "type": "number" }
"duration": {
"description": "The duration of time this item will spend cooling down before becoming usable again.",
"title": "Duration",
"type": "number"
}
}
}

View File

@@ -28,7 +28,14 @@
"type": "object",
"additionalProperties": false,
"description": "Block descriptor",
"properties": { "any_tag": { "type": "array", "title": "Any Block Tag", "description": "The block tag", "items": { "type": "string", "title": "Block Tag" } } }
"properties": {
"any_tag": {
"type": "array",
"title": "Any Block Tag",
"description": "The block tag",
"items": { "type": "string", "title": "Block Tag" }
}
}
}
]
}

View File

@@ -13,8 +13,15 @@
"description": "Damange chance",
"additionalProperties": false,
"required": ["min", "max"],
"properties": { "min": { "title": "Min", "type": "integer", "description": "The minimum" }, "max": { "title": "Max", "type": "integer", "description": "The minimum" } }
"properties": {
"min": { "title": "Min", "type": "integer", "description": "The minimum" },
"max": { "title": "Max", "type": "integer", "description": "The minimum" }
}
},
"max_durability": { "title": "Max Durability", "description": "Max durability is the amount of damage that this item can take before breaking.", "type": "number" }
"max_durability": {
"title": "Max Durability",
"description": "Max durability is the amount of damage that this item can take before breaking.",
"type": "number"
}
}
}

View File

@@ -11,7 +11,23 @@
"type": "string",
"title": "Color",
"description": "Defines what color the dye is.",
"enum": ["brown", "white", "black", "blue", "cyan", "gray", "green", "lightblue", "silver", "lime", "magenta", "pink", "purple", "red", "yellow"]
"enum": [
"brown",
"white",
"black",
"blue",
"cyan",
"gray",
"green",
"lightblue",
"silver",
"lime",
"magenta",
"pink",
"purple",
"red",
"yellow"
]
}
}
}

View File

@@ -28,6 +28,10 @@
"description": "Saturation Modifier is used in this formula: (nutrition * saturation_modifier * 2) when appling the saturation buff. Which happens when you eat the item.",
"type": "number"
},
"using_converts_to": { "title": "Using Converts To", "description": "When used, convert the *this* item to the one specified by 'using_converts_to'.", "type": "string" }
"using_converts_to": {
"title": "Using Converts To",
"description": "When used, convert the *this* item to the one specified by 'using_converts_to'.",
"type": "string"
}
}
}

View File

@@ -7,7 +7,12 @@
"additionalProperties": false,
"required": ["texture"],
"properties": {
"frame": { "type": "string", "title": "Frame", "description": "An index or expression for which frame of the icon to display. Default resolves to 0.", "default": 0 },
"frame": {
"type": "string",
"title": "Frame",
"description": "An index or expression for which frame of the icon to display. Default resolves to 0.",
"default": 0
},
"legacy_id": { "type": "string", "title": "Texture", "description": "Legacy texture id for older item icons." },
"texture": {
"type": "string",

View File

@@ -6,5 +6,11 @@
"type": "object",
"additionalProperties": false,
"required": ["protection"],
"properties": { "protection": { "title": "Protection", "description": "Amount of knockback resistance provided with the total maximum protection being 1.0", "type": "number" } }
"properties": {
"protection": {
"title": "Protection",
"description": "Amount of knockback resistance provided with the total maximum protection being 1.0",
"type": "number"
}
}
}

View File

@@ -7,7 +7,11 @@
"additionalProperties": false,
"required": ["projectile_entity"],
"properties": {
"minimum_critical_power": { "type": "number", "title": "Minimum Critical Power", "description": "How long you must charge a projectile for it to critically hit." },
"minimum_critical_power": {
"type": "number",
"title": "Minimum Critical Power",
"description": "How long you must charge a projectile for it to critically hit."
},
"projectile_entity": { "title": "Projectile Entity", "description": "The entity to be fired as a projectile.", "type": "string" }
}
}

View File

@@ -17,7 +17,12 @@
"description": "UNDOCUMENATED",
"additionalProperties": false,
"properties": {
"items": { "title": "Items", "description": "UNDOCUMENATED", "type": "array", "items": { "type": "string", "title": "Item", "description": "UNDOCUMENATED" } },
"items": {
"title": "Items",
"description": "UNDOCUMENATED",
"type": "array",
"items": { "type": "string", "title": "Item", "description": "UNDOCUMENATED" }
},
"repair_amount": { "title": "Repair Amount", "description": "UNDOCUMENATED", "$ref": "../../../../molang/1.8.0/number.json" }
}
}

View File

@@ -24,7 +24,12 @@
}
},
"charge_on_draw": { "title": "Charge On Draw", "description": "Charge on draw? Default is set to false.", "default": false, "type": "boolean" },
"launch_power_scale": { "title": "Launch Power Scale", "description": "Launch power scale. Default is set to 1.0.", "default": 1.0, "type": "number" },
"launch_power_scale": {
"title": "Launch Power Scale",
"description": "Launch power scale. Default is set to 1.0.",
"default": 1.0,
"type": "number"
},
"max_draw_duration": { "title": "Max Draw Duration", "description": "Draw Duration. Default is set to 0.", "default": 0, "type": "number" },
"max_launch_power": { "title": "Max Launch Power", "description": "Launch power. Default is set to 1.0.", "default": 0, "type": "number" },
"scale_power_by_draw_duration": {

View File

@@ -18,9 +18,24 @@
"default": 1.0,
"type": "number"
},
"max_draw_duration": { "title": "Max Draw Duration", "description": "The maximum duration to draw a throwable item. Default is set to 0.0.", "default": 0, "type": "number" },
"min_draw_duration": { "title": "Min Draw Duration", "description": "The minimum duration to draw a throwable item. Default is set to 0.0.", "default": 0, "type": "number" },
"max_launch_power": { "title": "Max Launch Power", "description": "The maximum power to launch the throwable item. Default is set to 1.0.", "default": 1.0, "type": "number" },
"max_draw_duration": {
"title": "Max Draw Duration",
"description": "The maximum duration to draw a throwable item. Default is set to 0.0.",
"default": 0,
"type": "number"
},
"min_draw_duration": {
"title": "Min Draw Duration",
"description": "The minimum duration to draw a throwable item. Default is set to 0.0.",
"default": 0,
"type": "number"
},
"max_launch_power": {
"title": "Max Launch Power",
"description": "The maximum power to launch the throwable item. Default is set to 1.0.",
"default": 1.0,
"type": "number"
},
"scale_power_by_draw_duration": {
"title": "Scale Power By Draw Duration",
"description": "Whether or not the power of the throw increases with duration charged. Default is set to false.",

View File

@@ -39,7 +39,12 @@
"type": "object",
"additionalProperties": false,
"properties": {
"command": { "title": "Command", "description": "UNDOCUMENTATED", "type": "array", "items": { "type": "string", "title": "Command", "description": "UNDOCUMENTATED" } },
"command": {
"title": "Command",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "type": "string", "title": "Command", "description": "UNDOCUMENTATED" }
},
"target": { "type": "string", "title": "Target", "description": "UNDOCUMENTATED", "enum": ["other"] }
}
}

View File

@@ -8,6 +8,10 @@
"required": ["category", "duration"],
"properties": {
"category": { "type": "string", "description": "The type of cool down for this item.", "title": "Category" },
"duration": { "description": "The duration of time this item will spend cooling down before becoming usable again.", "title": "Duration", "type": "number" }
"duration": {
"description": "The duration of time this item will spend cooling down before becoming usable again.",
"title": "Duration",
"type": "number"
}
}
}

View File

@@ -28,7 +28,14 @@
"type": "object",
"additionalProperties": false,
"description": "Block descriptor",
"properties": { "any_tag": { "type": "array", "title": "Any Block Tag", "description": "The block tag", "items": { "type": "string", "title": "Block Tag" } } }
"properties": {
"any_tag": {
"type": "array",
"title": "Any Block Tag",
"description": "The block tag",
"items": { "type": "string", "title": "Block Tag" }
}
}
}
]
}

View File

@@ -13,8 +13,15 @@
"description": "Damange chance",
"additionalProperties": false,
"required": ["min", "max"],
"properties": { "min": { "title": "Min", "type": "integer", "description": "The minimum" }, "max": { "title": "Max", "type": "integer", "description": "The minimum" } }
"properties": {
"min": { "title": "Min", "type": "integer", "description": "The minimum" },
"max": { "title": "Max", "type": "integer", "description": "The minimum" }
}
},
"max_durability": { "title": "Max Durability", "description": "Max durability is the amount of damage that this item can take before breaking.", "type": "number" }
"max_durability": {
"title": "Max Durability",
"description": "Max durability is the amount of damage that this item can take before breaking.",
"type": "number"
}
}
}

View File

@@ -11,7 +11,23 @@
"type": "string",
"title": "Color",
"description": "Defines what color the dye is.",
"enum": ["brown", "white", "black", "blue", "cyan", "gray", "green", "lightblue", "silver", "lime", "magenta", "pink", "purple", "red", "yellow"]
"enum": [
"brown",
"white",
"black",
"blue",
"cyan",
"gray",
"green",
"lightblue",
"silver",
"lime",
"magenta",
"pink",
"purple",
"red",
"yellow"
]
}
}
}

View File

@@ -28,6 +28,10 @@
"description": "Saturation Modifier is used in this formula: (nutrition * saturation_modifier * 2) when appling the saturation buff. Which happens when you eat the item.",
"type": "number"
},
"using_converts_to": { "title": "Using Converts To", "description": "When used, convert the *this* item to the one specified by 'using_converts_to'.", "type": "string" }
"using_converts_to": {
"title": "Using Converts To",
"description": "When used, convert the *this* item to the one specified by 'using_converts_to'.",
"type": "string"
}
}
}

View File

@@ -7,7 +7,12 @@
"additionalProperties": false,
"required": ["texture"],
"properties": {
"frame": { "type": "string", "title": "Frame", "description": "An index or expression for which frame of the icon to display. Default resolves to 0.", "default": 0 },
"frame": {
"type": "string",
"title": "Frame",
"description": "An index or expression for which frame of the icon to display. Default resolves to 0.",
"default": 0
},
"legacy_id": { "type": "string", "title": "Texture", "description": "Legacy texture id for older item icons." },
"texture": {
"type": "string",

View File

@@ -6,5 +6,11 @@
"type": "object",
"additionalProperties": false,
"required": ["protection"],
"properties": { "protection": { "title": "Protection", "description": "Amount of knockback resistance provided with the total maximum protection being 1.0", "type": "number" } }
"properties": {
"protection": {
"title": "Protection",
"description": "Amount of knockback resistance provided with the total maximum protection being 1.0",
"type": "number"
}
}
}

View File

@@ -7,7 +7,11 @@
"additionalProperties": false,
"required": ["projectile_entity"],
"properties": {
"minimum_critical_power": { "type": "number", "title": "Minimum Critical Power", "description": "How long you must charge a projectile for it to critically hit." },
"minimum_critical_power": {
"type": "number",
"title": "Minimum Critical Power",
"description": "How long you must charge a projectile for it to critically hit."
},
"projectile_entity": { "title": "Projectile Entity", "description": "The entity to be fired as a projectile.", "type": "string" }
}
}

View File

@@ -17,7 +17,12 @@
"description": "UNDOCUMENATED",
"additionalProperties": false,
"properties": {
"items": { "title": "Items", "description": "UNDOCUMENATED", "type": "array", "items": { "type": "string", "title": "Item", "description": "UNDOCUMENATED" } },
"items": {
"title": "Items",
"description": "UNDOCUMENATED",
"type": "array",
"items": { "type": "string", "title": "Item", "description": "UNDOCUMENATED" }
},
"repair_amount": { "title": "Repair Amount", "description": "UNDOCUMENATED", "$ref": "../../../../molang/1.8.0/number.json" }
}
}

View File

@@ -24,7 +24,12 @@
}
},
"charge_on_draw": { "title": "Charge On Draw", "description": "Charge on draw? Default is set to false.", "default": false, "type": "boolean" },
"launch_power_scale": { "title": "Launch Power Scale", "description": "Launch power scale. Default is set to 1.0.", "default": 1.0, "type": "number" },
"launch_power_scale": {
"title": "Launch Power Scale",
"description": "Launch power scale. Default is set to 1.0.",
"default": 1.0,
"type": "number"
},
"max_draw_duration": { "title": "Max Draw Duration", "description": "Draw Duration. Default is set to 0.", "default": 0, "type": "number" },
"max_launch_power": { "title": "Max Launch Power", "description": "Launch power. Default is set to 1.0.", "default": 0, "type": "number" },
"scale_power_by_draw_duration": {

View File

@@ -18,9 +18,24 @@
"default": 1.0,
"type": "number"
},
"max_draw_duration": { "title": "Max Draw Duration", "description": "The maximum duration to draw a throwable item. Default is set to 0.0.", "default": 0, "type": "number" },
"min_draw_duration": { "title": "Min Draw Duration", "description": "The minimum duration to draw a throwable item. Default is set to 0.0.", "default": 0, "type": "number" },
"max_launch_power": { "title": "Max Launch Power", "description": "The maximum power to launch the throwable item. Default is set to 1.0.", "default": 1.0, "type": "number" },
"max_draw_duration": {
"title": "Max Draw Duration",
"description": "The maximum duration to draw a throwable item. Default is set to 0.0.",
"default": 0,
"type": "number"
},
"min_draw_duration": {
"title": "Min Draw Duration",
"description": "The minimum duration to draw a throwable item. Default is set to 0.0.",
"default": 0,
"type": "number"
},
"max_launch_power": {
"title": "Max Launch Power",
"description": "The maximum power to launch the throwable item. Default is set to 1.0.",
"default": 1.0,
"type": "number"
},
"scale_power_by_draw_duration": {
"title": "Scale Power By Draw Duration",
"description": "Whether or not the power of the throw increases with duration charged. Default is set to false.",

View File

@@ -39,7 +39,12 @@
"type": "object",
"additionalProperties": false,
"properties": {
"command": { "title": "Command", "description": "UNDOCUMENTATED", "type": "array", "items": { "type": "string", "title": "Command", "description": "UNDOCUMENTATED" } },
"command": {
"title": "Command",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "type": "string", "title": "Command", "description": "UNDOCUMENTATED" }
},
"target": { "type": "string", "title": "Target", "description": "UNDOCUMENTATED", "enum": ["other"] }
}
}