Updated
This commit is contained in:
13
.vscode/schema-validation.json
vendored
13
.vscode/schema-validation.json
vendored
@@ -20,6 +20,19 @@
|
|||||||
"title": {
|
"title": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"pattern": "^([A-Z0-9][a-z0-9\\.]*(| ))*$"
|
"pattern": "^([A-Z0-9][a-z0-9\\.]*(| ))*$"
|
||||||
|
},
|
||||||
|
"defaultSnippets": {
|
||||||
|
"type": "array",
|
||||||
|
"title": "default Snippets",
|
||||||
|
"items": {
|
||||||
|
"type": "object",
|
||||||
|
"required": ["label", "body"],
|
||||||
|
"examples": [{ "label": "example", "body": {} }],
|
||||||
|
"properties": {
|
||||||
|
"label": { "type": "string" },
|
||||||
|
"body": { "type": ["object", "string", "array", "number", "boolean", "integer"] }
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
"title": "Conditional Value",
|
"title": "Conditional Value",
|
||||||
"description": "The object containing the conditional bandwidth optimization values.",
|
"description": "The object containing the conditional bandwidth optimization values.",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"max_dropped_ticks": {
|
"max_dropped_ticks": {
|
||||||
"title": "Maximum Dropped Ticks",
|
"title": "Maximum Dropped Ticks",
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
"description": "Defines the minimum number of riders that need to be riding this entity before this seat can be used"
|
"description": "Defines the minimum number of riders that need to be riding this entity before this seat can be used"
|
||||||
},
|
},
|
||||||
"position": {
|
"position": {
|
||||||
"$ref": "../../../../general/array_3_number.json",
|
"$ref": "../../../../general/vectors/number3.json",
|
||||||
"default": [0.0, 0.0, 0.0],
|
"default": [0.0, 0.0, 0.0],
|
||||||
"description": "Position of this seat relative to this entity's position"
|
"description": "Position of this seat relative to this entity's position"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -87,7 +87,7 @@
|
|||||||
"description": "'chorus_teleport` or `none`.",
|
"description": "'chorus_teleport` or `none`.",
|
||||||
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
|
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
|
||||||
},
|
},
|
||||||
"on_use_range": { "$ref": "../../../general/array_3_number.json" },
|
"on_use_range": { "$ref": "../../../general/vectors/number3.json" },
|
||||||
"cooldown_type": { "type": "string", "description": "'chorusfruit` or `none`.", "enum": ["chorusfruit", "none"] },
|
"cooldown_type": { "type": "string", "description": "'chorusfruit` or `none`.", "enum": ["chorusfruit", "none"] },
|
||||||
"cooldown_time": { "type": "integer", "description": "Cooldown time in ticks." },
|
"cooldown_time": { "type": "integer", "description": "Cooldown time in ticks." },
|
||||||
"can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false." },
|
"can_always_eat": { "type": "boolean", "description": "Can always eat this item? true or false." },
|
||||||
|
|||||||
@@ -101,7 +101,7 @@
|
|||||||
"title": "On Use Action",
|
"title": "On Use Action",
|
||||||
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
|
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
|
||||||
},
|
},
|
||||||
"on_use_range": { "$ref": "../../../general/array_3_number.json", "title": "On Use Range" },
|
"on_use_range": { "$ref": "../../../general/vectors/number3.json", "title": "On Use Range" },
|
||||||
"cooldown_type": {
|
"cooldown_type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "'chorusfruit` or `none`.",
|
"description": "'chorusfruit` or `none`.",
|
||||||
|
|||||||
@@ -111,7 +111,7 @@
|
|||||||
"title": "On Use Action",
|
"title": "On Use Action",
|
||||||
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
|
"enum": ["chorus_teleport", "suspicious_stew_effect", "none"]
|
||||||
},
|
},
|
||||||
"on_use_range": { "$ref": "../../../general/array_3_number.json" },
|
"on_use_range": { "$ref": "../../../general/vectors/number3.json" },
|
||||||
"cooldown_type": {
|
"cooldown_type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "'chorusfruit` or `none`.",
|
"description": "'chorusfruit` or `none`.",
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"$id": "general.array.integer.2",
|
|
||||||
"type": "array",
|
|
||||||
"title": "Array Of 2 Items",
|
|
||||||
"description": "An array of 2 integers",
|
|
||||||
"examples": [[0, 1]],
|
|
||||||
"items": [
|
|
||||||
{ "type": "integer", "description": "An number", "title": "X" },
|
|
||||||
{ "type": "integer", "description": "An number", "title": "Y" }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"$id": "general.array.number.2",
|
|
||||||
"type": "array",
|
|
||||||
"title": "Array Of 2 Items",
|
|
||||||
"description": "An array of 2 numbers",
|
|
||||||
"examples": [[0, 1]],
|
|
||||||
"items": [
|
|
||||||
{ "type": "number", "description": "An number", "title": "X" },
|
|
||||||
{ "type": "number", "description": "An number", "title": "Y" }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"$id": "general.array.integer.3",
|
|
||||||
"type": "array",
|
|
||||||
"title": "Array Of 3 Items",
|
|
||||||
"description": "An array of 3 integers",
|
|
||||||
"examples": [[0, 1, 2]],
|
|
||||||
"items": [
|
|
||||||
{ "type": "integer", "description": "An number", "title": "X" },
|
|
||||||
{ "type": "integer", "description": "An number", "title": "Y" },
|
|
||||||
{ "type": "integer", "description": "An number", "title": "Z" }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"$id": "general.array.number.3",
|
|
||||||
"type": "array",
|
|
||||||
"title": "Array Of 3 Items",
|
|
||||||
"description": "An array of 3 numbers",
|
|
||||||
"examples": [[0, 1, 2]],
|
|
||||||
"items": [
|
|
||||||
{ "type": "number", "description": "An number", "title": "X" },
|
|
||||||
{ "type": "number", "description": "An number", "title": "Y" },
|
|
||||||
{ "type": "number", "description": "An number", "title": "Z" }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
10
source/general/vectors/integer2.json
Normal file
10
source/general/vectors/integer2.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"type": "array",
|
||||||
|
"title": "Vector Of 2 Items",
|
||||||
|
"description": "An vector of 2 integers",
|
||||||
|
"examples": [[0, 0]],
|
||||||
|
"items": [
|
||||||
|
{ "type": "integer", "description": "The X component", "title": "X", "default": 0 },
|
||||||
|
{ "type": "integer", "description": "The Y component", "title": "Y", "default": 0 }
|
||||||
|
]
|
||||||
|
}
|
||||||
11
source/general/vectors/integer3.json
Normal file
11
source/general/vectors/integer3.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"type": "array",
|
||||||
|
"title": "Vector Of 3 Items",
|
||||||
|
"description": "An vector of 3 integers",
|
||||||
|
"examples": [[0, 0, 0]],
|
||||||
|
"items": [
|
||||||
|
{ "type": "integer", "description": "The X component", "title": "X", "default": 0 },
|
||||||
|
{ "type": "integer", "description": "The Y component", "title": "Y", "default": 0 },
|
||||||
|
{ "type": "integer", "description": "The Z component", "title": "Z", "default": 0 }
|
||||||
|
]
|
||||||
|
}
|
||||||
10
source/general/vectors/number2.json
Normal file
10
source/general/vectors/number2.json
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"type": "array",
|
||||||
|
"title": "Vector Of 2 Items",
|
||||||
|
"description": "An vector of 2 number",
|
||||||
|
"examples": [[0, 0]],
|
||||||
|
"items": [
|
||||||
|
{ "type": "number", "description": "The X component", "title": "X", "default": 0 },
|
||||||
|
{ "type": "number", "description": "The Y component", "title": "Y", "default": 0 }
|
||||||
|
]
|
||||||
|
}
|
||||||
11
source/general/vectors/number3.json
Normal file
11
source/general/vectors/number3.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"type": "array",
|
||||||
|
"title": "Vector Of 3 Items",
|
||||||
|
"description": "An vector of 3 number",
|
||||||
|
"examples": [[0.0, 0.0, 0.0]],
|
||||||
|
"items": [
|
||||||
|
{ "type": "number", "description": "The X component", "title": "X", "default": 0 },
|
||||||
|
{ "type": "number", "description": "The Y component", "title": "Y", "default": 0 },
|
||||||
|
{ "type": "number", "description": "The Z component", "title": "Z", "default": 0 }
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user