Initial Commit
This commit is contained in:
61
resource/items/1.10.0/items.json
Normal file
61
resource/items/1.10.0/items.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.1.10.0.items",
|
||||
"description": "Minecraft items 1.10.0",
|
||||
"required": ["format_version", "minecraft:item"],
|
||||
"title": "Item",
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"type": "string",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"minecraft:item": {
|
||||
"title": "Minecraft item",
|
||||
"description": "TODO",
|
||||
"required": ["description", "components"],
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Description",
|
||||
"description": "TODO",
|
||||
"required": ["identifier"],
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"title": "Identifier",
|
||||
"description": "TODO",
|
||||
"$ref": "../../../general/item/identifier.json"
|
||||
},
|
||||
"category": {
|
||||
"title": "Category",
|
||||
"description": "TODO",
|
||||
"type": "string",
|
||||
"enum": ["Equipment"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"title": "Components",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"minecraft:icon": {
|
||||
"title": "Minecraft icon",
|
||||
"description": "The texture defined in `textures/item_texture.json`",
|
||||
"type": "string"
|
||||
},
|
||||
"minecraft:render_offsets": {
|
||||
"type": "string",
|
||||
"description": "TODO",
|
||||
"title": "Minecraft render offsets",
|
||||
"enum": ["apple"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
14
resource/items/items.json
Normal file
14
resource/items/items.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.items",
|
||||
"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" }
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user