Moved to source folder
This commit is contained in:
36
source/general/1.10.0/block_reference.json
Normal file
36
source/general/1.10.0/block_reference.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.general.1.14.0.block_reference",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "TODO",
|
||||
"description": "TODO",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"states": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "\\w*:?\\w+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
}
|
||||
}
|
||||
}
|
||||
22
source/general/1.14.0/chance_information.json
Normal file
22
source/general/1.14.0/chance_information.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.general.1.14.0.chance_information",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
9
source/general/UUIDV4.json
Normal file
9
source/general/UUIDV4.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "UUIDV4",
|
||||
"type": "string",
|
||||
"title": "A UUID V4",
|
||||
"description": "A valid uuid v4",
|
||||
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
||||
"format": "uuid"
|
||||
}
|
||||
14
source/general/Version.json
Normal file
14
source/general/Version.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "Version",
|
||||
"type": "array",
|
||||
"title": "Version numbering",
|
||||
"description": "A version made of 3 numbers",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": [
|
||||
{ "type": "number", "minimum": 1 },
|
||||
{ "type": "number", "minimum": 0 },
|
||||
{ "type": "number", "minimum": 0 }
|
||||
]
|
||||
}
|
||||
14
source/general/array_2_integer.json
Normal file
14
source/general/array_2_integer.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "general.array.integer.2",
|
||||
"type": "array",
|
||||
"title": "Array of 2 items",
|
||||
"description": "An array of 2 integers",
|
||||
"minimum": 2,
|
||||
"maximum": 2,
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"description": "An integer",
|
||||
"title": "TODO title"
|
||||
}
|
||||
}
|
||||
14
source/general/array_2_number.json
Normal file
14
source/general/array_2_number.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "general.array.number.2",
|
||||
"type": "array",
|
||||
"title": "Array of 2 items",
|
||||
"description": "An array of 2 numbers",
|
||||
"minimum": 2,
|
||||
"maximum": 2,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "An number",
|
||||
"title": "TODO title"
|
||||
}
|
||||
}
|
||||
14
source/general/array_3_integer.json
Normal file
14
source/general/array_3_integer.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "general.array.integer.3",
|
||||
"type": "array",
|
||||
"title": "Array of 3 items",
|
||||
"description": "An array of 3 integers",
|
||||
"minimum": 3,
|
||||
"maximum": 3,
|
||||
"items": {
|
||||
"type": "integer",
|
||||
"description": "An integer",
|
||||
"title": "TODO title"
|
||||
}
|
||||
}
|
||||
14
source/general/array_3_number.json
Normal file
14
source/general/array_3_number.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "general.array.number.3",
|
||||
"type": "array",
|
||||
"title": "Array of 3 items",
|
||||
"description": "An array of 3 numbers",
|
||||
"minimum": 3,
|
||||
"maximum": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "An number",
|
||||
"title": "TODO title"
|
||||
}
|
||||
}
|
||||
46
source/general/biome_item.json
Normal file
46
source/general/biome_item.json
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.general.1.8.0.biome.item",
|
||||
"type": "string",
|
||||
"title": "Biome name",
|
||||
"enum": [
|
||||
"animal",
|
||||
"beach",
|
||||
"birch",
|
||||
"cold",
|
||||
"dark_oak",
|
||||
"deep",
|
||||
"desert",
|
||||
"edge",
|
||||
"extreme_hills",
|
||||
"flower_forest",
|
||||
"forest",
|
||||
"frozen",
|
||||
"hills",
|
||||
"ice",
|
||||
"ice_plains",
|
||||
"jungle",
|
||||
"lakes",
|
||||
"lukewarm",
|
||||
"mega",
|
||||
"mesa",
|
||||
"monster",
|
||||
"mooshroom_island",
|
||||
"mountain",
|
||||
"mutated",
|
||||
"nether",
|
||||
"ocean",
|
||||
"plains",
|
||||
"plateau",
|
||||
"river",
|
||||
"roofed",
|
||||
"savanna",
|
||||
"shore",
|
||||
"stone",
|
||||
"swamp",
|
||||
"taiga",
|
||||
"the_end",
|
||||
"warm"
|
||||
],
|
||||
"description": "TODO description"
|
||||
}
|
||||
8
source/general/block/identifier.json
Normal file
8
source/general/block/identifier.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$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",
|
||||
"description": "The minecraft block identifier",
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$"
|
||||
}
|
||||
23
source/general/block_definition.json
Normal file
23
source/general/block_definition.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "Block definition",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"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" }]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
7
source/general/blocks_identifiers.json
Normal file
7
source/general/blocks_identifiers.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.general.1.8.0.blocks.item",
|
||||
"type": "string",
|
||||
"title": "Block name",
|
||||
"description": "TODO description"
|
||||
}
|
||||
7
source/general/blocks_item.json
Normal file
7
source/general/blocks_item.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.general.1.8.0.blocks.item",
|
||||
"type": "string",
|
||||
"title": "Block name",
|
||||
"description": "TODO description"
|
||||
}
|
||||
8
source/general/entity/identifier.json
Normal file
8
source/general/entity/identifier.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$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",
|
||||
"description": "The minecraft entity identifier",
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$"
|
||||
}
|
||||
38
source/general/entity_damage.json
Normal file
38
source/general/entity_damage.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.general.1.8.0.entity.damage",
|
||||
"type": "string",
|
||||
"title": "Entity damage name",
|
||||
"enum": [
|
||||
"all",
|
||||
"anvil",
|
||||
"block_explosion",
|
||||
"charging",
|
||||
"contact",
|
||||
"drowning",
|
||||
"entity_attack",
|
||||
"entity_explosion",
|
||||
"fall",
|
||||
"falling_block",
|
||||
"fire",
|
||||
"fire_tick",
|
||||
"fireworks",
|
||||
"fly_into_wall",
|
||||
"lava",
|
||||
"lightning",
|
||||
"magic",
|
||||
"magma",
|
||||
"none",
|
||||
"override",
|
||||
"piston",
|
||||
"projectile",
|
||||
"starve",
|
||||
"suffocation",
|
||||
"suicide",
|
||||
"temperature",
|
||||
"thorns",
|
||||
"void",
|
||||
"wither"
|
||||
],
|
||||
"description": "TODO description"
|
||||
}
|
||||
8
source/general/fog/identifier.json
Normal file
8
source/general/fog/identifier.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.fog.identifier",
|
||||
"type": "string",
|
||||
"title": "The minecraft fog identifier",
|
||||
"description": "The minecraft fog identifier",
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$"
|
||||
}
|
||||
8
source/general/item/identifier.json
Normal file
8
source/general/item/identifier.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$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",
|
||||
"description": "The minecraft item identifier",
|
||||
"pattern": "^[0-9a-zA-Z:_\\-\\.]+$"
|
||||
}
|
||||
57
source/general/manifest.json
Normal file
57
source/general/manifest.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.manifest",
|
||||
"type": "object",
|
||||
"title": "The minecraft 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]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
161
source/general/manifest/manifest.1.json
Normal file
161
source/general/manifest/manifest.1.json
Normal file
@@ -0,0 +1,161 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.manifest.1",
|
||||
"type": "object",
|
||||
"title": "The minecraft 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" }
|
||||
},
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"type": "number",
|
||||
"description": "This defines the current version of the manifest. Don't change this unless you have a good reason to",
|
||||
"title": "Format Version"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"default": 0,
|
||||
"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.",
|
||||
"title": "Description"
|
||||
},
|
||||
"uuid": {
|
||||
"type": "string",
|
||||
"$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)",
|
||||
"title": "Uuid"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: header",
|
||||
"title": "Header"
|
||||
},
|
||||
"modules": {
|
||||
"type": "array",
|
||||
"title": "Modules",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": ["type", "uuid", "version"],
|
||||
"properties": {
|
||||
"type": {
|
||||
"description": "This is the type of the module. Can be any of the following: resources, data, client_data, interface, world_template",
|
||||
"type": "string",
|
||||
"enum": ["resources", "data", "client_data", "interface", "world_template"],
|
||||
"title": "Type"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "This is a short description of the module. This is not user-facing at the moment but is a good place to remind yourself why the module is defined",
|
||||
"title": "Description"
|
||||
},
|
||||
"uuid": {
|
||||
"$ref": "#/definitions/uuidv4",
|
||||
"description": "This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module",
|
||||
"title": "Uuid"
|
||||
},
|
||||
"version": {
|
||||
"$ref": "#/definitions/version",
|
||||
"description": "This is the version of the module in the same format as the pack's version in the header. This can be used to further identify changes in your pack",
|
||||
"title": "Version"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: modules",
|
||||
"title": "Modules"
|
||||
},
|
||||
"description": "TODO description: modules"
|
||||
},
|
||||
"dependencies": {
|
||||
"type": "array",
|
||||
"description": "These are the different features that the pack makes use of that aren't necessarily enabled by default.",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"uuid": {
|
||||
"type": "string",
|
||||
"$ref": "#/definitions/uuidv4",
|
||||
"description": "This is the unique identifier of the pack that this pack depends on. It needs to be the exact same UUID that the pack has defined in the header section of it's manifest file",
|
||||
"title": "Uuid"
|
||||
},
|
||||
"version": {
|
||||
"$ref": "#/definitions/version",
|
||||
"description": "This is the specific version of the pack that your pack depends on. Should match the version the other pack has in its manifest file",
|
||||
"title": "Version"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: dependencies",
|
||||
"title": "Dependencies"
|
||||
},
|
||||
"title": "Dependencies"
|
||||
},
|
||||
"capabilities": {
|
||||
"type": "array",
|
||||
"description": "These are the different features that the pack makes use of that aren't necessarily enabled by default.",
|
||||
"properties": {
|
||||
"experimental_custom_ui": {
|
||||
"type": "boolean",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"description": "TODO description: metadata",
|
||||
"title": "Metadata"
|
||||
}
|
||||
}
|
||||
}
|
||||
178
source/general/manifest/manifest.2.json
Normal file
178
source/general/manifest/manifest.2.json
Normal file
@@ -0,0 +1,178 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.manifest.2",
|
||||
"type": "object",
|
||||
"title": "The minecraft 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": {
|
||||
"uuidv4": {
|
||||
"type": "string",
|
||||
"title": "A UUID V4",
|
||||
"description": "A valid uuid v4",
|
||||
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
||||
"format": "uuid"
|
||||
},
|
||||
"version": { "$ref": "../Version.json" }
|
||||
},
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"type": "number",
|
||||
"description": "This defines the current version of the manifest. Don't change this unless you have a good reason to",
|
||||
"title": "Format Version"
|
||||
},
|
||||
"capabilities": {
|
||||
"type": "array",
|
||||
"description": "These are the different features that the pack makes use of that aren't necessarily enabled by default.",
|
||||
"properties": {
|
||||
"experimental_custom_ui": {
|
||||
"type": "boolean",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"title": "Capabilities"
|
||||
},
|
||||
"dependencies": {
|
||||
"type": "array",
|
||||
"description": "These are the different features that the pack makes use of that aren't necessarily enabled by default.",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"uuid": {
|
||||
"type": "string",
|
||||
"$ref": "#/definitions/uuidv4",
|
||||
"description": "This is the unique identifier of the pack that this pack depends on. It needs to be the exact same UUID that the pack has defined in the header section of it's manifest file",
|
||||
"title": "Uuid"
|
||||
},
|
||||
"version": {
|
||||
"$ref": "#/definitions/version",
|
||||
"description": "This is the specific version of the pack that your pack depends on. Should match the version the other pack has in its manifest file",
|
||||
"title": "Version"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: dependencies",
|
||||
"title": "Dependencies"
|
||||
},
|
||||
"title": "Dependencies"
|
||||
},
|
||||
"header": {
|
||||
"description": "This is the heading of the manifest and is required for the manifest to be valid.",
|
||||
"title": "Header",
|
||||
"required": ["description", "name", "uuid", "version"],
|
||||
"properties": {
|
||||
"base_game_version": {
|
||||
"$ref": "#/definitions/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": {
|
||||
"title": "Description",
|
||||
"type": "string",
|
||||
"default": 0,
|
||||
"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",
|
||||
"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",
|
||||
"$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."
|
||||
},
|
||||
"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]."
|
||||
}
|
||||
}
|
||||
},
|
||||
"modules": {
|
||||
"type": "array",
|
||||
"title": "Modules",
|
||||
"description": "This section describes the modules that comprise the pack. Each entry here defines one of the kinds of contents of the pack.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "This section describes the modules that comprise the pack. Each entry here defines one of the kinds of contents of the pack.",
|
||||
"title": "Module",
|
||||
"required": ["type", "uuid", "version"],
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "This is a short description of the module. This is not user-facing at the moment but is a good place to remind yourself why the module is defined",
|
||||
"title": "Description"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": ["resources", "data", "client_data", "interface", "world_template" ],
|
||||
"description": "This is the type of the module. Can be any of the following: resources, data, client_data, interface, world_template",
|
||||
"title": "Type"
|
||||
},
|
||||
"uuid": {
|
||||
"$ref": "#/definitions/uuidv4",
|
||||
"description": "This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module",
|
||||
"title": "Uuid"
|
||||
},
|
||||
"version": {
|
||||
"$ref": "#/definitions/version",
|
||||
"description": "This is the version of your pack in the format [majorVersion, minorVersion, revision]. The version number is used when importing a pack that has been imported before. The new pack will replace the old one if the version is higher, and ignored if it's the same or lower",
|
||||
"title": "Version"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "This section contains additional data about your pack and is otherwise optional.",
|
||||
"title": "Metadata",
|
||||
"properties": {
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
8
source/general/particle/identifier.json
Normal file
8
source/general/particle/identifier.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$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",
|
||||
"description": "The minecraft particle identifier",
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$"
|
||||
}
|
||||
29
source/general/world_x_packs.json
Normal file
29
source/general/world_x_packs.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.world_x_packs",
|
||||
"type": "array",
|
||||
"title": "The minecraft world x pack schema",
|
||||
"description": "TODO description",
|
||||
"examples": [[{ "pack_id": "UUID", "version": [1, 0, 0] }]],
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: items",
|
||||
"title": "Items"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user