package ru.liahim.saltmod.item;

import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;

public class MainItems extends Item {
	
	public MainItems(String name, CreativeTabs tab, String textureName) {
		this.setUnlocalizedName(name);
		this.setCreativeTab(tab);
		this.setTextureName("saltmod:" + textureName);
	}
}
package ru.liahim.saltmod.item;

import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;

public class MainItems extends Item {
	
	public MainItems(String name, CreativeTabs tab, String textureName) {
		this.setUnlocalizedName(name);
		this.setCreativeTab(tab);
		this.setTextureName("saltmod:" + textureName);
	}
	
	public void addInformation(ItemStack is, EntityPlayer player, List list, boolean flag) {
		if (this.getUnlocalizedName().equals(ModItems.powderedMilk.getUnlocalizedName()))
		list.add(I18n.format(getUnlocalizedName() + ".tooltip"));
	}
}

Update MainItems.java