Skip to content

nbtDoubleSuffix

SPGoding edited this page Apr 26, 2020 · 1 revision

Rule Details

🎨 Stylistic: this is a stylistic rule used by the formatting feature.

Enforce the suffix of NBT double tags.

  • ("d")
  • ("D")

Examples

Default

{
    "nbtDoubleSuffix": "d"
}

👍 Good

summon minecraft:arrow ~ ~ ~ {damage: 2.0d}

👎 Bad

summon minecraft:arrow ~ ~ ~ {damage: 2.0D}

D

{
    "nbtDoubleSuffix": "D"
}

👍 Good

summon minecraft:arrow ~ ~ ~ {damage: 2.0D}

👎 Bad

summon minecraft:arrow ~ ~ ~ {damage: 2.0d}

History

This rule was introduced in DHP 2.0.0.

Clone this wiki locally