Skip to content

Commit

Permalink
テンプレートを先取り
Browse files Browse the repository at this point in the history
  • Loading branch information
EllaCoat committed Sep 18, 2024
1 parent fca5d03 commit fae8e2d
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2734,6 +2734,45 @@
}
]
},
{
"label": "Object/トリガー: init",
"generates": [
{
"type": "file",
"rel": "data/asset/functions/object/%namespace%/init/.mcfunction",
"content": [
"#> asset:object/%namespace%/init/",
"#",
"# Objectのinit時の処理",
"#",
"# @within asset:object/alias/%id%/init",
""
]
},
{
"type": "file",
"rel": "data/asset/functions/object/alias/%id%/init.mcfunction",
"content": [
"#> asset:object/alias/%id%/init",
"#",
"# Init処理のエイリアス",
"#",
"# @within asset_manager:object/init/init.m",
"",
"# 元のInit処理を呼び出す",
" function asset:object/%namespace%/init/"
]
}
],
"customQuestion": [
{
"name": "id",
"question": "ObjectのID",
"pattern": "[1-9][0-9]*",
"patternErrorMessage": "数値のみが許されるよ"
}
]
},
{
"label": "Object/テンプレート: 初期化処理",
"generates": [
Expand Down

0 comments on commit fae8e2d

Please sign in to comment.