auto: Formatted json files

This commit is contained in:
Blockception Bot
2021-06-06 10:07:19 +00:00
parent 65dc629711
commit 77b8b88cc1
1017 changed files with 36952 additions and 36952 deletions

View File

@@ -1,52 +1,52 @@
{
"$id": "blockception.minecraft.resource.1.10.0.items",
"required": ["format_version", "minecraft:item"],
"title": "Item",
"description": "Minecraft items 1.10.0",
"properties": {
"format_version": {
"title": "Format Version",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"type": "string"
},
"minecraft:item": {
"title": "Item",
"description": "A resource pack definition of an item",
"required": ["description", "components"],
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"title": "Description",
"description": "The description of an item",
"required": ["identifier"],
"type": "object",
"additionalProperties": false,
"properties": {
"identifier": {
"title": "Identifier",
"description": "The item identifier",
"$ref": "../../../general/item/identifier.json",
"examples": ["namespace:example"]
},
"category": { "title": "Category", "description": "The category this item belongs in", "type": "string" }
}
},
"components": {
"title": "Components",
"description": "The components that describe this item",
"additionalProperties": false,
"properties": {
"minecraft:icon": { "title": "Icon", "description": "The texture defined in `textures/item_texture.json`", "type": "string" },
"minecraft:render_offsets": {
"type": "string",
"description": "The render offset used for the item",
"title": "Render Offsets",
"enum": ["apple"]
}
}
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.1.10.0.items",
"required": ["format_version", "minecraft:item"],
"title": "Item",
"description": "Minecraft items 1.10.0",
"properties": {
"format_version": {
"title": "Format Version",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"type": "string"
},
"minecraft:item": {
"title": "Item",
"description": "A resource pack definition of an item",
"required": ["description", "components"],
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"title": "Description",
"description": "The description of an item",
"required": ["identifier"],
"type": "object",
"additionalProperties": false,
"properties": {
"identifier": {
"title": "Identifier",
"description": "The item identifier",
"$ref": "../../../general/item/identifier.json",
"examples": ["namespace:example"]
},
"category": { "title": "Category", "description": "The category this item belongs in", "type": "string" }
}
},
"components": {
"title": "Components",
"description": "The components that describe this item",
"additionalProperties": false,
"properties": {
"minecraft:icon": { "title": "Icon", "description": "The texture defined in `textures/item_texture.json`", "type": "string" },
"minecraft:render_offsets": {
"type": "string",
"description": "The render offset used for the item",
"title": "Render Offsets",
"enum": ["apple"]
}
}
}
}
}
}
}

View File

@@ -1,17 +1,17 @@
{
"$id": "blockception.minecraft.resource.items",
"examples": [
{
"format_version": "1.10.0",
"minecraft:item": {
"description": { "identifier": "blockception:item", "category": "Equipment" },
"components": { "minecraft:icon": "item", "minecraft:render_offsets": "apple" }
}
}
],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/items.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/items.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}
{
"$id": "blockception.minecraft.resource.items",
"examples": [
{
"format_version": "1.10.0",
"minecraft:item": {
"description": { "identifier": "blockception:item", "category": "Equipment" },
"components": { "minecraft:icon": "item", "minecraft:render_offsets": "apple" }
}
}
],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/items.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/items.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}