Skip to content

nbtFloatSuffix

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 float tags.

  • ("f")
  • ("F")

Examples

Default

{
    "nbtFloatSuffix": "f"
}

👍 Good

summon minecraft:armor_stand ~ ~ ~ {FallDistance: 2.0f}

👎 Bad

summon minecraft:armor_stand ~ ~ ~ {FallDistance: 2.0F}

F

{
    "nbtFloatSuffix": "F"
}

👍 Good

summon minecraft:armor_stand ~ ~ ~ {FallDistance: 2.0F}

👎 Bad

summon minecraft:armor_stand ~ ~ ~ {FallDistance: 2.0f}

History

This rule was introduced in DHP 2.0.0.

Clone this wiki locally