blockStateTrailingComma - SpyglassMC/Spyglass GitHub Wiki
🎨 Stylistic: this is a stylistic rule used by the formatting feature.
Whether there should be a trailing comma after the last key-value pair in block states or not.
- (boolean)
{
"blockStateTrailingComma": false
}setblock ~ ~ ~ minecraft:stone_button[]
setblock ~ ~ ~ minecraft:stone_button[face=ceiling]setblock ~ ~ ~ minecraft:stone_button[face=ceiling,]{
"blockStateTrailingComma": true
}setblock ~ ~ ~ minecraft:stone_button[]
setblock ~ ~ ~ minecraft:stone_button[face=ceiling,]setblock ~ ~ ~ minecraft:stone_button[face=ceiling]This rule was introduced in DHP 2.0.0.