nbtListBracketSpacing - SpyglassMC/Spyglass GitHub Wiki
🎨 Stylistic: this is a stylistic rule used by the formatting feature.
Enforce spacing inside the square brackets of NBT lists.
- (object) Root.
-
inside: (number) the number of spaces inside each bracket. -
zeroValue: (number) Optional. The number of spaces inside each bracket if the NBT list is empty ([]). The same number asinsidewill be used if this is not specified. -
oneValue: (number) Optional. The number of spaces inside each bracket if the NBT list has exact one value. The same number asinsidewill be used if this is not specified.
-
{
"nbtListBracketSpacing": { "inside": 0 }
}summon minecraft:armor_stand ~ ~ ~ {Pos: []}
summon minecraft:armor_stand ~ ~ ~ {Pos: [0.0d, 0.0d, 0.0d]}summon minecraft:armor_stand ~ ~ ~ {Pos: [ ]}
summon minecraft:armor_stand ~ ~ ~ {Pos: [ 0.0d, 0.0d, 0.0d ]}{
"nbtListBracketSpacing": { "inside": 1, "zeroValue": 0 }
}summon minecraft:armor_stand ~ ~ ~ {Pos: []}
summon minecraft:armor_stand ~ ~ ~ {Pos: [ 0.0d, 0.0d, 0.0d ]}summon minecraft:armor_stand ~ ~ ~ {Pos: [ ]}
summon minecraft:armor_stand ~ ~ ~ {Pos: [0.0d, 0.0d, 0.0d]}This rule was introduced in DHP 2.0.0.