Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
LordOfWolves

b58 loose rocks texture bug

16 posts in this topic

Like what the title says, loose rocks have a transparent texture in the side near a non-transparent block in b58.

Posted Image

Posted Image

Mods installed:

-NEI

-invTweaks

-Rei's minimap

-Codechickencore

0

Share this post


Link to post
Share on other sites

Confirmed with clean installation, build 57.

However, I suspect this is a long-standing bug, and it's rooted in the rendering methods of Minecraft.

The loose rocks have a bounding box which reaches the edge of the next block, so Minecraft does not expect the player to be able to see that side, so it does not render it.

0

Share this post


Link to post
Share on other sites

You can resize a block's bounding block so this should still be addressed so minecraft knows to render that texture.

0

Share this post


Link to post
Share on other sites

You can resize a block's bounding block so this should still be addressed so minecraft knows to render that texture.

And how can I do something like this?
0

Share this post


Link to post
Share on other sites

And how can I do something like this?

he didn't mean 'you' as in us, the playerbase. He meant 'you' as in the developer.

Unless you can deobf the code and know how to do it yourself..

0

Share this post


Link to post
Share on other sites

he didn't mean 'you' as in us, the playerbase. He meant 'you' as in the developer.

Unless you can deobf the code and know how to do it yourself..

No, but I can learn...
0

Share this post


Link to post
Share on other sites

No, but I can learn...

My bad if my post was taken as an insult or talking down. I was just clearing up confusion.
0

Share this post


Link to post
Share on other sites

My bad if my post was taken as an insult or talking down. I was just clearing up confusion.

No, It wasn't an insult for me. Don't worry. I don't take the posts like an insult unless they're clearly an insult, so don't be sorry.
1

Share this post


Link to post
Share on other sites

edit these:

public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int j, int k, int m)    {        float var5 = 0.0625F;        return AxisAlignedBB.getAABBPool().addOrModifyAABBInPool((double)((float)j + var5), (double)k, (double)((float)m + var5), (double)((float)(j + 1) - var5), (double)(k + 1), (double)((float)(m + 1) - var5));    }
1

Share this post


Link to post
Share on other sites

edit these:

public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int j, int k, int m)	{		float var5 = 0.0625F;		return AxisAlignedBB.getAABBPool().addOrModifyAABBInPool((double)((float)j + var5), (double)k, (double)((float)m + var5), (double)((float)(j + 1) - var5), (double)(k + 1), (double)((float)(m + 1) - var5));	}
This looks like vanilla code. Am I right?

Chocolate code looks a lot different, trust me.

0

Share this post


Link to post
Share on other sites

This looks like vanilla code. Am I right?

Chocolate code looks a lot different, trust me.

It is.
0

Share this post


Link to post
Share on other sites

Why would this be a vanilla problem? I don't think it occurs in similar vanilla items like fences that are <1 block in size, so wouldn't it be an issue within TFC?

0

Share this post


Link to post
Share on other sites

Why would this be a vanilla problem? I don't think it occurs in similar vanilla items like fences that are <1 block in size, so wouldn't it be an issue within TFC?

Fences are an half block. It's different.
0

Share this post


Link to post
Share on other sites

Why would this be a vanilla problem? I don't think it occurs in similar vanilla items like fences that are <1 block in size, so wouldn't it be an issue within TFC?

Fences and buttons and such don't have a bounding box that extends out to the edge of the block.
0

Share this post


Link to post
Share on other sites

I simply posted what code you would change so that minecraft's engine will understand that the block doesn't fill the entire space. If minecraft's engine thinks the block is supposed to fill a 1X1X1 it won't render texture for that block if it thinks it's hidden. What we do is shrink the bounding block's par# so minecraft is on the same page as us. A collision block is different from a bounding block and for the point of textures it's what we would need to change for minecraft not to misunderstand what we're asking it.

0

Share this post


Link to post
Share on other sites

I simply posted what code you would change so that minecraft's engine will understand that the block doesn't fill the entire space. If minecraft's engine thinks the block is supposed to fill a 1X1X1 it won't render texture for that block if it thinks it's hidden. What we do is shrink the bounding block's par# so minecraft is on the same page as us. A collision block is different from a bounding block and for the point of textures it's what we would need to change for minecraft not to misunderstand what we're asking it.

And all the loose rocks are only a block? Or do I need to change the size of every block?
0

Share this post


Link to post
Share on other sites