Add snippets (#278)
This commit is contained in:
@@ -1,5 +1,24 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.items",
|
||||
"defaultSnippets": [
|
||||
{
|
||||
"label": "New item",
|
||||
"body": {
|
||||
"format_version": "${1:1.20.41}",
|
||||
"minecraft:item": {
|
||||
"description": {
|
||||
"identifier": "$2:${3:${TM_FILENAME/[\\.].*//}}",
|
||||
"menu_category": {
|
||||
"category": "${4:items}"
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:icon": "$2.${3:${TM_FILENAME/[\\.].*//}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"description": "Minecraft items",
|
||||
"required": ["format_version", "minecraft:item"],
|
||||
"title": "Item",
|
||||
|
||||
Reference in New Issue
Block a user