aboutsummaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/json.code-snippets20
-rw-r--r--.vscode/settings.json16
2 files changed, 36 insertions, 0 deletions
diff --git a/.vscode/json.code-snippets b/.vscode/json.code-snippets
new file mode 100644
index 00000000..cd008738
--- /dev/null
+++ b/.vscode/json.code-snippets
@@ -0,0 +1,20 @@
+{
+ "Player Skull Item": {
+ "body": [
+ "{",
+ " \"itemid\": \"minecraft:skull\",",
+ " \"displayname\": \"$1\",",
+ " \"nbttag\": \"{HideFlags:254,SkullOwner:{Id:\\\"00000000-0000-0000-0000-000000000000\\\",Properties:{textures:[0:{Value:\\\"$2\\\"}]}}}\",",
+ " \"damage\": 3,",
+ " \"lore\": [\"\"],",
+ " \"internalname\": \"$TM_FILENAME_BASE\",",
+ " \"crafttext\": \"\",",
+ " \"clickcommand\": \"\",",
+ " \"modver\": \"2.1.1-PRE\",",
+ " \"infoType\": \"\"",
+ "}"
+ ],
+ "prefix": "playerhead",
+ "description": "Generate a player head with minimal data.\nMake sure to reload through NEU after creation to fix nbttag."
+ }
+} \ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 00000000..9b5ac1e7
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,16 @@
+{
+ "json.schemas": [
+ {
+ "fileMatch": [
+ "/mobs/*.json"
+ ],
+ "url": "http://notenoughupdates.org/schemas/mobs.schema.json"
+ },
+ {
+ "fileMatch": [
+ "/items/*.json"
+ ],
+ "url": "http://notenoughupdates.org/schemas/items.schema.json"
+ }
+ ]
+} \ No newline at end of file