@Override
 @SideOnly(Side.CLIENT)
 public void registerIcons(IIconRegister par1IconRegister) {
   super.registerIcons(par1IconRegister);
   this.icon = IconHelper.forItem(par1IconRegister, this);
   if (hasOrnament()) ornament = IconHelper.forItem(par1IconRegister, this, "Orn");
   if (hasDepth()) depth = IconHelper.forItem(par1IconRegister, this, "Depth");
 }
예제 #2
0
 @Override
 public void registerIcons(IIconRegister par1IconRegister) {
   super.registerIcons(par1IconRegister);
   for (int i = 0; i < specialIcons.length; i++)
     specialIcons[i] = IconHelper.forItem(par1IconRegister, this, i);
 }