#texture id's dont match when exporting as a .bbmodel

18 messages · Page 1 of 1 (latest)

wintry burrow
#

hello, im trying to export a model in the .bbmodel file format, but ive noticed that the texture id's and those defined in the element for mapping dont match up to what they originally were supposed to be (in some cases elements even references the id of a texture that doesnt exist)

blissful charmBOT
#
Welcome to the help forum!

Please make sure to read #1021015331910713395 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.

serene smelt
#

what make you certain the id don't match?

#

you might be able to see the texture I'd when right click the texture > properties

wintry burrow
#

I attached screenshots of the bbmodel file that shows they don't match

serene smelt
#

ah didn't noticed there's 3rd pic

#

North face of that element is currently using texture 10

#

can you check if this is true?
your 1st pic have west face selected so I cant tell

wintry burrow
#

this is just a specific example ^
pretty much every texture id for all the elements in the file are messed up

serene smelt
#

mind sharing your file? I can have a look when home

wintry burrow
serene smelt
#

k i think i know whats going on

#

the id that's stored in the texture is only use when export (as minecraft java block/item model, for example)

so for example, in your 3rd ss, "texture": 10 is the same as textures[10], the 10th array of your textures, which is your antenna texture. So when you change the order of your texture, this number change as well.

#

java block/item for example, when export, it will get the id of textures[10], which is 16.

wintry burrow
#

Ah okay it's a bit deceptive, the id stored in the elements don't reference the texture id, but the position in the array

#

Yeah that makes sense, ty