Jump to content

daltman1967

Members
  • Posts

    1
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

daltman1967's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. If you haven't solved this yet, there's a video I found that answers this question: Here's the relevant part of the code: @SideOnly(Side.CLIENT) public void registerIcons(IconRegister par1IconRegister) { icons = new Icon[4]; for(int i = 0; i < icons.length; i++) { icons[i] = par1IconRegister.registerIcon(NewBlocks.modid + ":" + (this.getUnlocalizedName().substring(5)) + i); } } @SideOnly(Side.CLIENT) public Icon getIcon(int par1, int par2) { return icons[par2]; } [/Code] if the files are named table0, table1, table2, etc., this will work just fine. Hope this helps!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.