nbtListTrailingComma - ChenCMD/datapack-helper-plus-JP GitHub Wiki

ルールの詳細

🎨 Stylistic: これは、フォーマッティングで使用されるスタイル規則です。

NBTリストの最後の数値の末尾のコンマを付けるかどうか。

  • (boolean)

Default

{
    "nbtListTrailingComma": false
}

👍 良い例

summon minecraft:armor_stand ~ ~ ~ {Pos: [0.0d, 0.0d, 0.0d]}

👎 悪い例

summon minecraft:armor_stand ~ ~ ~ {Pos: [0.0d, 0.0d, 0.0d,]}

True

{
    "nbtListTrailingComma": true
}

👍 良い例

summon minecraft:armor_stand ~ ~ ~ {Pos: [0.0d, 0.0d, 0.0d,]}

👎 悪い例

summon minecraft:armor_stand ~ ~ ~ {Pos: [0.0d, 0.0d, 0.0d]}

History

このルールはDHP 2.0.0で実装されました。

⚠️ **GitHub.com Fallback** ⚠️