Posted April 1, 201312 yr Hey, Today I started to mess around with glass and came across a very strange glitch when you tint a transparent block, in this instance when you look though the block it only renders the chunk you are standing in. Producing a weird result: Also when you pause: Code public class OrangeTintedGlass extends BlockBreakable { public OrangeTintedGlass(int par1, Material par2Material, boolean par3) { super(par1, "glass", par2Material, par3); } public int quantityDropped(Random par1Random) { return 0; } @SideOnly(Side.CLIENT) public int getRenderBlockPass() { return 0; } public boolean isOpaqueCube() { return false; } public boolean connectedTextures() { return true; } public boolean renderAsNormalBlock() { return false; } protected boolean canSilkHarvest() { return true; } @SideOnly(Side.CLIENT) public void func_94332_a(IconRegister Par1Iconregister){ this.field_94336_cN = Par1Iconregister.func_94245_a("/Glass/Orange"); } } Any help would be extremely appreciated.
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.