nbtStringQuote - ChenCMD/datapack-helper-plus-JP GitHub Wiki
🔧 Fixable: これは、校閲機能によって使用される校閲ルールです。
文字列の要素に引用符を必要とするかどうか。
- (
false
): 必要なときのみ引用符で囲む。 - (
true
): 常に引用符で囲む。
{
"nbtStringQuote": ["warning", true]
}
summon minecraft:armor_stand ~ ~ ~ {Tags: ["foo"]}
summon minecraft:armor_stand ~ ~ ~ {Tags: ["crazy tag"]}
summon minecraft:armor_stand ~ ~ ~ {Tags: [foo]}
{
"nbtStringQuote": ["warning", false]
}
summon minecraft:armor_stand ~ ~ ~ {Tags: [foo]}
summon minecraft:armor_stand ~ ~ ~ {Tags: ["crazy tag"]}
summon minecraft:armor_stand ~ ~ ~ {Tags: ["foo"]}
{
"nbtStringQuote": null
}
summon minecraft:armor_stand ~ ~ ~ {Tags: [foo]}
summon minecraft:armor_stand ~ ~ ~ {Tags: ["foo"]}
summon minecraft:armor_stand ~ ~ ~ {Tags: ["crazy tag"]}
このルールはDHP 2.0.0で実装されました。