nbtCompoundTrailingComma - ChenCMD/datapack-helper-plus-JP GitHub Wiki
🎨 Stylistic: これは、フォーマッティングで使用されるスタイル規則です。
NBTのCompound内の最後のキーと値のペアの後に末尾のコンマを置くかどうか。
- (boolean)
{
"nbtCompoundTrailingComma": false
}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b, Marker: 1b}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b, Marker: 1b,}
{
"nbtCompoundTrailingComma": true
}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b, Marker: 1b,}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b, Marker: 1b}
このルールはDHP 2.0.0で実装されました。