コード例 #1
0
ファイル: ItemXRPotion.java プロジェクト: adudney/Reliquary
 @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);
 }
コード例 #2
0
 @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);
 }
コード例 #3
0
 @Override
 @SideOnly(Side.CLIENT)
 public void registerIcons(IIconRegister iconRegister) {
   super.registerIcons(iconRegister);
   iconOverlay =
       iconRegister.registerIcon(
           Reference.MOD_ID.toLowerCase() + ":" + Names.hero_medallion_overlay);
 }