idOmitDefaultNamespace - ChenCMD/datapack-helper-plus-JP GitHub Wiki
🔧 Fixable: このルール違反はコードアクションによって修正可能です。
名前空間のデフォルト名前空間を省略するかどうか。設定に関係なくnbtセレクター引数や、execute if data等の名前空間は常に保持される必要があります。
- (boolean型)
{
"idOmitDefaultNamespace": null
}summon armor_stand ~ ~ ~ {ArmorItems: [{Count: 1b, id: "stone"}, {}]}
summon minecraft:armor_stand ~ ~ ~ {ArmorItems: [{Count: 1b, id: "minecraft:stone"}, {}]}
kill @e[type=armor_stand,nbt={ArmorItems: [{Count: 1b, id: "minecraft:stone"}, {}]}]
kill @e[type=minecraft:armor_stand,nbt={ArmorItems: [{Count: 1b, id: "minecraft:stone"}, {}]}]kill @e[nbt={ArmorItems: [{Count: 1b, id: "stone"}, {}]}]{
"idOmitDefaultNamespace": ["warning", true]
}summon armor_stand ~ ~ ~ {ArmorItems: [{Count: 1b, id: "stone"}, {}]}
kill @e[type=armor_stand,nbt={ArmorItems: [{Count: 1b, id: "minecraft:stone"}, {}]}]summon minecraft:armor_stand ~ ~ ~ {ArmorItems: [{Count: 1b, id: "minecraft:stone"}, {}]}
kill @e[type=minecraft:armor_stand,nbt={ArmorItems: [{Count: 1b, id: "minecraft:stone"}, {}]}]
kill @e[type=armor_stand,nbt={ArmorItems: [{Count: 1b, id: "stone"}, {}]}]{
"idOmitDefaultNamespace": ["warning", false]
}summon minecraft:armor_stand ~ ~ ~ {ArmorItems: [{Count: 1b, id: "minecraft:stone"}, {}]}
kill @e[type=minecraft:armor_stand,nbt={ArmorItems: [{Count: 1b, id: "minecraft:stone"}, {}]}]summon armor_stand ~ ~ ~ {ArmorItems: [{Count: 1b, id: "stone"}, {}]}
kill @e[type=armor_stand,nbt={ArmorItems: [{Count: 1b, id: "stone"}, {}]}]このルールはDHP 2.0.0で実装されました。