File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ <h3 class="menu-page-title">▼アドオンパックことはじめ</h3>
5151 < ul >
5252 < li > < a href ="./addon-begin.html#resource "> リソースパックのファイル</ a > </ li >
5353 </ ul >
54+ < ul >
55+ < li > < a href ="./addon-begin.html#comment "> コメント記法</ a > </ li >
56+ </ ul >
5457 < ul >
5558 < li > < a href ="./addon-begin.html#last "> おわりに</ a > </ li >
5659 </ ul >
@@ -305,6 +308,31 @@ <h3 class="underline">modules</h3>
305308
306309 </ div > < br />
307310
311+ < a id ="comment "> </ a >
312+ < h2 class ="subtitle "> コメント記法</ h2 >
313+ < div class ="text-block ">
314+ アドオンパック内のJSONファイルでは、以下の黄色の部分のようにスラッシュ2つ("//")を付けてコメント表記が使えます。< br />
315+ < span > JSONファイル内でのコメント表記</ span >
316+ < pre >
317+ < font class ="pre-yellow ">
318+ // 【付与されるエンチャント】
319+ //
320+ // knockback ノックバック レベル1
321+ // sharpness ダメージ増加 レベル2
322+ // looting ドロップ増加 レベル3
323+ </ font >
324+ {
325+ "function": "specific_enchants",
326+ "enchants": [
327+ {"id": "knockback", "level": 1},
328+ {"id": "sharpness", "level": 2},
329+ {"id": "looting" , "level": 3}
330+ ]
331+ }
332+ </ pre > < br />
333+
334+ </ div > < br />
335+
308336 < a id ="last "> </ a >
309337 < h2 class ="subtitle "> おわりに</ h2 >
310338 < div class ="text-block ">
You can’t perform that action at this time.
0 commit comments