Jump to content

Block with custom Model?


Busti

Recommended Posts

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...

Link to comment
Share on other sites

@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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.