nbtFloatSuffix - ChenCMD/datapack-helper-plus-JP GitHub Wiki

ルールの詳細

🎨 Stylistic: これは、フォーマッティングで使用されるスタイル規則です。

float型NBTの接尾辞を指定します。

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

Default

{
    "nbtFloatSuffix": "f"
}

👍 良い例

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

👎 悪い例

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

F

{
    "nbtFloatSuffix": "F"
}

👍 良い例

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

👎 悪い例

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

History

このルールはDHP 2.0.0で実装されました。

⚠️ **GitHub.com Fallback** ⚠️