From fae8e2d188137c6cfa5496f2ab505841e6de1c71 Mon Sep 17 00:00:00 2001 From: EllaCoat Date: Wed, 18 Sep 2024 12:46:51 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=86=E3=83=B3=E3=83=97=E3=83=AC=E3=83=BC?= =?UTF-8?q?=E3=83=88=E3=82=92=E5=85=88=E5=8F=96=E3=82=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 8958f73ef5..323a553349 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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": [