-
Notifications
You must be signed in to change notification settings - Fork 32
nameOfNbtCompoundTagKeys
SPGoding edited this page Apr 26, 2020
·
1 revision
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.