Jump to content

[1.3.2] setBlockBounds ?


WiNeTel

Recommended Posts

Hope someone can help me.

 

i have a block where i use the renderType6 (Crops).

 

now i want to change the BlockBound to get the texture displayed higher then the Block is.

 

Example when use a normal Block with RederType 0, and i use this:

 

"        this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.9375F, 1.0F); "

 

i get the texture displayed near 2 Blocks high, but the Block is Physical 1.0F high.

 

but with Type 6, it´s not working, when look correct in RenderBlocks,  there are only the first 3 Variables.

 

Forge have a way to change it or i must make my own renderBlock?

 

When the only way is own renderBlock, where are the changes from 1.2.5 to 1.3.2, because until now don´t found why my other CustomRenderBlock not work?

I´am updating my mod from 1.2.5

 

Hope someone can help

 

Link to comment
Share on other sites

When it come to specific render types, you have to fall under the restrictions of those types, or render the block yourself.

So it appears the height is not taken from the bounds for rendering crops. So you're gunna have to do it yourself.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

When it come to specific render types, you have to fall under the restrictions of those types, or render the block yourself.

So it appears the height is not taken from the bounds for rendering crops. So you're gunna have to do it yourself.

 

Thanks for the fast answer.

OK, then must now only find the differences for render, from 1.2.5 to 1.3.2, because until now my customRenderBlocks not work! :(

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.