Posted March 2, 201312 yr 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 PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
March 2, 201312 yr topic with same problem - http://www.minecraftforge.net/forum/index.php/topic,6196.0.html mnn.getNativeLang() != English If I helped you please click on the "thank you" button.
March 3, 201312 yr So your saying, glass panes are tile entities "you seem to be THE best modder I've seen imo." ~spynathan ლ(́◉◞౪◟◉‵ლ
March 3, 201312 yr 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. If you guys dont get it.. then well ya.. try harder...
March 3, 201312 yr @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.
March 6, 201312 yr Here is a tutorial for it. http://www.minecraftforum.net/topic/1154044-147forge19213-duckys-modding-tutorials-make-your-blocks-nice/
March 6, 201312 yr 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 Creator of Jobo's ModLoader If I helped you could you please click the thank you button and applaud my karma.
March 11, 201312 yr 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
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.