nbtCompoundColonSpacing - ChenCMD/datapack-helper-plus-JP GitHub Wiki
🎨 Stylistic: これは、フォーマッティングで使用されるスタイル規則です。
NBTのCompoundのコロンの前後に空白を入れる。 Enforce spacing around colons in NBT compounds.
- (object) Root.コロンの前の空白の数
-
before
: (数値)コロンの後の空白の数n. -
after
: (数値) the number of spaces after the colon.
-
{
"nbtCompoundColonSpacing": { "before": 0, "after": 1 }
}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b}
summon minecraft:armor_stand ~ ~ ~ {Invisible:1b}
summon minecraft:armor_stand ~ ~ ~ {Invisible : 1b}
{
"nbtCompoundColonSpacing": { "before": 0, "after": 0 }
}
summon minecraft:armor_stand ~ ~ ~ {Invisible:1b}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b}
summon minecraft:armor_stand ~ ~ ~ {Invisible : 1b}
このルールはDHP 2.0.0で実装されました。