Adding more snippets
This commit is contained in:
@@ -4,5 +4,6 @@
|
|||||||
"examples": ["namespace:block"],
|
"examples": ["namespace:block"],
|
||||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
||||||
"title": "Block Identifier",
|
"title": "Block Identifier",
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"description": "A minecraft block reference",
|
"description": "A minecraft block reference",
|
||||||
"examples": ["namespace:block", { "name": "namespace:block" }],
|
"examples": ["namespace:block", { "name": "namespace:block" }],
|
||||||
"title": "Block Reference",
|
"title": "Block Reference",
|
||||||
|
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }],
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{ "type": "string", "$ref": "./identifier.json" },
|
{ "type": "string", "$ref": "./identifier.json" },
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,5 +4,6 @@
|
|||||||
"examples": ["namespace:entity_name"],
|
"examples": ["namespace:entity_name"],
|
||||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
||||||
"title": "Entity Identifier",
|
"title": "Entity Identifier",
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,6 @@
|
|||||||
"examples": ["namespace:feature"],
|
"examples": ["namespace:feature"],
|
||||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
||||||
"title": "Feature Identifier",
|
"title": "Feature Identifier",
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,6 @@
|
|||||||
"examples": ["namespace:fog_name"],
|
"examples": ["namespace:fog_name"],
|
||||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
||||||
"title": "Fog Identifier",
|
"title": "Fog Identifier",
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,11 @@
|
|||||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
|
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
|
||||||
"pattern": "^([1-9]+)\\.([0-9]+)\\.([0-9]+)$",
|
"pattern": "^([1-9]+)\\.([0-9]+)\\.([0-9]+)$",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"examples": ["1.17.40", "1.17.30", "1.17.0", "1.16.0", "1.15.0", "1.14.0", "1.13.0", "1.12.0", "1.10.0", "1.8.0"]
|
"examples": ["1.17.40", "1.17.30", "1.17.0", "1.16.0", "1.15.0", "1.14.0", "1.13.0", "1.12.0", "1.10.0", "1.8.0"],
|
||||||
|
"defaultSnippets": [
|
||||||
|
{
|
||||||
|
"label": "New Format version",
|
||||||
|
"body": "1.${1|8,10,12,17,18|}.${2|0|}"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,5 +3,6 @@
|
|||||||
"description": "A minecraft item identifier",
|
"description": "A minecraft item identifier",
|
||||||
"pattern": "^[0-9a-zA-Z:_\\-\\.]+$",
|
"pattern": "^[0-9a-zA-Z:_\\-\\.]+$",
|
||||||
"title": "Item Identifier",
|
"title": "Item Identifier",
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,6 @@
|
|||||||
"examples": ["loot_tables/"],
|
"examples": ["loot_tables/"],
|
||||||
"pattern": "^loot_tables/.*\\.json$",
|
"pattern": "^loot_tables/.*\\.json$",
|
||||||
"title": "Loot Table Identifier",
|
"title": "Loot Table Identifier",
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"defaultSnippets": [{ "label": "New Identifier", "body": "loot_tables/$1.json" }]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,6 @@
|
|||||||
"examples": ["namespace:particle_name"],
|
"examples": ["namespace:particle_name"],
|
||||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
||||||
"title": "Particle Identifier",
|
"title": "Particle Identifier",
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,13 +13,7 @@
|
|||||||
"$comment": "UNDOCUMENTED",
|
"$comment": "UNDOCUMENTED",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"oneOf": [
|
"oneOf": [{ "type": "string" }, { "$ref": "#/definitions/translate" }, { "$ref": "#/definitions/text" }, { "$ref": "#/definitions/selector" }, { "$ref": "#/definitions/score" }]
|
||||||
{ "type": "string" },
|
|
||||||
{ "$ref": "#/definitions/translate" },
|
|
||||||
{ "$ref": "#/definitions/text" },
|
|
||||||
{ "$ref": "#/definitions/selector" },
|
|
||||||
{ "$ref": "#/definitions/score" }
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"selector": {
|
"selector": {
|
||||||
|
|||||||
@@ -6,5 +6,6 @@
|
|||||||
"items": [
|
"items": [
|
||||||
{ "type": "integer", "description": "The X component", "title": "X", "default": 0 },
|
{ "type": "integer", "description": "The X component", "title": "X", "default": 0 },
|
||||||
{ "type": "integer", "description": "The Y component", "title": "Y", "default": 0 }
|
{ "type": "integer", "description": "The Y component", "title": "Y", "default": 0 }
|
||||||
]
|
],
|
||||||
|
"defaultSnippets": [{ "label": "New Array 2", "body": ["^$1", "^$2"] }]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,5 +7,6 @@
|
|||||||
{ "type": "integer", "description": "The X component", "title": "X", "default": 0 },
|
{ "type": "integer", "description": "The X component", "title": "X", "default": 0 },
|
||||||
{ "type": "integer", "description": "The Y component", "title": "Y", "default": 0 },
|
{ "type": "integer", "description": "The Y component", "title": "Y", "default": 0 },
|
||||||
{ "type": "integer", "description": "The Z component", "title": "Z", "default": 0 }
|
{ "type": "integer", "description": "The Z component", "title": "Z", "default": 0 }
|
||||||
]
|
],
|
||||||
|
"defaultSnippets": [{ "label": "New Array 3", "body": ["^$1", "^$2", "^$3"] }]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,5 +6,6 @@
|
|||||||
"items": [
|
"items": [
|
||||||
{ "type": "number", "description": "The X component", "title": "X", "default": 0 },
|
{ "type": "number", "description": "The X component", "title": "X", "default": 0 },
|
||||||
{ "type": "number", "description": "The Y component", "title": "Y", "default": 0 }
|
{ "type": "number", "description": "The Y component", "title": "Y", "default": 0 }
|
||||||
]
|
],
|
||||||
|
"defaultSnippets": [{ "label": "New Array 2", "body": ["^$1", "^$2"] }]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,5 +7,6 @@
|
|||||||
{ "type": "number", "description": "The X component", "title": "X", "default": 0 },
|
{ "type": "number", "description": "The X component", "title": "X", "default": 0 },
|
||||||
{ "type": "number", "description": "The Y component", "title": "Y", "default": 0 },
|
{ "type": "number", "description": "The Y component", "title": "Y", "default": 0 },
|
||||||
{ "type": "number", "description": "The Z component", "title": "Z", "default": 0 }
|
{ "type": "number", "description": "The Z component", "title": "Z", "default": 0 }
|
||||||
]
|
],
|
||||||
|
"defaultSnippets": [{ "label": "New Array 3", "body": ["^$1", "^$2", "^$3"] }]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,5 +4,6 @@
|
|||||||
"examples": ["namespace:volume_name"],
|
"examples": ["namespace:volume_name"],
|
||||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
||||||
"title": "Volume Identifier",
|
"title": "Volume Identifier",
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user