Updated
This commit is contained in:
@@ -6,31 +6,13 @@
|
||||
"title": "TODO",
|
||||
"description": "TODO",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"name": { "type": "string", "description": "TODO description", "title": "TODO Title" },
|
||||
"states": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "\\w*:?\\w+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"propertyNames": { "pattern": "\\w*:?\\w+" },
|
||||
"additionalProperties": { "oneOf": [{ "type": "boolean" }, { "type": "integer" }, { "type": "string" }] },
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,17 +6,7 @@
|
||||
"title": "TODO",
|
||||
"description": "TODO",
|
||||
"properties": {
|
||||
"numerator": {
|
||||
"type": "number",
|
||||
"minimum": 1,
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"denominator": {
|
||||
"type": "number",
|
||||
"minimum": 1,
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
}
|
||||
"numerator": { "type": "number", "minimum": 1, "description": "TODO description", "title": "TODO Title" },
|
||||
"denominator": { "type": "number", "minimum": 1, "description": "TODO description", "title": "TODO Title" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "Version",
|
||||
"type": "array",
|
||||
"title": "Version numbering",
|
||||
"title": "Version Numbering",
|
||||
"description": "A version made of 3 numbers",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
|
||||
@@ -2,13 +2,9 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "general.array.integer.2",
|
||||
"type": "array",
|
||||
"title": "Array of 2 items",
|
||||
"title": "Array Of 2 Items",
|
||||
"description": "An array of 2 integers",
|
||||
"minimum": 2,
|
||||
"maximum": 2,
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"description": "An integer",
|
||||
"title": "TODO title"
|
||||
}
|
||||
"items": { "type": "integer", "description": "An integer", "title": "TODO Title" }
|
||||
}
|
||||
|
||||
@@ -2,13 +2,9 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "general.array.number.2",
|
||||
"type": "array",
|
||||
"title": "Array of 2 items",
|
||||
"title": "Array Of 2 Items",
|
||||
"description": "An array of 2 numbers",
|
||||
"minimum": 2,
|
||||
"maximum": 2,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "An number",
|
||||
"title": "TODO title"
|
||||
}
|
||||
"items": { "type": "number", "description": "An number", "title": "TODO Title" }
|
||||
}
|
||||
|
||||
@@ -2,13 +2,9 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "general.array.integer.3",
|
||||
"type": "array",
|
||||
"title": "Array of 3 items",
|
||||
"title": "Array Of 3 Items",
|
||||
"description": "An array of 3 integers",
|
||||
"minimum": 3,
|
||||
"maximum": 3,
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"description": "An integer",
|
||||
"title": "TODO title"
|
||||
}
|
||||
"items": { "type": "integer", "description": "An integer", "title": "TODO Title" }
|
||||
}
|
||||
|
||||
@@ -2,13 +2,9 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "general.array.number.3",
|
||||
"type": "array",
|
||||
"title": "Array of 3 items",
|
||||
"title": "Array Of 3 Items",
|
||||
"description": "An array of 3 numbers",
|
||||
"minimum": 3,
|
||||
"maximum": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "An number",
|
||||
"title": "TODO title"
|
||||
}
|
||||
"items": { "type": "number", "description": "An number", "title": "TODO Title" }
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.general.1.8.0.biome.item",
|
||||
"type": "string",
|
||||
"title": "Biome name",
|
||||
"title": "Biome Name",
|
||||
"enum": [
|
||||
"animal",
|
||||
"beach",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.block.identifier.1.8.0",
|
||||
"type": "string",
|
||||
"title": "The minecraft block identifier 1.8.0",
|
||||
"title": "Block Identifier 1.8.0",
|
||||
"description": "The minecraft block identifier",
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$"
|
||||
}
|
||||
|
||||
@@ -1,23 +1,15 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "Block definition",
|
||||
"title": "Block ",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"description": "The block id, for example: 'minecraft:air'",
|
||||
"type": "string"
|
||||
},
|
||||
"name": { "title": "Name", "description": "The block id, for example: 'minecraft:air'", "type": "string" },
|
||||
"states": {
|
||||
"title": "States",
|
||||
"description": "The block states",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"title": "State",
|
||||
"description": "A single state of a block",
|
||||
"oneOf": [{ "type": "string" }, { "type": "boolean" }, { "type": "number" }]
|
||||
}
|
||||
"additionalProperties": { "title": "State", "description": "A single state of a block", "oneOf": [{ "type": "string" }, { "type": "boolean" }, { "type": "number" }] }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.general.1.8.0.blocks.item",
|
||||
"type": "string",
|
||||
"title": "Block name",
|
||||
"title": "Block Name",
|
||||
"description": "TODO description"
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.general.1.8.0.blocks.item",
|
||||
"type": "string",
|
||||
"title": "Block name",
|
||||
"title": "Block Name",
|
||||
"description": "TODO description"
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.entity.identifier.1.8.0",
|
||||
"type": "string",
|
||||
"title": "The minecraft entity identifier 1.8.0",
|
||||
"title": "Entity Identifier 1.8.0",
|
||||
"description": "The minecraft entity identifier",
|
||||
"examples": ["namespace:entity_name"],
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.general.1.8.0.entity.damage",
|
||||
"type": "string",
|
||||
"title": "Entity damage name",
|
||||
"title": "Entity Damage Name",
|
||||
"enum": [
|
||||
"all",
|
||||
"anvil",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.fog.identifier",
|
||||
"type": "string",
|
||||
"title": "The minecraft fog identifier",
|
||||
"title": "Fog Identifier",
|
||||
"description": "The minecraft fog identifier",
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$"
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.item.identifier.1.8.0",
|
||||
"type": "string",
|
||||
"title": "The minecraft item identifier 1.8.0",
|
||||
"title": "Item Identifier 1.8.0",
|
||||
"description": "The minecraft item identifier",
|
||||
"pattern": "^[0-9a-zA-Z:_\\-\\.]+$"
|
||||
}
|
||||
|
||||
@@ -2,56 +2,18 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.manifest",
|
||||
"type": "object",
|
||||
"title": "The minecraft manifest schema",
|
||||
"title": "Manifest Schema",
|
||||
"description": "The minecraft manifest schema",
|
||||
"required": ["format_version", "header"],
|
||||
"examples": [
|
||||
{
|
||||
"format_version": 2,
|
||||
"header": {
|
||||
"description": "pack.description",
|
||||
"name": "pack.name",
|
||||
"uuid": "UUID2",
|
||||
"min_engine_version": [1, 16, 0],
|
||||
"version": [1, 0, 0]
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"type": "data",
|
||||
"uuid": "UUID2",
|
||||
"version": [1, 0, 0]
|
||||
}
|
||||
]
|
||||
"header": { "description": "pack.description", "name": "pack.name", "uuid": "UUID2", "min_engine_version": [1, 16, 0], "version": [1, 0, 0] },
|
||||
"modules": [{ "type": "data", "uuid": "UUID2", "version": [1, 0, 0] }]
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"const": 1,
|
||||
"type": "number",
|
||||
"title": "Format Version"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"$ref": "./manifest/manifest.1.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"const": 2,
|
||||
"type": "number",
|
||||
"title": "Format Version"
|
||||
}
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
"$ref": "./manifest/manifest.2.json"
|
||||
}
|
||||
}
|
||||
{ "if": { "properties": { "format_version": { "const": 1, "type": "number", "title": "Format Version" } } }, "then": { "$ref": "./manifest/manifest.1.json" } },
|
||||
{ "if": { "properties": { "format_version": { "const": 2, "type": "number", "title": "Format Version" } } }, "then": { "$ref": "./manifest/manifest.2.json" } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -2,14 +2,11 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.manifest.1",
|
||||
"type": "object",
|
||||
"title": "The minecraft manifest v1 schema",
|
||||
"title": "Manifest V1 Schema",
|
||||
"description": "The manifest file contains all the basic information about the pack that Minecraft needs to identify it. The tables below contain all the components of the manifest, their individual properties, and what they mean.",
|
||||
"additionalProperties": false,
|
||||
"required": ["format_version", "header"],
|
||||
"definitions": {
|
||||
"uuidv4": { "$ref": "../UUIDV4.json" },
|
||||
"version": { "$ref": "../Version.json" }
|
||||
},
|
||||
"definitions": { "uuidv4": { "$ref": "../UUIDV4.json" }, "version": { "$ref": "../Version.json" } },
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"type": "number",
|
||||
@@ -19,12 +16,7 @@
|
||||
"header": {
|
||||
"required": ["description", "name", "uuid", "version"],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"default": 0,
|
||||
"description": "This is the name of the pack as it appears within Minecraft",
|
||||
"title": "Name"
|
||||
},
|
||||
"name": { "type": "string", "default": 0, "description": "This is the name of the pack as it appears within Minecraft", "title": "Name" },
|
||||
"description": {
|
||||
"type": "string",
|
||||
"default": 0,
|
||||
@@ -37,27 +29,15 @@
|
||||
"description": "This is a special type of identifier that uniquely identifies this pack from any other pack. UUIDs are written in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where each x is a hexadecimal value (0-9 or a-f). We recommend using an online service to generate this and guarantee their uniqueness (just bing UUID Generator to find some)",
|
||||
"title": "Uuid"
|
||||
},
|
||||
"version": {
|
||||
"$ref": "#/definitions/version",
|
||||
"description": "This is the version of your pack in the format [majorVersion, minorVersion, revision].",
|
||||
"title": "Version"
|
||||
},
|
||||
"version": { "$ref": "#/definitions/version", "description": "This is the version of your pack in the format [majorVersion, minorVersion, revision].", "title": "Version" },
|
||||
"min_engine_version": {
|
||||
"type": "string",
|
||||
"$ref": "#/definitions/version",
|
||||
"description": "This is the minimum version of the game that this pack was written for. This helps the game identify whether any backwards compatibility is needed for your pack. You should always use the highest version currently available when creating packs",
|
||||
"title": "Min Engine Version"
|
||||
},
|
||||
"lock_template_options": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: lock template options",
|
||||
"title": "Lock Template Options"
|
||||
},
|
||||
"base_game_version": {
|
||||
"$ref": "#/definitions/version",
|
||||
"description": "TODO description: base game version",
|
||||
"title": "Base Game Version"
|
||||
}
|
||||
"lock_template_options": { "type": "boolean", "description": "TODO description: lock template options", "title": "Lock Template Options" },
|
||||
"base_game_version": { "$ref": "#/definitions/version", "description": "TODO description: base game version", "title": "Base Game Version" }
|
||||
},
|
||||
"description": "TODO description: header",
|
||||
"title": "Header"
|
||||
@@ -130,30 +110,14 @@
|
||||
"description": "Allows HTML files in the pack to be used for custom UI, and scripts in the pack to call and manipulate custom UI",
|
||||
"title": "Experimental Custom Ui"
|
||||
},
|
||||
"chemistry": {
|
||||
"type": "boolean",
|
||||
"description": "Allows the pack to add, change or replace Chemistry functionality",
|
||||
"title": "Chemistry"
|
||||
}
|
||||
"chemistry": { "type": "boolean", "description": "Allows the pack to add, change or replace Chemistry functionality", "title": "Chemistry" }
|
||||
},
|
||||
"title": "Capabilities"
|
||||
},
|
||||
"metadata": {
|
||||
"authors": {
|
||||
"type": "string",
|
||||
"description": "Name of the author(s) of the pack",
|
||||
"title": "Authors"
|
||||
},
|
||||
"license": {
|
||||
"type": "string",
|
||||
"description": "The license of the pack",
|
||||
"title": "License"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"description": "The home website of your pack",
|
||||
"title": "Url"
|
||||
},
|
||||
"authors": { "type": "string", "description": "Name of the author(s) of the pack", "title": "Authors" },
|
||||
"license": { "type": "string", "description": "The license of the pack", "title": "License" },
|
||||
"url": { "type": "string", "description": "The home website of your pack", "title": "Url" },
|
||||
"description": "TODO description: metadata",
|
||||
"title": "Metadata"
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.manifest.2",
|
||||
"type": "object",
|
||||
"title": "The minecraft manifest v2 schema",
|
||||
"title": "Manifest V2 Schema",
|
||||
"description": "The manifest file contains all the basic information about the pack that Minecraft needs to identify it. The tables below contain all the components of the manifest, their individual properties, and what they mean.",
|
||||
"required": ["format_version", "header"],
|
||||
"definitions": {
|
||||
@@ -30,16 +30,8 @@
|
||||
"description": "Allows HTML files in the pack to be used for custom UI, and scripts in the pack to call and manipulate custom UI",
|
||||
"title": "Experimental Custom Ui"
|
||||
},
|
||||
"chemistry": {
|
||||
"type": "boolean",
|
||||
"description": "Allows the pack to add, change or replace Chemistry functionality",
|
||||
"title": "Chemistry"
|
||||
},
|
||||
"raytraced": {
|
||||
"type": "boolean",
|
||||
"description": "TODO",
|
||||
"title": "Raytraced"
|
||||
}
|
||||
"chemistry": { "type": "boolean", "description": "Allows the pack to add, change or replace Chemistry functionality", "title": "Chemistry" },
|
||||
"raytraced": { "type": "boolean", "description": "TODO", "title": "Raytraced" }
|
||||
},
|
||||
"title": "Capabilities"
|
||||
},
|
||||
@@ -74,7 +66,7 @@
|
||||
"properties": {
|
||||
"base_game_version": {
|
||||
"$ref": "#/definitions/version",
|
||||
"title": "Base game version",
|
||||
"title": "Base Game Version",
|
||||
"description": "This is the version of the base game your world template requires, specified as [majorVersion, minorVersion, revision]. We use this to determine what version of the base game resource and behavior packs to apply when your content is used."
|
||||
},
|
||||
"description": {
|
||||
@@ -84,30 +76,22 @@
|
||||
"description": "This is a short description of the pack. It will appear in the game below the name of the pack. We recommend keeping it to 1-2 lines."
|
||||
},
|
||||
"lock_template_options": {
|
||||
"title": "Lock template options",
|
||||
"title": "Lock Template Options",
|
||||
"type": "boolean",
|
||||
"description": "This option is required for any world templates. This will lock the player from modifying the options of the world."
|
||||
},
|
||||
"min_engine_version": {
|
||||
"title": "Min engine version",
|
||||
"title": "Min Engine Version",
|
||||
"$ref": "#/definitions/version",
|
||||
"description": "This is the minimum version of the game that this pack was written for. This is a required field for resource and behavior packs. This helps the game identify whether any backwards compatibility is needed for your pack. You should always use the highest version currently available when creating packs"
|
||||
},
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"type": "string",
|
||||
"description": "This is the name of the pack as it appears within Minecraft. This is a required field."
|
||||
},
|
||||
"name": { "title": "Name", "type": "string", "description": "This is the name of the pack as it appears within Minecraft. This is a required field." },
|
||||
"uuid": {
|
||||
"title": "UUID",
|
||||
"$ref": "#/definitions/uuidv4",
|
||||
"description": "This is a special type of identifier that uniquely identifies this pack from any other pack. UUIDs are written in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where each x is a hexadecimal value (0-9 or a-f). We recommend using an online service to generate this and guarantee their uniqueness (just bing UUID Generator to find some)"
|
||||
},
|
||||
"version": {
|
||||
"title": "Version",
|
||||
"$ref": "#/definitions/version",
|
||||
"description": "This is the version of your pack in the format [majorVersion, minorVersion, revision]."
|
||||
}
|
||||
"version": { "title": "Version", "$ref": "#/definitions/version", "description": "This is the version of your pack in the format [majorVersion, minorVersion, revision]." }
|
||||
}
|
||||
},
|
||||
"modules": {
|
||||
@@ -154,23 +138,10 @@
|
||||
"authors": {
|
||||
"type": "array",
|
||||
"description": "Name of the author(s) of the pack",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"title": "Name",
|
||||
"description": "Name of the author of the pack"
|
||||
}
|
||||
"items": { "type": "string", "title": "Name", "description": "Name of the author of the pack" }
|
||||
},
|
||||
"license": {
|
||||
"type": "string",
|
||||
"title": "License",
|
||||
"description": "The license of the pack"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"format": "uri",
|
||||
"title": "Url",
|
||||
"description": "The home website of your pack"
|
||||
}
|
||||
"license": { "type": "string", "title": "License", "description": "The license of the pack" },
|
||||
"url": { "type": "string", "format": "uri", "title": "Url", "description": "The home website of your pack" }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.particle.identifier.1.8.0",
|
||||
"type": "string",
|
||||
"title": "The minecraft particle identifier 1.8.0",
|
||||
"title": "Particle Identifier 1.8.0",
|
||||
"description": "The minecraft particle identifier",
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$"
|
||||
}
|
||||
|
||||
@@ -2,26 +2,15 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.world_x_packs",
|
||||
"type": "array",
|
||||
"title": "The minecraft world x pack schema",
|
||||
"title": "World X Pack Schema",
|
||||
"description": "TODO description",
|
||||
"examples": [[{ "pack_id": "UUID", "version": [1, 0, 0] }]],
|
||||
"definitions": {
|
||||
"uuidv4": { "$ref": "./UUIDV4.json" },
|
||||
"version": { "$ref": "./Version.json" }
|
||||
},
|
||||
"definitions": { "uuidv4": { "$ref": "./UUIDV4.json" }, "version": { "$ref": "./Version.json" } },
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"pack_id": {
|
||||
"description": "The uuid of the pack to include",
|
||||
"$ref": "#/definitions/uuidv4",
|
||||
"title": "Pack Id"
|
||||
},
|
||||
"version": {
|
||||
"description": "The version of the pack",
|
||||
"$ref": "#/definitions/version",
|
||||
"title": "Version"
|
||||
}
|
||||
"pack_id": { "description": "The uuid of the pack to include", "$ref": "#/definitions/uuidv4", "title": "Pack Id" },
|
||||
"version": { "description": "The version of the pack", "$ref": "#/definitions/version", "title": "Version" }
|
||||
},
|
||||
"description": "TODO description: items",
|
||||
"title": "Items"
|
||||
|
||||
Reference in New Issue
Block a user