Пример #1
0
 @Override
 public void registerBlockIcons(IIconRegister register) {
   icons = new IIcon[16];
   iconsAlt = new IIcon[16];
   for (int i = 0; i < 16; i++) {
     icons[i] = IconHelper.forName(register, "flowerGlimmering" + i);
     iconsAlt[i] = IconHelper.forName(register, "flowerGlimmering" + i, BlockModFlower.ALT_DIR);
   }
 }
Пример #2
0
 @SideOnly(Side.CLIENT)
 public IIcon registerSideIcon(IIconRegister register) {
   return IconHelper.forBlock(register, this);
 }
Пример #3
0
 @Override
 @SideOnly(Side.CLIENT)
 public void registerBlockIcons(IIconRegister par1IconRegister) {
   senderIcon = IconHelper.forName(par1IconRegister, "redStringSender");
   sideIcon = registerSideIcon(par1IconRegister);
 }
Пример #4
0
 @Override
 public void registerIcons(IIconRegister par1IconRegister) {
   icons = new IIcon[16];
   for (int i = 0; i < icons.length; i++) icons[i] = IconHelper.forItem(par1IconRegister, this, i);
 }