In case the title was too generic, here is the detailed version:
I am currently working on a private mod for my server, which will add statues and trophies as blocks. The basic idea is that a statue or trophy can only be obtained via creative mode (non-craftable, so no recipe classes needed here), and the statue or trophy will kind of act like a cross between a sign and a written book. When the item for the Trophy/Statue is first obtained, its textual data is empty (like a sign or written book), but once placed, it will open the GUI to edit what the Trophy/Statue has written on it. The trophy/Statue can only be broken by its owner (the player whom place it last), and is unbreakable to all others except Opped players. A Trophy/Statue that is placed has a "plaque" that shows its written text (limits on text are imposed like the sign), and if a player right-clicks the Trophy/Statue, the text will appear in a read-only GUI.
All of these properties are already handled, and are not my actual issue...that's just the background of what my mod will do and why. This is to head off any "Why?" responses. Here is my issue:
When the statue or trophy item is placed, it will create a block using the 3D .obj file associated with it. The 3D object file can be exported to .3ds, .fbx, .wrl, or anything else supported by blender or 3DS Max Studio 2011. I just can't figure out exactly how to make a minecraft block render an object file instead of the voxel block. I know it can be done, I have seen some mods that used 3D models that contained planes instead of being purely voxel.
I have a decent understanding of java, but I have never done anything in the graphics rendering arena. I have searched these past few days on how to do this, but I only get results for stuff like Techne and Cubik Pro. Although Cubik Pro might actually work well enough for my needs, I would prefer to keep the models looking as they are instead of making them a micro-pile of blocks, and it won't convert my meshes past 6 blocks unless I buy it. I want to make my trophies look really nice, and I won't need to buy a piece of software to accomplish this. Besides, I want to prove that free can be better.
I am not looking for someone to make this mod for me, I only need to know how to implement the method within minecraft to make the block use a 3D mesh model instead of a textured block, and how to specify the proper sizing of the model when placed.
I have tried looking through some of those well-known mod-making programs like MCreator, Mod Maker, and such, but they only really allow me to custom make the textured block. I don't want a textured block, or anything voxel, I want my meshes, which are all completed already. If anyone has any ideas, experience, or knows exactly what to do here, your advice and help are greatly appreciated.
I forgot to mention, my mod must be forge-compatible, so if you post anything that requires the use of a modmaking tool that is not forge-compliant, I will not use it. This mod is being added into my modpack, which is comprised of forge-compatible and forge-required mods.
Okay, so I guess my objects are probably missing normals. I am really good with 3ds max studio, but not so much with blender. So I made sure to export my models as quads with not triangles, and even used the UV-map profile for the textures. Since I saw no options on export for normals, I have to assume they are not included in my models. I know blender has the include normals in the export options, so I may have to import the OBJs into blender and then re-export them with the normals. Not a problem really, but Blender has this issue with exporting the models into OBJ or 3ds... they were missing more than half of the entire object, like the vertices of the model were deleted. So I did everything in 3ds max. IDK if this is just 3ds importing it improperly or what, but they are ok for now when 3ds exports them as OBJ with an MTL for the textures.
Now everything I have watched thus far that shows that using an OBJ for a block uses a PNG texture file... this might be a problem since my textures are in an mlt file from 3ds max. This is problem number one. I watched another video of someone who actually added a modded block with item that used a 3d OBJ, and it worked very well. Only issue, he didn't give the details on how he wrote the class file to force it to load (that or my overwhelmed mentality must have not caught it...). Iam so frustrated at this that I literally need to step away for a while and clear my head.
Here's the video I watched:
It's getting so frustrating to me now that I am back to the point of saying screw it, I'm done. But I really need to complete this mod. Sorry to rant and whatnot, but I never have anyone who helps me because everybody I know has no knowledge or experience in anything outside of playing the game (yes, I am the smartest person I know by far, and it really sucks).
Hey Guys! I'm Reese_Reese I Have A Small YouTube Channel... I've Started A Roleplay Series And I Really Wanna Know How To Do This Kind Of Stuff. I Know A Little Coding But I'm Wondering If Anyone Figured This Out For 1.7.10 Forge?