nbtBoolean - ChenCMD/datapack-helper-plus-JP GitHub Wiki
🔧 Fixable: これは、校閲機能によって使用される校閲ルールです。
boolean型の0b/1bをfalse/trueで表すかどうか。
- (
false): byte値を表す際は常に数字を使用する。 - (
true): boolean型のようなbyte値においては、1bと0bをそれぞれtrueとfalseとして表します。
{
"nbtBoolean": ["warning", false]
}summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b}
summon minecraft:cat ~ ~ ~ {CollarColor: 1b}summon minecraft:armor_stand ~ ~ ~ {Invisible: true}
summon minecraft:cat ~ ~ ~ {CollarColor: true}{
"nbtBoolean": ["warning", true]
}summon minecraft:armor_stand ~ ~ ~ {Invisible: true}
summon minecraft:cat ~ ~ ~ {CollarColor: 1b}summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b}
summon minecraft:cat ~ ~ ~ {CollarColor: true}{
"nbtBoolean": null
}summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b}
summon minecraft:armor_stand ~ ~ ~ {Invisible: true}
summon minecraft:cat ~ ~ ~ {CollarColor: 1b}
summon minecraft:cat ~ ~ ~ {CollarColor: true}このルールはDHP 2.0.0で実装されました。