Add snippets (#278)
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user