nameOfNbtCompoundTagKeys - SpyglassMC/Spyglass GitHub Wiki
Enforce a consistent NBT compound key naming convention.
- (
"camelCase") - (
"PascalCase") - (
"snake_case") - (
"SCREAMING_SNAKE_CASE") - (
"kebab-case")
{
"nameOfNbtCompoundTagKeys": null
}give @s minecraft:stone{fooByte: 1b}
give @s minecraft:stone{FooByte: 1b}
give @s minecraft:stone{foo_byte: 1b}
give @s minecraft:stone{FOO_BYTE: 1b}
give @s minecraft:stone{foo-byte: 1b}{
"nameOfNbtCompoundTagKeys": ["warning", "camelCase"]
}give @s minecraft:stone{fooByte: 1b}give @s minecraft:stone{FooByte: 1b}
give @s minecraft:stone{foo_byte: 1b}
give @s minecraft:stone{FOO_BYTE: 1b}
give @s minecraft:stone{foo-byte: 1b}This rule was introduced in DHP 2.0.0.