Busti Posted March 2, 2013 Share Posted March 2, 2013 Hello, how can i make a Block which has a custom Model? I've already got a Techne model file but how can i make it render with my block? Thanks fon any Help Busti Quote PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered. Link to comment Share on other sites More sharing options...
mnn Posted March 2, 2013 Share Posted March 2, 2013 topic with same problem - http://www.minecraftforge.net/forum/index.php/topic,6196.0.html Quote mnn.getNativeLang() != English If I helped you please click on the "thank you" button. Link to comment Share on other sites More sharing options...
thebest108 Posted March 3, 2013 Share Posted March 3, 2013 So your saying, glass panes are tile entities Quote "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ Link to comment Share on other sites More sharing options...
Mazetar Posted March 3, 2013 Share Posted March 3, 2013 A block that needs more information than the metadata can hold needs to have an TileEntity, its basicly a way of storing extra information for blocks, such as burning time for the Furnace. Quote If you guys dont get it.. then well ya.. try harder... Link to comment Share on other sites More sharing options...
Tomalla Posted March 3, 2013 Share Posted March 3, 2013 @thebest108: Of course not. If it's a simple thing like glass panes, stairs, etc. you can use a custom BlockRenderer (ISimpleBlockRenderingHandler). But if you want a real Model (e.g. from Techne) like chests you need to have a TileEntity. Again, I haven't tested it, but I bet it is possible to render a model from within a custom block render handle class as well. It's just reading some data and setting up GL accordingly, this can be done from pretty much anywhere. Quote Link to comment Share on other sites More sharing options...
Dannyflame98 Posted March 6, 2013 Share Posted March 6, 2013 Here is a tutorial for it. http://www.minecraftforum.net/topic/1154044-147forge19213-duckys-modding-tutorials-make-your-blocks-nice/ Quote Link to comment Share on other sites More sharing options...
Jdb100 Posted March 6, 2013 Share Posted March 6, 2013 or another tutorial for you http://www.minecraftforum.net/topic/1483366-universal-subarakis-one-stop-custom-block-tutorial-make-it-with-techne/ also try this works great http://lmgtfy.com/?q=custom+model+for+block+in+minecraft+forge Quote Creator of Jobo's ModLoader If I helped you could you please click the thank you button and applaud my karma. Link to comment Share on other sites More sharing options...
Dannyflame98 Posted March 11, 2013 Share Posted March 11, 2013 If only i knew how to animate the block. Quote Link to comment Share on other sites More sharing options...
Lomeli12 Posted March 11, 2013 Share Posted March 11, 2013 Here's how my custom block works : Block: https://github.com/Lomeli12/DivingGear/blob/master/common/com/lomeli/diving/block/BlockCoral.java Renderer: https://github.com/Lomeli12/DivingGear/blob/master/common/com/lomeli/diving/client/render/RenderCoral.java Model: https://github.com/Lomeli12/DivingGear/blob/master/common/com/lomeli/diving/client/model/ModelCoral.java TileEntity: https://github.com/Lomeli12/DivingGear/blob/master/common/com/lomeli/diving/tileentity/TileEntityCoralRenderer.java Quote 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.