Jump to content

Render a block as a sprite?


Meoco

Recommended Posts

I need some help figuring out how to render a placed block as a sprite, similar to how Thaumcraft's nitor is. I think it will serve my purpose better than a custom model, and I'd think, will be easier to implement. :P

Link to comment
Share on other sites

Nitor isnt a block that renders as a sprite. It is an item that places a block.

 

The block that Nitor places is rendered as a sprite with accompanying particle effects. It's definitely what is going on there, but I don't know enough OpenGL stuff to figure out what to do to replicate the effect.

Link to comment
Share on other sites

You can use ISimpleBlockRenderingHandler or if you're using a tile entity, you can extend from TileEntitySpecialRenderer (or you can use both at the same time). Thaumcraft doesn't use either of them though. It uses particles.

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.