Jump to content

[1.7.10] Render mini block inside my pipe model. (RenderBlocks)


Recommended Posts

Posted

As a result of a previous thread, I received:

renderer.setRenderBounds(0,0,0,1,1,1);
		        renderer.renderAllFaces = true;
		        renderer.renderStandardBlock(fluid.getBlock(), entity.xCoord, entity.yCoord, entity.zCoord);

as a way to create a fake block of water, I could shrink and position.However, I can't get it to work!

The renderer variable is a instance of RenderBlocks I created in a method named func_147496_a. However, while when I wrap that last line of code in a println, it says it's rendering it, it isn't! Not that I see.

Where do I put this?

Also, I am planning on making some item transport pipes. Is there a method similar to the above to render items?

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

  • 2 weeks later...

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.