-
Notifications
You must be signed in to change notification settings - Fork 34
blockStateSortKeys
SPGoding edited this page Apr 26, 2020
·
1 revision
🔧 Fixable: violations of this rule can be fixed by Code Actions.
Enforce the values in a block state to be sorted by the keys.
- (
"alphabetically"
): sorted alphabetically, case-insensitively.
{
"blockStateSortKeys": null
}
setblock ~ ~ ~ minecraft:stone_button[face=ceiling,powered=true]
setblock ~ ~ ~ minecraft:stone_button[powered=true,face=ceiling]
{
"blockStateSortKeys": ["warning", "alphabetically"]
}
setblock ~ ~ ~ minecraft:stone_button[face=ceiling,powered=true]
setblock ~ ~ ~ minecraft:stone_button[powered=true,face=ceiling]
This rule was introduced in DHP 2.0.0.