Fix minecraft-data as proper submodule
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
{
|
||||
"title": "attributes",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items" : {
|
||||
"title": "attribute",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"resource": {
|
||||
"description": "The Mojang name of an attribute (usually is generic.[name] or minecraft:generic.[name]",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of an attribute",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
},
|
||||
"min": {
|
||||
"description": "The minimum value of an attribute",
|
||||
"type": "number"
|
||||
},
|
||||
"max": {
|
||||
"description": "The maximum value of an attribute",
|
||||
"type": "number"
|
||||
},
|
||||
"default": {
|
||||
"description": "The default value of an attribute",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": ["resource", "name", "min", "max", "default"],
|
||||
"additionalProperties":false
|
||||
}
|
||||
}
|
||||
@@ -1,124 +0,0 @@
|
||||
{
|
||||
"title": "biomes",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"title": "biome",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "The unique identifier for a biome",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of a biome",
|
||||
"type": "string"
|
||||
},
|
||||
"category": {
|
||||
"description": "The category of a biome",
|
||||
"type": "string"
|
||||
},
|
||||
"temperature": {
|
||||
"description": "An indicator for the temperature in a biome",
|
||||
"type": "number",
|
||||
"minimum": -1,
|
||||
"maximum": 2
|
||||
},
|
||||
"precipitation": {
|
||||
"description": "The type of precipitation: none, rain or snow [before 1.19.4]",
|
||||
"type": "string",
|
||||
"enum": ["none", "rain", "snow"]
|
||||
},
|
||||
"has_precipitation": {
|
||||
"description": "True if a biome has any precipitation (rain or snow) [1.19.4+]",
|
||||
"type": "boolean"
|
||||
},
|
||||
"dimension": {
|
||||
"description": "The dimension of a biome: overworld, nether, end, or the_end (bedrock)",
|
||||
"type": "string"
|
||||
},
|
||||
"displayName": {
|
||||
"description": "The display name of a biome",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
},
|
||||
"color": {
|
||||
"description": "The color in a biome",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"rainfall": {
|
||||
"description": "How much rain there is in a biome [before 1.19.4]",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"depth": {
|
||||
"description": "The depth/height variation of the biome terrain",
|
||||
"type": "number"
|
||||
},
|
||||
"climates": {
|
||||
"description": "Climate data for the biome",
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"temperature": {
|
||||
"description": "Climate temperature value",
|
||||
"type": "number"
|
||||
},
|
||||
"humidity": {
|
||||
"description": "Climate humidity value",
|
||||
"type": "number"
|
||||
},
|
||||
"altitude": {
|
||||
"description": "Climate altitude value",
|
||||
"type": "number"
|
||||
},
|
||||
"weirdness": {
|
||||
"description": "Climate weirdness value",
|
||||
"type": "number"
|
||||
},
|
||||
"offset": {
|
||||
"description": "Climate offset value",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"temperature",
|
||||
"humidity",
|
||||
"altitude",
|
||||
"weirdness",
|
||||
"offset"
|
||||
]
|
||||
}
|
||||
},
|
||||
"name_legacy": {
|
||||
"description": "Legacy name of the biome used in older versions",
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"description": "Parent biome name for variant biomes",
|
||||
"type": "string"
|
||||
},
|
||||
"child": {
|
||||
"description": "Child biome ID for variant biomes",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"name",
|
||||
"category",
|
||||
"temperature",
|
||||
"dimension",
|
||||
"displayName",
|
||||
"color"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
{
|
||||
"title": "blockCollisionShapes",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"blocks",
|
||||
"shapes"
|
||||
],
|
||||
"properties": {
|
||||
"blocks": {
|
||||
"description": "Each block's collision shape id(s).",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "The shape id shared by all block states of this block.",
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
{
|
||||
"description": "The shape ids of each block state of this block.",
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"shapes": {
|
||||
"description": "Collision shapes by id, each shape being composed of a list of collision boxes.",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"description": "The boxes of this shape.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"description": "The min/max x/y/z corner coordinates of this box.",
|
||||
"type": "array",
|
||||
"minItems": 6,
|
||||
"maxItems": 6,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"minimum": -0.25,
|
||||
"maximum": 1.5
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,75 +0,0 @@
|
||||
{
|
||||
"title": "blockLoot",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"title": "blockLootEntry",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"block": {
|
||||
"description": "The name of the block",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
},
|
||||
"states": {
|
||||
"description": "The states of the block (Bedrock Edition)",
|
||||
"type": "object"
|
||||
},
|
||||
"drops": {
|
||||
"description": "The list of item drops",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"title": "blockItemDrop",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"description": "The name of the item being dropped",
|
||||
"type": "string"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "The metadata of the item being dropped (Bedrock Edition)",
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 127
|
||||
},
|
||||
"dropChance": {
|
||||
"description": "The percent chance of the item drop to occur",
|
||||
"type": "number"
|
||||
},
|
||||
"stackSizeRange": {
|
||||
"description": "The min/max of number of items in this item drop stack",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": ["number", "null"]
|
||||
}
|
||||
},
|
||||
"blockAge": {
|
||||
"description": "The required age of the block for the item drop to occur",
|
||||
"type": "number"
|
||||
},
|
||||
"silkTouch": {
|
||||
"description": "If silk touch is required",
|
||||
"type": "boolean"
|
||||
},
|
||||
"noSilkTouch": {
|
||||
"description": "If not having silk touch is required",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"item",
|
||||
"dropChance",
|
||||
"stackSizeRange"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"block",
|
||||
"drops"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "blockMappings",
|
||||
"description": "Maps block names and states between PC and PE (Bedrock) versions.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"description": "A mapping between a PC and PE block.",
|
||||
"properties": {
|
||||
"pc": { "$ref": "#/$defs/blockRef", "description": "PC (Java Edition) block reference." },
|
||||
"pe": { "$ref": "#/$defs/blockRef", "description": "PE (Bedrock Edition) block reference." }
|
||||
},
|
||||
"required": ["pc", "pe"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"$defs": {
|
||||
"blockRef": {
|
||||
"type": "object",
|
||||
"description": "A reference to a block, including its name and states.",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The block's unique name identifier."
|
||||
},
|
||||
"states": {
|
||||
"type": "object",
|
||||
"description": "The block's state properties as key-value pairs."
|
||||
}
|
||||
},
|
||||
"required": ["name", "states"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,222 +0,0 @@
|
||||
{
|
||||
"title": "blocks",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"title": "block",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "The unique identifier for a block",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"displayName": {
|
||||
"description": "The display name of a block",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of a block",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
},
|
||||
"hardness": {
|
||||
"description": "Hardness of a block",
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
],
|
||||
"minimum": -1
|
||||
},
|
||||
"stackSize": {
|
||||
"description": "Stack size for a block",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"diggable": {
|
||||
"description": "true if a block is diggable",
|
||||
"type": "boolean"
|
||||
},
|
||||
"boundingBox": {
|
||||
"description": "BoundingBox of a block",
|
||||
"enum": [
|
||||
"block",
|
||||
"empty"
|
||||
]
|
||||
},
|
||||
"material": {
|
||||
"description": "Material of a block",
|
||||
"type": "string"
|
||||
},
|
||||
"harvestTools": {
|
||||
"description": "Using one of these tools is required to harvest a block, without that you get a 3.33x time penalty.",
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^[0-9]+$": {"type": "boolean"}
|
||||
}
|
||||
},
|
||||
"variations": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"metadata": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"displayName": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"metadata",
|
||||
"displayName"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"states": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "The name of the property",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "The type of the property",
|
||||
"type": "string",
|
||||
"enum": ["enum", "bool", "int", "direction"]
|
||||
},
|
||||
"values": {
|
||||
"description": "The possible values of the property",
|
||||
"type": "array"
|
||||
},
|
||||
"num_values": {
|
||||
"description": "The number of possible values",
|
||||
"type": "number",
|
||||
"minimum": 1
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"type",
|
||||
"num_values"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"drops": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf" : [
|
||||
{
|
||||
"type": ["integer"]
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"minCount": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"description": "minimum number or chance, default : 1"
|
||||
},
|
||||
"maxCount": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"description": "maximum number or chance, default : minCount"
|
||||
},
|
||||
"drop": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": ["integer"]
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"metadata": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"metadata"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"drop"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"transparent": {
|
||||
"description": "true if a block is transparent",
|
||||
"type": "boolean"
|
||||
},
|
||||
"emitLight": {
|
||||
"description": "Light emitted by that block",
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 15
|
||||
},
|
||||
"filterLight": {
|
||||
"description": "Light filtered by that block",
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 15
|
||||
},
|
||||
"minStateId": {
|
||||
"description": "Minimum state id",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"maxStateId": {
|
||||
"description": "Maximum state id",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"defaultState": {
|
||||
"description": "Default state id",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"resistance": {
|
||||
"description": "Blast resistance",
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
],
|
||||
"minimum": -1
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"displayName",
|
||||
"name",
|
||||
"hardness",
|
||||
"stackSize",
|
||||
"diggable",
|
||||
"boundingBox",
|
||||
"drops",
|
||||
"transparent",
|
||||
"emitLight",
|
||||
"filterLight"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@@ -1,140 +0,0 @@
|
||||
{
|
||||
"$id": "https://example.com/person.schema.json",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
|
||||
"definitions": {
|
||||
|
||||
"RootNode" : {
|
||||
"type" : "object",
|
||||
"properties": {
|
||||
"type" : {"enum": ["root"]},
|
||||
"name" : {"type" : "string"},
|
||||
"executable" : {"type" : "boolean"},
|
||||
"redirects" : {
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"type" : "string"
|
||||
}
|
||||
},
|
||||
"children" : {
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"oneOf" : [
|
||||
{"$ref": "#/definitions/LiteralNode"},
|
||||
{"$ref": "#/definitions/ArgumentNode"}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["type","name", "executable","redirects","children"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
|
||||
"LiteralNode" : {
|
||||
"type" : "object",
|
||||
"properties": {
|
||||
"type" : {"enum": ["literal"]},
|
||||
"name" : {"type" : "string"},
|
||||
"executable" : {"type" : "boolean"},
|
||||
"redirects" : {
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"type" : "string"
|
||||
}
|
||||
},
|
||||
"children" : {
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"oneOf" : [
|
||||
{"$ref": "#/definitions/LiteralNode"},
|
||||
{"$ref": "#/definitions/ArgumentNode"}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["type","name", "executable","redirects","children"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
|
||||
"ArgumentNode" : {
|
||||
"type" : "object",
|
||||
"properties": {
|
||||
"type" : {"enum": ["argument"]},
|
||||
"name" : {"type" : "string"},
|
||||
"executable" : {"type" : "boolean"},
|
||||
"redirects" : {
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"type" : "string"
|
||||
}
|
||||
},
|
||||
"children" : {
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"oneOf" : [
|
||||
{"$ref": "#/definitions/LiteralNode"},
|
||||
{"$ref": "#/definitions/ArgumentNode"}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"parser" : {
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
"parser" : {
|
||||
"type" : "string"
|
||||
},
|
||||
"modifier" : {
|
||||
"type" : ["object","null"]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["type","name", "executable","redirects","children"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
|
||||
"ParserInfo" : {
|
||||
"type" : "object",
|
||||
"properties": {
|
||||
|
||||
"parser" : {
|
||||
"type" : "string"
|
||||
},
|
||||
"modifier" : {
|
||||
"type" : ["object", "null"]
|
||||
},
|
||||
"examples" : {
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"type" : "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"required": ["parser","modifier","examples"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
|
||||
|
||||
"type" : "object",
|
||||
"properties": {
|
||||
"root" : {
|
||||
"$ref": "#/definitions/RootNode"
|
||||
},
|
||||
"parsers" : {
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"$ref": "#/definitions/ParserInfo"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["root","parsers"],
|
||||
"additionalProperties": false
|
||||
|
||||
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
{
|
||||
"title": "effects",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items" : {
|
||||
"title": "effect",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "The unique identifier for an effect",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"displayName": {
|
||||
"description": "The display name of an effect",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of an effect",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
},
|
||||
"type": {
|
||||
"description": "Whether an effect is positive or negative",
|
||||
"enum": [ "good","bad" ]
|
||||
}
|
||||
},
|
||||
"required": ["id", "displayName", "type", "name"],
|
||||
"additionalProperties":false
|
||||
}
|
||||
}
|
||||
@@ -1,105 +0,0 @@
|
||||
{
|
||||
"title": "enchantments",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"title": "enchantment",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "The unique identifier for an enchantment",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of an enchantment",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
},
|
||||
"displayName": {
|
||||
"description": "The display name of an enchantment",
|
||||
"type": "string"
|
||||
},
|
||||
"maxLevel": {
|
||||
"description": "The maximum level of an enchantment",
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 5
|
||||
},
|
||||
"minCost": {
|
||||
"description": "Min cost equation's coefficients a * level + b",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"a": {
|
||||
"type": "integer"
|
||||
},
|
||||
"b": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"maxCost": {
|
||||
"description": "Max cost equation's coefficients a * level + b",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"a": {
|
||||
"type": "integer"
|
||||
},
|
||||
"b": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"treasureOnly": {
|
||||
"description": "Can only be found in a treasure, not created",
|
||||
"type": "boolean"
|
||||
},
|
||||
"curse": {
|
||||
"description": "Is a curse, not an enchantment",
|
||||
"type": "boolean"
|
||||
},
|
||||
"exclude": {
|
||||
"description": "List of enchantment not compatibles",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"category": {
|
||||
"description": "The category of enchantable items",
|
||||
"type": "string"
|
||||
},
|
||||
"weight": {
|
||||
"description": "Weight of the rarity of the enchantment",
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 10
|
||||
},
|
||||
"tradeable": {
|
||||
"description": "Can this enchantment be traded",
|
||||
"type": "boolean"
|
||||
},
|
||||
"discoverable": {
|
||||
"description": "Can this enchantment be discovered",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"name",
|
||||
"displayName",
|
||||
"maxLevel",
|
||||
"minCost",
|
||||
"maxCost",
|
||||
"exclude",
|
||||
"category",
|
||||
"weight",
|
||||
"treasureOnly",
|
||||
"curse",
|
||||
"tradeable",
|
||||
"discoverable"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
{
|
||||
"title": "entities",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items" : {
|
||||
"title": "entity",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "The unique identifier for an entity",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"internalId":{
|
||||
"description": "The internal id of an entity : used in eggs metadata for example",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"displayName": {
|
||||
"description": "The display name of an entity",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of an entity",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
},
|
||||
"type": {
|
||||
"description": "The type of an entity",
|
||||
"type": "string"
|
||||
},
|
||||
"width": {
|
||||
"description": "The width of the entity",
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"height": {
|
||||
"description": "The height of the entity",
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"length": {
|
||||
"description": "The length of the entity",
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"offset": {
|
||||
"description": "The offset of the entity",
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"category": {
|
||||
"description": "The category of an entity : a semantic category",
|
||||
"type": "string"
|
||||
},
|
||||
"metadataKeys": {
|
||||
"description": "The pc metadata tags of an entity. (Naming is via mc code, with data_ and id_ prefixes stripped)",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"displayName",
|
||||
"name",
|
||||
"type",
|
||||
"width",
|
||||
"height"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
{
|
||||
"title": "entityLoot",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"title": "entityLootEntry",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"entity": {
|
||||
"description": "The name of the entity",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
},
|
||||
"drops": {
|
||||
"description": "The list of item drops",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"title": "entityItemDrop",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"description": "The name of the item being dropped",
|
||||
"type": "string"
|
||||
},
|
||||
"metadata": {
|
||||
"description": "The metadata of the item being dropped (Bedrock Edition)",
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 127
|
||||
},
|
||||
"dropChance": {
|
||||
"description": "The percent chance of the item drop to occur",
|
||||
"type": "number"
|
||||
},
|
||||
"stackSizeRange": {
|
||||
"description": "The min/max of number of items in this item drop stack",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": ["number", "null"]
|
||||
}
|
||||
},
|
||||
"playerKill": {
|
||||
"description": "If a player killer is required",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"item",
|
||||
"dropChance",
|
||||
"stackSizeRange"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"entity",
|
||||
"drops"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@@ -1,90 +0,0 @@
|
||||
{
|
||||
"title": "features",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"title": "featureEntry",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "The name of the feature",
|
||||
"type": "string",
|
||||
"pattern": ".+"
|
||||
},
|
||||
"description": {
|
||||
"description": "The description of the feature",
|
||||
"type": "string",
|
||||
"pattern": ".+"
|
||||
},
|
||||
"version": {
|
||||
"description": "Single version where this feature applies",
|
||||
"type": "string"
|
||||
},
|
||||
"versions": {
|
||||
"description": "A tuple that describes the range of versions where this feature applies [minVersion, maxVersion]",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"additionalItems": false
|
||||
},
|
||||
"values": {
|
||||
"description": "Version-specific values for features that have different values across versions",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"title": "versionSpecificValue",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
"description": "The value for this feature in the specified versions"
|
||||
},
|
||||
"version": {
|
||||
"description": "Single version where this value applies",
|
||||
"type": "string"
|
||||
},
|
||||
"versions": {
|
||||
"description": "Version range where this value applies [minVersion, maxVersion]",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"additionalItems": false
|
||||
}
|
||||
},
|
||||
"required": ["value"],
|
||||
"oneOf": [
|
||||
{
|
||||
"required": ["version"],
|
||||
"not": {"required": ["versions"]}
|
||||
},
|
||||
{
|
||||
"required": ["versions"],
|
||||
"not": {"required": ["version"]}
|
||||
}
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["name", "description"],
|
||||
"oneOf": [
|
||||
{
|
||||
"required": ["version"],
|
||||
"not": {"anyOf": [{"required": ["versions"]}, {"required": ["values"]}]}
|
||||
},
|
||||
{
|
||||
"required": ["versions"],
|
||||
"not": {"anyOf": [{"required": ["version"]}, {"required": ["values"]}]}
|
||||
},
|
||||
{
|
||||
"required": ["values"],
|
||||
"not": {"anyOf": [{"required": ["version"]}, {"required": ["versions"]}]}
|
||||
}
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
{
|
||||
"title": "foods",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items" : {
|
||||
"title": "food",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "The associated item ID for this food item",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"displayName": {
|
||||
"description": "The display name of an item",
|
||||
"type": "string"
|
||||
},
|
||||
"stackSize": {
|
||||
"description": "Stack size for an item",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of an item",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
},
|
||||
"foodPoints": {
|
||||
"description": "The amount of food points the food item replenishes",
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"saturation":{
|
||||
"description": "The amount of saturation points the food restores (foodPoints * saturationRatio)",
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"effectiveQuality":{
|
||||
"description": "foodPoints + saturation",
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"saturationRatio":{
|
||||
"description": "The 'saturation modifier' in Minecraft code, used to determine how much saturation an item has",
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"variations" : {
|
||||
"type" : "array",
|
||||
"items": {
|
||||
"type" : "object",
|
||||
"properties": {
|
||||
"metadata":{
|
||||
"type":"integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"displayName":{
|
||||
"type":"string"
|
||||
}
|
||||
},
|
||||
"required": ["metadata", "displayName"],
|
||||
"additionalProperties":false
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
"required": ["id", "displayName", "stackSize", "name", "foodPoints", "saturation", "effectiveQuality", "saturationRatio"],
|
||||
"additionalProperties":false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
{
|
||||
"title": "instruments",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items" : {
|
||||
"title": "instrument",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "The unique identifier for an instrument",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of an instrument",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
},
|
||||
"sound": {
|
||||
"description": "The sound ID played by this instrument",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"name"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@@ -1,108 +0,0 @@
|
||||
{
|
||||
"title": "items",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items" : {
|
||||
"title": "item",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "The unique identifier for an item",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"displayName": {
|
||||
"description": "The display name of an item",
|
||||
"type": "string"
|
||||
},
|
||||
"stackSize": {
|
||||
"description": "Stack size for an item",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"enchantCategories" : {
|
||||
"description": "describes categories of enchants this item can use",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"repairWith" : {
|
||||
"description": "describes what items this item can be fixed with in an anvil",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"maxDurability": {
|
||||
"description": "the amount of durability an item has before being damaged/used",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"durability": {
|
||||
"description": "durability value for editions that specify it alongside maxDurability",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"metadata": {
|
||||
"description": "legacy data value used in some editions at the item level",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of an item",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
},
|
||||
"blockStateId": {
|
||||
"description": "Block state id associated with this item in some editions",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"variations" : {
|
||||
"type" : "array",
|
||||
"items": {
|
||||
"type" : "object",
|
||||
"properties": {
|
||||
"metadata":{
|
||||
"type":"integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"displayName":{
|
||||
"type":"string"
|
||||
},
|
||||
"id": {
|
||||
"description": "The unique identifier for a variation (when applicable)",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of a variation (when applicable)",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
},
|
||||
"stackSize": {
|
||||
"description": "Stack size for a variation (when applicable)",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"enchantCategories": {
|
||||
"description": "describes categories of enchants this variation can use",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["metadata", "displayName"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["id", "displayName", "stackSize", "name"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"title": "en_us",
|
||||
"type": "object",
|
||||
"uniqueItems": true,
|
||||
"patternProperties" : {
|
||||
"^[a-zA-Z.:0-9_-]+$": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
{
|
||||
"title": "mapIcons",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"title": "mapIcon",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "The unique identifier for a map icon",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of a map icon",
|
||||
"type": "string"
|
||||
},
|
||||
"appearance": {
|
||||
"description": "Description of the map icon's appearance",
|
||||
"type": "string"
|
||||
},
|
||||
"visibleInItemFrame": {
|
||||
"description": "Visibility in item frames",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": ["id", "name", "visibleInItemFrame"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"title": "materials",
|
||||
"type": "object",
|
||||
"uniqueItems": true,
|
||||
"patternProperties" : {
|
||||
"^[a-z;/_]+$": {
|
||||
"title": "material",
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^[0-9]+$": { "type": "number" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"title": "particles",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"title": "particle",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "The unique identifier for a particle",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of a particle",
|
||||
"type": "string",
|
||||
"pattern": "\\S+"
|
||||
}
|
||||
},
|
||||
"required": ["id", "name"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
{
|
||||
"title": "protocolVersions",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"uniqueItems": true,
|
||||
"properties": {
|
||||
"version": {
|
||||
"description": "The protocol version",
|
||||
"type": "integer"
|
||||
},
|
||||
"dataVersion": {
|
||||
"type": "integer"
|
||||
},
|
||||
"minecraftVersion": {
|
||||
"type": "string",
|
||||
"pattern": "([0-9]+\\.[0-9]+(\\.[0-9]+)?[a-z]?(-pre[0-9]+)?)|([0-9]{2}w[0-9]{2}[a-z])"
|
||||
},
|
||||
"majorVersion": {
|
||||
"type": "string",
|
||||
"pattern": "[0-9]+\\.[0-9]+[a-z]?"
|
||||
},
|
||||
"usesNetty": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"releaseType": {
|
||||
"type": "string",
|
||||
"pattern": "[a-z]+"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"version",
|
||||
"minecraftVersion",
|
||||
"majorVersion"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"title": "entityMetadataItem",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "enum": ["entityMetadataItem"] },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"compareTo":{"$ref": "definitions#/definitions/contextualizedFieldName"}
|
||||
},
|
||||
"required": ["compareTo"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"title": "entityMetadataLoop",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "enum": ["entityMetadataLoop"] },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"endVal": { "type": "number" },
|
||||
"type": {"$ref": "dataType"}
|
||||
},
|
||||
"required": ["endVal", "type"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,151 +0,0 @@
|
||||
{
|
||||
"title": "recipes",
|
||||
"description":"A dictionary of quoted numerical item IDs. Each ID maps to a list of recipes. There may be multiple different recipes per item (same ID and metadata). The recipes may not be sorted.",
|
||||
"definitions": {
|
||||
"id": {
|
||||
"type":["integer","null"],
|
||||
"description":"A single numerical ID or null."
|
||||
},
|
||||
"metadata": {"type":"integer"},
|
||||
"count": {"type":"integer"},
|
||||
"id_metadata_array":{
|
||||
"type":"array",
|
||||
"title":"[id,metadata]",
|
||||
"description":"A list of id and metadata. This is preferred if there are many items at once, e.g. in a shape.",
|
||||
"items":[
|
||||
{"$ref" : "#/definitions/id"},
|
||||
{"$ref" : "#/definitions/metadata"}
|
||||
],
|
||||
"additionalItems": false
|
||||
},
|
||||
"id_metadata_count_object":{
|
||||
"type":"object",
|
||||
"title":"{id:1,metadata:1,count:1}",
|
||||
"description":"A dictionary of at least id, optionally metadata and count. This is preferred if there are not many items at once, e.g. result in a recipe.",
|
||||
"properties":{
|
||||
"id":{"$ref" : "#/definitions/id"},
|
||||
"metadata":{"$ref" : "#/definitions/metadata"},
|
||||
"count":{"$ref" : "#/definitions/count"}
|
||||
},
|
||||
"required": ["id"],
|
||||
"additionalProperties":false
|
||||
},
|
||||
"recipeItem":{
|
||||
"title":"recipe item",
|
||||
"description":"An item can be represented different ways.",
|
||||
"oneOf":[
|
||||
{"$ref": "#/definitions/id"},
|
||||
{"$ref": "#/definitions/id_metadata_array"},
|
||||
{"$ref": "#/definitions/id_metadata_count_object"}
|
||||
]
|
||||
},
|
||||
"shapeRow":{
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"maxItems": 3,
|
||||
"items": {"$ref" : "#/definitions/recipeItem"}
|
||||
},
|
||||
"shape": {
|
||||
"type": "array",
|
||||
"description":"A shape is a list of rows, which are lists of items. There must be at least one row with at least one item in it. All rows must have the same length. Empty rows at the beginning or end of a shape may be omitted. Empty colums at the end may also be omitted. When an item can be crafted in a 2x2 grid, the shape may not be larger than 2x2.",
|
||||
"minItems": 1,
|
||||
"maxItems": 3,
|
||||
"items": {"$ref" : "#/definitions/shapeRow"}
|
||||
},
|
||||
"ingredients": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {"$ref" : "#/definitions/recipeItem"}
|
||||
},
|
||||
"shaped_recipe": {
|
||||
"title":"shaped recipe",
|
||||
"description":"A shaped recipe is a dictionary of result, inShape and optionally outShape",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"result":{"$ref" : "#/definitions/recipeItem"},
|
||||
"inShape":{"$ref" : "#/definitions/shape"},
|
||||
"outShape":{"$ref" : "#/definitions/shape"}
|
||||
},
|
||||
"required":["result","inShape"],
|
||||
"additionalProperties":false
|
||||
},
|
||||
"shapeless_recipe": {
|
||||
"title":"shapeless recipe",
|
||||
"description":"A shapeless recipe is a dictionary of result and ingredients",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"result":{"$ref" : "#/definitions/recipeItem"},
|
||||
"ingredients":{"$ref" : "#/definitions/ingredients"}
|
||||
},
|
||||
"required":["result","ingredients"],
|
||||
"additionalProperties":false
|
||||
},
|
||||
"recipe": {
|
||||
"oneOf":[
|
||||
{"$ref" : "#/definitions/shaped_recipe"},
|
||||
{"$ref" : "#/definitions/shapeless_recipe"}
|
||||
]
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"uniqueItems": true,
|
||||
"patternProperties" : {
|
||||
"^[0-9]+$": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {"$ref" : "#/definitions/recipe"}
|
||||
},
|
||||
{
|
||||
"title":"new recipe",
|
||||
"description":"Bedrock recipe schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"description": "A unique identifier for this item"
|
||||
},
|
||||
"type": {
|
||||
"description": "What type of recipe and block this recipe relates to",
|
||||
"enum": [
|
||||
"multi",
|
||||
"cartography_table",
|
||||
"stonecutter",
|
||||
"crafting_table",
|
||||
"crafting_table_shapeless",
|
||||
"shulker_box",
|
||||
"furnace",
|
||||
"blast_furnace",
|
||||
"smoker",
|
||||
"soul_campfire",
|
||||
"campfire",
|
||||
"smithing_table"
|
||||
]
|
||||
},
|
||||
"ingredients": {
|
||||
"type": "array",
|
||||
"minItems": 1
|
||||
},
|
||||
"input": {
|
||||
"type": "array"
|
||||
},
|
||||
"output": {
|
||||
"type": "array"
|
||||
},
|
||||
"priority": {
|
||||
"type": "number",
|
||||
"description": "Specific to bedrock edition"
|
||||
}
|
||||
},
|
||||
"required": ["name", "type", "ingredients", "output"],
|
||||
"additionalProperties":false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"title": "sounds",
|
||||
"type": "array",
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"title": "sound",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "The unique identifier for a sound",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of a sound",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["id", "name"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
{
|
||||
"title": "tints",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"definitions": {
|
||||
"StringKeyTintEntry": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"keys": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"uniqueItems": true,
|
||||
"items": { "type": "string" }
|
||||
},
|
||||
"color": { "type": "integer" }
|
||||
},
|
||||
"required": ["keys", "color"]
|
||||
},
|
||||
"IntegerKeyTintEntry": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"keys": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"uniqueItems": true,
|
||||
"items": { "type": "integer" }
|
||||
},
|
||||
"color": { "type": "integer" }
|
||||
},
|
||||
"required": ["keys", "color"]
|
||||
},
|
||||
"StringKeyTintGroup": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"uniqueItems": true,
|
||||
"items": { "$ref": "#/definitions/StringKeyTintEntry" }
|
||||
},
|
||||
"default": { "type": "integer" }
|
||||
},
|
||||
"required": ["data"]
|
||||
},
|
||||
"IntegerKeyTintGroup": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"uniqueItems": true,
|
||||
"items": { "$ref": "#/definitions/IntegerKeyTintEntry" }
|
||||
},
|
||||
"default": { "type": "integer" }
|
||||
},
|
||||
"required": ["data"]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"grass": { "$ref": "#/definitions/StringKeyTintGroup" },
|
||||
"foliage": { "$ref": "#/definitions/StringKeyTintGroup" },
|
||||
"water": { "$ref": "#/definitions/StringKeyTintGroup" },
|
||||
"redstone": { "$ref": "#/definitions/IntegerKeyTintGroup" },
|
||||
"constant": { "$ref": "#/definitions/StringKeyTintGroup" }
|
||||
},
|
||||
"required": ["grass", "foliage", "water", "redstone", "constant"]
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
{
|
||||
"title": "version",
|
||||
"type": "object",
|
||||
"uniqueItems": true,
|
||||
"properties": {
|
||||
"version": {
|
||||
"description": "The protocol version",
|
||||
"type": "integer"
|
||||
},
|
||||
"minecraftVersion": {
|
||||
"type": "string",
|
||||
"pattern": "([0-9]+\\.[0-9]+(\\.[0-9]+)?[a-z]?(-pre[0-9]+)?)|([0-9]{2}w[0-9]{2}[a-z])"
|
||||
},
|
||||
"majorVersion": {
|
||||
"type": "string",
|
||||
"pattern": "[0-9]+\\.[0-9]+[a-z]?"
|
||||
},
|
||||
"releaseType": {
|
||||
"type": "string",
|
||||
"pattern": "[a-z]+"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -1,78 +0,0 @@
|
||||
{
|
||||
"title": "windows",
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"title": "window",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "The unique identifier for the window",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "The default displayed name of the window",
|
||||
"type": "string"
|
||||
},
|
||||
"slots": {
|
||||
"description": "The slots displayed in the window",
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"description": "A slot or slot range in the window",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "The name of the slot or slot range",
|
||||
"type": "string"
|
||||
},
|
||||
"index": {
|
||||
"description": "The position of the slot or begin of the slot range",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"size": {
|
||||
"description": "The size of the slot range",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"index"
|
||||
]
|
||||
},
|
||||
"additionalItems":false
|
||||
},
|
||||
"properties": {
|
||||
"description": "Names of the properties of the window",
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"additionalItems":false
|
||||
},
|
||||
"openedWith" : {
|
||||
"type":"array",
|
||||
"items":{
|
||||
"type":"object",
|
||||
"properties":{
|
||||
"type":{"enum":["item","entity","block"]},
|
||||
"id":{"type":"integer"}
|
||||
},
|
||||
"required":["type","id"],
|
||||
"additionalProperties":false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"name"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user