auto: Formatted json files

This commit is contained in:
DaanV2
2021-01-18 01:29:00 +01:00
parent e2b7b27654
commit d7e95b15c2
83 changed files with 275 additions and 218 deletions

View File

@@ -141,16 +141,24 @@
"type": "object",
"properties": {
"name": {
"type": "string"
"type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"chance": {
"type": "number"
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"duration": {
"type": "integer"
"type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"amplifier": {
"type": "integer"
"type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}
}
}

View File

@@ -69,7 +69,8 @@
},
"minecraft:max_damage": {
"type": "integer",
"description": "Max damage item has, this is used like item max health."
"description": "Max damage item has, this is used like item max health.",
"title": "UNDOCUMANTED"
},
"minecraft:hand_equipped": {
"type": "boolean",
@@ -78,24 +79,29 @@
},
"minecraft:stacked_by_data": {
"type": "boolean",
"description": "Stacked by data aux value or not?"
"description": "Stacked by data aux value or not?",
"title": "UNDOCUMANTED"
},
"minecraft:foil": {
"type": "boolean",
"description": "Foil or glint."
"description": "Foil or glint.",
"title": "UNDOCUMANTED"
},
"minecraft:block": {
"type": "string",
"description": "Block name, leave blank for no block."
"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."
"description": "How long to use before item is done being used.",
"title": "UNDOCUMANTED"
},
"minecraft:food": {
"type": "object",
@@ -104,38 +110,46 @@
"properties": {
"nutrition": {
"type": "integer",
"description": "Nutrition amount."
"description": "Nutrition amount.",
"title": "UNDOCUMANTED"
},
"saturation_modifier": {
"type": "string",
"description": "Choose: poor, low, normal, good, max, supernatural.",
"enum": ["poor", "low", "normal", "good", "max", "supernatural"]
"enum": ["poor", "low", "normal", "good", "max", "supernatural"],
"title": "UNDOCUMANTED"
},
"using_converts_to": {
"type": "string",
"description": "After using, item converts it to this item.",
"title": "UNDOCUMANTED",
"$ref": "../../../general/item/identifier.json"
},
"on_use_action": {
"type": "string",
"description": "'chorus_teleport' or 'none'.",
"title": "UNDOCUMANTED",
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
},
"on_use_range": {
"$ref": "../../../general/array_3_number.json"
"$ref": "../../../general/array_3_number.json",
"title": "UNDOCUMANTED"
},
"cooldown_type": {
"type": "string",
"description": "'chorusfruit' or 'none'.",
"title": "UNDOCUMANTED",
"enum": ["chorusfruit", "none"]
},
"cooldown_time": {
"type": "integer",
"description": "Cooldown time in ticks."
"description": "Cooldown time in ticks.",
"title": "UNDOCUMANTED"
},
"can_always_eat": {
"type": "boolean",
"description": "Can always eat this item? true or false."
"description": "Can always eat this item? true or false.",
"title": "UNDOCUMANTED"
},
"effects": {
"type": "array",
@@ -144,16 +158,24 @@
"type": "object",
"properties": {
"name": {
"type": "string"
"type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"chance": {
"type": "number"
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"duration": {
"type": "integer"
"type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"amplifier": {
"type": "integer"
"type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}
}
}
@@ -161,9 +183,11 @@
"remove_effects": {
"type": "array",
"description": "Can always eat this item? true or false.",
"title": "remove_effects",
"title": "Remove effects",
"items": {
"type": "string"
"type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}
}
}
@@ -173,10 +197,13 @@
"type": "object",
"properties": {
"crop_result": {
"type": "string"
"type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"plant_at": {
"description": "Valid blocks you can plant this item at.",
"title": "UNDOCUMANTED",
"oneOf": [
{
"type": "string",

View File

@@ -32,13 +32,13 @@
"type": "string",
"default": "",
"description": "The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.",
"title": "category"
"title": "Category"
},
"is_experimental": {
"type": "boolean",
"default": false,
"description": "If this item is experimental, it will only be registered if the world is marked as experimental.",
"title": "is experimental"
"title": "Is experimental"
}
}
},
@@ -81,7 +81,8 @@
},
"minecraft:max_damage": {
"type": "integer",
"description": "Max damage item has, this is used like item max health."
"description": "Max damage item has, this is used like item max health.",
"title": "UNDOCUMANTED"
},
"minecraft:hand_equipped": {
"type": "boolean",
@@ -90,24 +91,29 @@
},
"minecraft:stacked_by_data": {
"type": "boolean",
"description": "Stacked by data aux value or not?"
"description": "Stacked by data aux value or not?",
"title": "UNDOCUMANTED"
},
"minecraft:foil": {
"type": "boolean",
"description": "Foil or glint."
"description": "Foil or glint.",
"title": "UNDOCUMANTED"
},
"minecraft:block": {
"type": "string",
"description": "Block name, leave blank for no block."
"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."
"description": "How long to use before item is done being used.",
"title": "UNDOCUMANTED"
},
"minecraft:food": {
"type": "object",
@@ -115,21 +121,25 @@
"properties": {
"nutrition": {
"type": "integer",
"description": "Nutrition amount."
"description": "Nutrition amount.",
"title": "UNDOCUMANTED"
},
"saturation_modifier": {
"type": "string",
"description": "Choose: poor, low, normal, good, max, supernatural.",
"title": "UNDOCUMANTED",
"enum": ["poor", "low", "normal", "good", "max", "supernatural"]
},
"using_converts_to": {
"type": "string",
"description": "After using, item converts it to this item.",
"title": "UNDOCUMANTED",
"$ref": "../../../general/item/identifier.json"
},
"on_use_action": {
"type": "string",
"description": "'chorus_teleport' or 'none'.",
"title": "UNDOCUMANTED",
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
},
"on_use_range": {
@@ -138,33 +148,46 @@
"cooldown_type": {
"type": "string",
"description": "'chorusfruit' or 'none'.",
"title": "UNDOCUMANTED",
"enum": ["chorusfruit", "none"]
},
"cooldown_time": {
"type": "integer",
"description": "Cooldown time in ticks."
"description": "Cooldown time in ticks.",
"title": "UNDOCUMANTED"
},
"can_always_eat": {
"type": "boolean",
"description": "Can always eat this item? true or false."
"description": "Can always eat this item? true or false.",
"title": "UNDOCUMANTED"
},
"effects": {
"type": "array",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED",
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"name": {
"type": "string"
"type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"chance": {
"type": "number"
"type": "number",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"duration": {
"type": "integer"
"type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"amplifier": {
"type": "integer"
"type": "integer",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
}
}
}
@@ -176,10 +199,13 @@
"type": "object",
"properties": {
"crop_result": {
"type": "string"
"type": "string",
"description": "UNDOCUMANTED",
"title": "UNDOCUMANTED"
},
"plant_at": {
"description": "Valid blocks you can plant this item at.",
"title": "UNDOCUMANTED",
"oneOf": [
{
"type": "string",

View File

@@ -10,13 +10,13 @@
"protection": {
"type": "number",
"description": "How much protection does the armor item have.",
"title": "protection"
"title": "Protection"
},
"texture_type": {
"type": "string",
"default": "",
"description": "Texture Type to apply for the armor. Note that Horse armor is restricted to leather, iron, gold, or diamond.",
"title": "texture type"
"title": "Texture type"
}
}
}

View File

@@ -24,7 +24,7 @@
"block": {
"type": "string",
"description": "Set the placement block name for the planter item.",
"title": "protection"
"title": "Protection"
},
"use_on": {
"description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.",

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:display_name",
"title": "display_name",
"title": "Display name",
"description": "Display Name item component. Display Names display the name of an item.",
"type": "object",
"additionalProperties": false,

View File

@@ -9,7 +9,7 @@
"properties": {
"duration": {
"type": "number",
"title": "duration",
"title": "Duration",
"description": "How long in seconds will this fuel cook items for."
}
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:",
"title": "minecraft:throwable",
"title": "Throwable",
"description": "Throwable item component. Throwable items, such as a snowball.",
"type": "object",
"additionalProperties": false,

View File

@@ -15,7 +15,7 @@
"required": ["description"],
"type": "object",
"description": "TODO",
"title": "Minecraft item",
"title": "item",
"properties": {
"description": {
"additionalProperties": false,
@@ -33,20 +33,18 @@
"type": "string",
"default": "",
"description": "The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.",
"title": "category"
"title": "Category"
},
"is_experimental": {
"type": "boolean",
"default": false,
"description": "If this item is experimental, it will only be registered if the world is marked as experimental.",
"title": "is experimental"
"title": "Is experimental"
}
}
},
"components": {
"additionalProperties": {
"type": "object"
},
"additionalProperties": { "type": "object" },
"type": "object",
"description": "The components of this item",
"properties": {

View File

@@ -10,13 +10,13 @@
"protection": {
"type": "number",
"description": "How much protection does the armor item have.",
"title": "protection"
"title": "Protection"
},
"texture_type": {
"type": "string",
"default": "",
"description": "Texture Type to apply for the armor. Note that Horse armor is restricted to leather, iron, gold, or diamond.",
"title": "texture type"
"title": "Texture type"
}
}
}

View File

@@ -24,7 +24,7 @@
"block": {
"type": "string",
"description": "Set the placement block name for the planter item.",
"title": "protection"
"title": "Protection"
},
"use_on": {
"description": "List of block descriptors that contain blocks that this item can be used on. If left empty, all blocks will be allowed.",

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:display_name",
"title": "display_name",
"title": "Display name",
"description": "Display Name item component. Display Names display the name of an item.",
"type": "object",
"additionalProperties": false,

View File

@@ -9,7 +9,7 @@
"properties": {
"duration": {
"type": "number",
"title": "duration",
"title": "Duration",
"description": "How long in seconds will this fuel cook items for."
}
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:",
"title": "minecraft:throwable",
"title": "Throwable",
"description": "Throwable item component. Throwable items, such as a snowball.",
"type": "object",
"additionalProperties": false,

View File

@@ -15,7 +15,7 @@
"required": ["description"],
"type": "object",
"description": "TODO",
"title": "Minecraft item",
"title": "Item",
"properties": {
"description": {
"additionalProperties": false,
@@ -33,20 +33,18 @@
"type": "string",
"default": "",
"description": "The category for this item. Categories are used to control high level properties of how the item is integrated into the bedrock engine, such as whether it can be used in slash commands.",
"title": "category"
"title": "Category"
},
"is_experimental": {
"type": "boolean",
"default": false,
"description": "If this item is experimental, it will only be registered if the world is marked as experimental.",
"title": "is experimental"
"title": "Is experimental"
}
}
},
"components": {
"additionalProperties": {
"type": "object"
},
"additionalProperties": { "type": "object" },
"type": "object",
"description": "The components of this item",
"properties": {