Delupara Posted June 2, 2016 Share Posted June 2, 2016 Right I've been looking for this for a very long time now. Unfortunately all I'm seeing is outdated stuff. Where can I learn more about rendering both Items, block and entities? everything from Getting textures using resourcelocation to getitemmodelmesher to even custom renders. I seriously need some documentation if I want to do anything fancy. Quote When they say your code doesn't follow convention but ur edgy so u dont care d-d-d-dab on them haterz Link to comment Share on other sites More sharing options...
Ernio Posted June 2, 2016 Share Posted June 2, 2016 I don't think there is anything consistent/complete as of now. Your best shot is to study those sources: https://github.com/MinecraftForge/MinecraftForge/tree/master/src/main/java/net/minecraftforge/client Some of VertexBuffer and VertexFormat + some GL knowledge will be useful. Client Events and IModel, IBakedModel formats and loaders. On top of that .json loaders (they also allow e.g loading .obj models, basically again - custom model loaders). I highly recommend actually reading THIS forum. Skim through about 10 pages back and you will find some threads on that. I collect all links for threads of interest so maybe some would help: http://www.minecraftforge.net/forum/index.php/topic,37848.0.html http://www.minecraftforge.net/forum/index.php/topic,37784.0.html Even your thread: http://www.minecraftforge.net/forum/index.php/topic,39203.0.html http://www.minecraftforge.net/forum/index.php/topic,35961.0.html http://www.minecraftforge.net/forum/index.php/topic,36101.0.html http://www.minecraftforge.net/forum/index.php/topic,36639.0.html Just some of them + I have no clue what they contain, but you might be able to put something together or catch something interesting. P.S You didn't tell version, note that there has been few changes in 1.8.9->1.9. Quote 1.7.10 is no longer supported by forge, you are on your own. Link to comment Share on other sites More sharing options...
Delupara Posted June 2, 2016 Author Share Posted June 2, 2016 Okay I'm talking about basic rendering, not overly complicated versions of rendering. You can't draw a masterpieces without knowing how to use a pencil! Take for example a snippet of code Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MOD_ID + ":" + item.getRegistryName, "inventory")); I know what minecraft#getMinecraft is but not Minecraft#getRenderItem nor RenderItem#getItemModelMesher and even less ItemModelMesher#register These are super basic yet I don't understand any of it. Quote When they say your code doesn't follow convention but ur edgy so u dont care d-d-d-dab on them haterz Link to comment Share on other sites More sharing options...
Draco18s Posted June 3, 2016 Share Posted June 3, 2016 Its amazing what your IDE can do. Try hovering over those methods and clicking on the tooltips. Quote Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given. Link to comment Share on other sites More sharing options...
Delupara Posted June 3, 2016 Author Share Posted June 3, 2016 The line you posted is actually deprecated, use ModelLoader.setCustomModelResourceLocation instead, which you can think of as "hey game, please use this as the model for this item". That's nice to know, thank's a lot! Now I got to read said class, I'll be back in a bit Quote When they say your code doesn't follow convention but ur edgy so u dont care d-d-d-dab on them haterz Link to comment Share on other sites More sharing options...
FireController1847 Posted June 3, 2016 Share Posted June 3, 2016 If you would like something that would help you render some things I'm currently creating a Wiki on how to make these things, check it out if you want. http://minecraft-forge-tutorials.wikia.com/wiki/Minecraft_Forge_Tutorials_Wikia Quote I am on my journey of making a remake of matmos, as explained here. Link to comment Share on other sites More sharing options...
FireController1847 Posted June 3, 2016 Share Posted June 3, 2016 Well, no, I need help, and then when I get it working I'll upload it so other people also know how to get it working. Quote I am on my journey of making a remake of matmos, as explained here. Link to comment Share on other sites More sharing options...
Delupara Posted June 3, 2016 Author Share Posted June 3, 2016 @FireController1847: You are making a wiki on something that you yourself cannot figure out? No offense, but this is not very convincing. He's trying to set up an official wiki, it might not be convincing but with skilled in the arts of forge like you maybe it could become a real thing? Quote When they say your code doesn't follow convention but ur edgy so u dont care d-d-d-dab on them haterz Link to comment Share on other sites More sharing options...
FireController1847 Posted June 3, 2016 Share Posted June 3, 2016 It may already exist, but that's only for the latest version. My wiki will be from 1.7.10 and on. Mine is different than yours; and I should be treated no different from a normal user on here. Just because I'm also making a wiki doesn't mean you all need to treat me like crap! Seriously, I do need help when I ask; I'm not doing it just to remove your wiki and made it go away. No, that's not what I am trying to do, I am trying to get my wiki as a PART of your wiki, but I can't because your wiki is only for the latest version. Hence, why I made my own wiki instead of using the old one. Please, treat me like a normal person moderators. I could treat your wiki like an unofficial one, but I don't. I am a normal person with another wiki. You guys don't hate bedrockminer for making his wiki, so why hate on me for mine? Quote I am on my journey of making a remake of matmos, as explained here. Link to comment Share on other sites More sharing options...
Recommended Posts
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.