Jump to content

Recommended Posts

Posted

so, im looking at recreating a storage tank similar to buildcrafts without looking at any of their code, and iv managed to make it up to using the metadata to store how much water is in the storage tank, but i ran into the problems of textures not working the way i want it to. so i started thinking of how else it could be done, and remembered that cauldrons seem to hold actual water, but i cannot for the life of me see where the coding for this is as it is not in BlockCauldron (i checked multiple times with every method). does anyone know of the class that handles the water within a cauldron? and the class where it is rendered? i know it uses render type 24, but i do not know where it is used.

 

thanks.

Posted

You mean this?

 

Found in RenderBlocks

 

  Reveal hidden contents

 

 

(Still in RenderBlocks)

renderBlockCauldron

 

  Reveal hidden contents

 

Posted
  On 7/20/2012 at 12:37 AM, Texasjake95 said:

You mean this?

 

Found in RenderBlocks

 

  Reveal hidden contents

 

 

(Still in RenderBlocks)

renderBlockCauldron

 

  Reveal hidden contents

 

thanks, thats great. i thought id checked RenderBlock, but i must have missed it among the 5700 lines of code in there =.=

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.