Closed michal212345 closed 2 years ago
That block definition works fine for me if I replace the leaves_#.obj with eg pig.obj It might be a bad obj file. If you send them I can have a look.
For the textures, they need to be the path from the textures folder in a resource pack so it will need to be minecraft:block/oak_leaves
or just block/oak_leaves
Hi, Thanks, I figured out the textures issues now, but I cannot figure out why the model doesn't inherently work when it was perfectly fine in 112 like I have mentioned before.
Thanks for taking the time to have a look.
This was happening because your obj file never set a material to use, because of the changes to textures in 113 this caused an error. I've added checks for this now and it will default to the unknown material. The <materials>
tag still overrides this just fine.
When will you be able to compile and push the update?
probably this weekend if nothing else comes up
This custom Mesh for Oak_leaves doesn't work but the same code for the chest works perfectly fine...
`
This spits out two issues:
First error
Block minecraft:oak_leaves has invalid mesh definition. Ignoring.
When the code is perfectSecond error when exporting
ERROR: Couldn't find assets/minecraft/textures/leaves_oak.png in current resource packs
The png exists I'm looking at itThis worked perfectly in 112 but doesn't work anymore in 113. No clear reason why, it just doesn't work, similar code for chest works perfectly fine.