Jump to content

Screen Block


KeeganDeathman

Recommended Posts

I have posted this three times now and the last two times I was pointed to TheGreyGhost.

Let me just say it here.

I know how to make a custom block render.

I do not know how to make one side of the block show dynamic data.

For examples, I mean like CC's monitors.

So once again, NO rendering tutorials, YES how-tos on displaying dynamic data.

[shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]

Link to comment
Share on other sites

Hi

 

Have you looked at DynamicTexture?  You can supply it with a BufferedImage that you have created pixel by pixel.  Vanilla uses it for a couple of things like the lightmap texture or the map item.

 

Once you have the dynamic texture, you can display it by binding the texture before rendering the side of your block, you may need to use a tile entity to do it because it seems that changing textures midway through IBSRH doesn't work in 1.7.10 (haven't tried it myself).

 

I don't know of any how-to or tutorial on DynamicTexture, unfortunately.

 

-TGG

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.



×
×
  • Create New...

Important Information

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