nbtDoubleOmitSuffix - SpyglassMC/Spyglass GitHub Wiki
🎨 Stylistic: this is a stylistic rule used by the formatting feature.
Whether or not to omit the suffix of NBT double numbers if possible.
- (boolean)
{
"nbtDoubleOmitSuffix": false
}
summon minecraft:arrow ~ ~ ~ {damage: 2.0d}
summon minecraft:arrow ~ ~ ~ {damage: 2.0}
{
"nbtDoubleOmitSuffix": true
}
summon minecraft:arrow ~ ~ ~ {damage: 2.0}
summon minecraft:arrow ~ ~ ~ {damage: 2.0d}
This rule was introduced in DHP 2.0.0.