-
Notifications
You must be signed in to change notification settings - Fork 34
nbtCompoundBracketSpacing
SPGoding edited this page Apr 26, 2020
·
1 revision
🎨 Stylistic: this is a stylistic rule used by the formatting feature.
Enforce spacing inside the curly brackets of NBT compounds.
- (object) Root.
-
inside
: (number) the number of spaces inside each bracket. -
zeroValue
: (number) Optional. The number of spaces inside each bracket if the NBT compound is empty ({}
). The same number asinside
will be used if this is not specified. -
oneValue
: (number) Optional. The number of spaces inside each bracket if the NBT compound has exact one value. The same number asinside
will be used if this is not specified.
-
{
"nbtCompoundBracketSpacing": { "inside": 0 }
}
summon minecraft:armor_stand ~ ~ ~ {}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b}
summon minecraft:armor_stand ~ ~ ~ { }
summon minecraft:armor_stand ~ ~ ~ { Invisible: 1b }
{
"nbtCompoundBracketSpacing": { "inside": 1, "zeroValue": 0 }
}
summon minecraft:armor_stand ~ ~ ~ {}
summon minecraft:armor_stand ~ ~ ~ { Invisible: 1b }
summon minecraft:armor_stand ~ ~ ~ { }
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b}
This rule was introduced in DHP 2.0.0.