Posted March 13, 20169 yr I'm working on a 1.8 mod and I want to use B3D models because the JSON models can't do triangles. I have used the code from here: https://github.com/MinecraftForge/MinecraftForge/blob/b45fd787f36626ef84f26e881848167fec5957b5/src/test/java/net/minecraftforge/debug/ModelLoaderRegistryDebug.java But when I start the game it tells me there are no models defined [16:02:38] [Client thread/ERROR] [FML]: Model definition for location appliedautomation:block_analyzer#facing=up not found [16:02:38] [Client thread/ERROR] [FML]: Model definition for location appliedautomation:block_analyzer#facing=down not ..and so on for every side I have a b3d file in appliedautomation and appliedautomation#model#block but neither seem to work. Is this a thing with my code or with my model file? (which is saved as block_analyzer.b3d ) ClientProxy: http://pastebin.com/YcHPLF51 BlockAnalyzer: http://pastebin.com/3g0W0zQC The model file is this, converted into b3d through Blender. Yes, it is a model from EnderIO, I will not be using this model in the mod, it's just to test with. http://pastebin.com/b3xNug0h It is just a bunch of numbers - it's an Obj file. Thanks for any help
March 13, 20169 yr Have you got a blockstates file that specifies the model for each variant? Forge's blockstates format may be handy here. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
March 13, 20169 yr Author Ok well that works... but it only works with json files, and I want it to use B3D files (Or even better, Obj files)
March 14, 20169 yr Blockstates files work with any format of baked model. Just specify the .obj or .b3d extension in your model paths to use an OBJ or B3D model. If you want to use OBJ models, you need to tell the loader to look in your domain like you did for the B3D loader. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
March 14, 20169 yr Author You mean like this in the blockstates file? Because this doesn't work: { "variants": { "normal": { "model": "appliedautomation:ModelTest.b3d" } } } If there is a decent tutorial on this for 1.8 that would be great.
March 14, 20169 yr You haven't defined a variant for each value of the facing property. The normal variant is only used if your block doesn't have any properties. I don't know of any tutorials, only Forge's debug code. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.