nbtCompoundCommaSpacing - ChenCMD/datapack-helper-plus-JP GitHub Wiki
🎨 Stylistic: これは、フォーマッティングで使用されるスタイル規則です。
NBTのCompoundのコンマの前後に空白を入れる。設定に関係なく、末尾のコンマの後の空白は常に削除されます。
- (object) Root.
-
before
: (数値) コンマの前の空白の数。 -
after
: (数値) コンマの後の空白の数。
-
{
"nbtCompoundCommaSpacing": { "before": 0, "after": 1 }
}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b, Marker: 1b}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b,Marker: 1b}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b ,Marker: 1b}
{
"nbtCompoundCommaSpacing": { "before": 0, "after": 0 }
}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b,Marker: 1b}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b, Marker: 1b}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b ,Marker: 1b}
このルールはDHP 2.0.0で実装されました。