-
Notifications
You must be signed in to change notification settings - Fork 34
nbtListCommaSpacing
SPGoding edited this page Apr 26, 2020
·
1 revision
🎨 Stylistic: this is a stylistic rule used by the formatting feature.
Enforce spacing around commas in NBT lists. No matter what the settings are, spaces after trailing commas are always removed.
- (object) Root.
-
before
: (number) the number of spaces before the comma. -
after
: (number) the number of spaces after the comma.
-
{
"nbtListCommaSpacing": { "before": 0, "after": 1 }
}
summon minecraft:armor_stand ~ ~ ~ {Pos: [0.0d, 0.0d, 0.0d]}
summon minecraft:armor_stand ~ ~ ~ {Pos: [0.0d,0.0d,0.0d]}
summon minecraft:armor_stand ~ ~ ~ {Pos: [0.0d ,0.0d ,0.0d]}
{
"nbtListCommaSpacing": { "before": 0, "after": 0 }
}
summon minecraft:armor_stand ~ ~ ~ {Pos: [0.0d,0.0d,0.0d]}
summon minecraft:armor_stand ~ ~ ~ {Pos: [0.0d, 0.0d, 0.0d]}
summon minecraft:armor_stand ~ ~ ~ {Pos: [0.0d ,0.0d ,0.0d]}
This rule was introduced in DHP 2.0.0.