Add snippets (#278)

This commit is contained in:
Beltsazar
2024-04-29 20:24:55 +07:00
committed by GitHub
parent bd8330c5ad
commit ebac7a0ab1
12 changed files with 193 additions and 3 deletions

View File

@@ -10,5 +10,19 @@
"properties": {
"format_version": { "$ref": "../../general/format_version.json" },
"minecraft:block": { "$ref": "./format/minecraft.block.json" }
}
},
"defaultSnippets": [
{
"label": "New block",
"body": {
"format_version": "${1:1.20.41}",
"minecraft:block": {
"description": {
"identifier": "$2:${3:${TM_FILENAME/[\\.].*//}}"
},
"components": "^{$4}"
}
}
}
]
}