July 9, 201510 yr Well, I've been trying to get it to work but to no avail. It's doing this: It's displaying all sides as the water port icon when I specifically told it otherwise. Here is my icon code: @Override public void registerBlockIcons(IIconRegister reg){ icons = new IIcon[11]; icons[0] = reg.registerIcon(getTextureName() + "Front"); icons[1] = reg.registerIcon(getTextureName() + "FrontWater1"); icons[2] = reg.registerIcon(getTextureName() + "FrontWater2"); icons[3] = reg.registerIcon(getTextureName() + "FrontWater3"); icons[4] = reg.registerIcon(getTextureName() + "FrontWater4"); icons[5] = reg.registerIcon(getTextureName() + "FrontActiveWater1"); icons[6] = reg.registerIcon(getTextureName() + "FrontActiveWater2"); icons[7] = reg.registerIcon(getTextureName() + "FrontActiveWater3"); icons[8] = reg.registerIcon(getTextureName() + "FrontActiveWater4"); icons[9] = reg.registerIcon(getTextureName() + "Side"); icons[10] = reg.registerIcon(getTextureName() + "WaterPort"); } @Override public IIcon getIcon(int meta, int side){ if (side == 0){ return icons[10]; } else if (side == 1){ return icons[10]; } else if (side == 2){ return icons[0]; } else if (side == 3){ return icons[9]; } else if (side == 4){ return icons[9]; } else if (side == 5){ return icons[9]; } return null; } I have no idea why it's doing this or how to fix it. Am I doing something wrong?
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.