Crash when leaving out processors in a template pool: java.lang.IllegalArgumentException: bound must be positive
The following template pool will crash the game.
{
"name": "foo",
"fallback": "minecraft:empty",
"elements": [
{
"weight": 1,
"element": {
"element_type": "minecraft:single_pool_element",
"projection": "terrain_matching",
"location": "bar"
}
}
]
}
The solution is to add "processors": "minecraft:empty" inside the element. Either this should be checked when parsing the file, or the property should be optional.
2020-08-16, 11:43 PM
2021-05-19, 05:42 PM
2021-05-19, 05:42 PM
3
1