Added a tooltip to the Mana Bottle.

This commit is contained in:
Vasco Lavos committed 2014-07-20 19:17:58 +01:00
1 parent 5095fd26d8
commit edf1c50eb6
2 files changed
+7

No files matched your search

@@ -31,6 +31,7 @@ import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.DamageSource;
import net.minecraft.util.IIcon;
import net.minecraft.util.MathHelper;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import vazkii.botania.client.core.helper.IconHelper;
import vazkii.botania.common.core.helper.ItemNBTHelper;
@@ -201,6 +202,11 @@ public class ItemBottledMana extends ItemMod {
return seed;
}
@Override
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
par3List.add(StatCollector.translateToLocal("botaniamisc.bottleTooltip"));
}
@Override
public void registerIcons(IIconRegister par1IconRegister) {
icons = new IIcon[6];
+1
View File
@@ -44,6 +44,7 @@ botaniamisc.clickToAdd=Click to add a Bookmark here
botaniamisc.ratio=%s:1 Ratio
botaniamisc.openBaubles=Baubles Inventory
botaniamisc.openInv=Normal Inventory
botaniamisc.bottleTooltip=It has an acquired taste
# COLORS
botania.color0=White