Closed imIrony closed 1 month ago
This was a versioned change to resolve an issue where saving and opening a project would assign textures to faces explicitly, in formats that are single-texture based and shouldn't have textures explicitly assigned to faces: https://www.blockbench.net/wiki/
However, you are right, the field should be omitted in this case instead of being set to false. false
is consistent with how the data is handled internally, but to be consistent with previous versions of the bbmodel format, omitting the field would actually be correct.
What are you trying to do, and what do you expect to happen?
Saving a Blockbench project in bedrock entity format should resolve the
texture
field within afaces
object array as anint
if there is a valid texture or removed completely if there isn't a valid texture.What happens instead?
Saving a Blockbench project in bedrock entity format causes the
texture
field within afaces
object array to resolve as abool
false
if there isn't a valid texture and as anint
if there is a valid texture.Unsure if this change was made intentionally, if so please close this issue with confirmation. Currently doesn't make sense for
texture
to accept 2 different types in this scenario.Model format in which the issue occurs
Bedrock Entity
Blockbench variant
Program
Blockbench version
4.10.1
Operating System
Windows 11
Installed Blockbench plugins
No response