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

ルールの詳細

⚠️ Diagnostic: これは、校閲機能によって使用される校閲ルールです。

🔧 Fixable: これは、校閲機能によって使用される校閲ルールです。

NBTPathのキーに引用符を必要とするかどうか。

  • (false): 必要なときのみ引用符で囲む。
  • (true): 常に引用符で囲む。

Default

{
    "nbtPathQuote": null
}

👍 良い例

data get entity @s Invisible
data get entity @s "Invisible"
data get entity @s "this is crazy"

False

{
    "nbtPathQuote": ["warning", false]
}

👍 良い例

data get entity @s Invisible
data get entity @s "this is crazy"

👎 悪い例

data get entity @s "Invisible"

True

{
    "nbtPathQuote": ["warning", true]
}

👍 良い例

data get entity @s "Invisible"
data get entity @s "this is crazy"

👎 悪い例

data get entity @s Invisible

History

This rule was introduced in DHP 2.0.0.

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