Adding more snippets
This commit is contained in:
@@ -4,5 +4,6 @@
|
||||
"examples": ["namespace:block"],
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
||||
"title": "Block Identifier",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"description": "A minecraft block reference",
|
||||
"examples": ["namespace:block", { "name": "namespace:block" }],
|
||||
"title": "Block Reference",
|
||||
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }],
|
||||
"oneOf": [
|
||||
{ "type": "string", "$ref": "./identifier.json" },
|
||||
{
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
"examples": ["namespace:entity_name"],
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
||||
"title": "Entity Identifier",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
"examples": ["namespace:feature"],
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
||||
"title": "Feature Identifier",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
"examples": ["namespace:fog_name"],
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
||||
"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.",
|
||||
"pattern": "^([1-9]+)\\.([0-9]+)\\.([0-9]+)$",
|
||||
"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",
|
||||
"pattern": "^[0-9a-zA-Z:_\\-\\.]+$",
|
||||
"title": "Item Identifier",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
|
||||
}
|
||||
|
||||
@@ -4,5 +4,6 @@
|
||||
"examples": ["loot_tables/"],
|
||||
"pattern": "^loot_tables/.*\\.json$",
|
||||
"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"],
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
||||
"title": "Particle Identifier",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
|
||||
}
|
||||
|
||||
@@ -13,13 +13,7 @@
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "$ref": "#/definitions/translate" },
|
||||
{ "$ref": "#/definitions/text" },
|
||||
{ "$ref": "#/definitions/selector" },
|
||||
{ "$ref": "#/definitions/score" }
|
||||
]
|
||||
"oneOf": [{ "type": "string" }, { "$ref": "#/definitions/translate" }, { "$ref": "#/definitions/text" }, { "$ref": "#/definitions/selector" }, { "$ref": "#/definitions/score" }]
|
||||
}
|
||||
},
|
||||
"selector": {
|
||||
|
||||
@@ -6,5 +6,6 @@
|
||||
"items": [
|
||||
{ "type": "integer", "description": "The X component", "title": "X", "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 Y component", "title": "Y", "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": [
|
||||
{ "type": "number", "description": "The X component", "title": "X", "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 Y component", "title": "Y", "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"],
|
||||
"pattern": "^[0-9a-zA-Z:_\\.\\-]+$",
|
||||
"title": "Volume Identifier",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"defaultSnippets": [{ "label": "New Identifier", "body": "$1:$2" }]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user