-
Notifications
You must be signed in to change notification settings - Fork 32
selectorEqualSpacing
SPGoding edited this page Apr 26, 2020
·
1 revision
🎨 Stylistic: this is a stylistic rule used by the formatting feature.
Enforce spacing around equal signs in entity selectors.
- (object) Root.
-
before
: (number) the number of spaces before the equal sign. -
after
: (number) the number of spaces after the equal sign.
-
{
"selectorEqualSpacing": { "before": 0, "after": 0 }
}
kill @e[type=!minecraft:player]
kill @e[type= !minecraft:player]
kill @e[type = !minecraft:player]
{
"selectorEqualSpacing": { "before": 1, "after": 1 }
}
kill @e[type = !minecraft:player]
kill @e[type=!minecraft:player]
kill @e[type= !minecraft:player]
This rule was introduced in DHP 2.0.0.