How to reproduce
Create these entity files in a behavior pack
{
"format_version": "1.17.20",
"minecraft:entity": {
"description": {
"identifier": "test:invalid_values1",
"is_summonable": "invalid"
},
"component_groups": "invalid",
"events": "invalid"
}
}{
"format_version": "1.17.20",
"minecraft:entity": {
"description": {
"identifier": "test:invalid_values2"
},
"components": {
"minecraft:physics": "invalid"
},
"events": {
"test1": "invalid",
"test2": {
"add": {
"component_groups": "invalid"
}
}
}
}
}Then load the world
Expected behavior
6 content log errors:
✔
is_summonableshould be of type bool, not stringFixed in 1.19.10✔
component_groupsshould be of type object, not stringFixed in 1.19.10✔
eventsshould be of type object, not stringFixed in 1.19.10minecraft:physicsshould be of type object, not string✔
test1event should be of type object, not stringFixed in 1.19.10component_groups(inside ofadd) should be of type list, not string
Actual behavior
No content log errors are displayed, the invalid data is loaded.
Notes
The vanilla behavior pack contains these kinds of schema errors.
1.19.10.22 fixes 4 out of 6 of these