Example #1
0
 @Override
 @SideOnly(Side.CLIENT)
 public void registerIcons(IIconRegister iconRegister) {
   super.registerIcons(iconRegister);
   iconBaseOverlay =
       iconRegister.registerIcon(Reference.MOD_ID.toLowerCase() + ":" + Names.potion_overlay);
   iconSplash =
       iconRegister.registerIcon(Reference.MOD_ID.toLowerCase() + ":" + Names.potion_splash);
   iconSplashOverlay =
       iconRegister.registerIcon(
           Reference.MOD_ID.toLowerCase() + ":" + Names.potion_splash_overlay);
 }
 @Override
 @SideOnly(Side.CLIENT)
 public void registerIcons(IconRegister iconRegister) {
   iconBase =
       iconRegister.registerIcon(
           Reference.MOD_ID.toLowerCase() + ":" + Names.CONDENSED_POTION_NAME);
   iconBaseOverlay =
       iconRegister.registerIcon(
           Reference.MOD_ID.toLowerCase() + ":" + Names.CONDENSED_POTION_OVERLAY_NAME);
   iconSplash =
       iconRegister.registerIcon(
           Reference.MOD_ID.toLowerCase() + ":" + Names.CONDENSED_POTION_SPLASH_NAME);
   iconSplashOverlay =
       iconRegister.registerIcon(
           Reference.MOD_ID.toLowerCase() + ":" + Names.CONDENSED_POTION_SPLASH_OVERLAY_NAME);
 }
 @Override
 @SideOnly(Side.CLIENT)
 public void registerIcons(IIconRegister iconRegister) {
   super.registerIcons(iconRegister);
   iconOverlay =
       iconRegister.registerIcon(
           Reference.MOD_ID.toLowerCase() + ":" + Names.hero_medallion_overlay);
 }