More lang for tool tips, closes #610
This commit is contained in:
parent
3c62840806
commit
77eddc31b2
3 changed files with 11 additions and 5 deletions
|
@ -6,6 +6,7 @@ import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.text.TextFormatting;
|
import net.minecraft.util.text.TextFormatting;
|
||||||
|
import net.minecraft.util.text.translation.I18n;
|
||||||
import reborncore.common.recipes.RecipeCrafter;
|
import reborncore.common.recipes.RecipeCrafter;
|
||||||
import techreborn.client.TechRebornCreativeTabMisc;
|
import techreborn.client.TechRebornCreativeTabMisc;
|
||||||
import techreborn.init.ModItems;
|
import techreborn.init.ModItems;
|
||||||
|
@ -92,9 +93,9 @@ public class ItemUpgrades extends ItemTextureBase implements IMachineUpgrade, IT
|
||||||
@Override
|
@Override
|
||||||
public void addInformation(ItemStack stack, EntityPlayer playerIn, List<String> tooltip, boolean advanced)
|
public void addInformation(ItemStack stack, EntityPlayer playerIn, List<String> tooltip, boolean advanced)
|
||||||
{
|
{
|
||||||
tooltip.add(TextFormatting.RED + "WIP Coming Soon");
|
tooltip.add(TextFormatting.RED + I18n.translateToLocal("tooltip.wip"));
|
||||||
tooltip.add(TextFormatting.RED + "Upgrades DO NOT function!");
|
tooltip.add(TextFormatting.RED + I18n.translateToLocal("tooltip.upBroken"));
|
||||||
tooltip.add(TextFormatting.RED + "Currently only a crafting ingredient");
|
tooltip.add(TextFormatting.RED + I18n.translateToLocal("tooltip.ingredient"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -9,6 +9,7 @@ import net.minecraft.util.ActionResult;
|
||||||
import net.minecraft.util.EnumActionResult;
|
import net.minecraft.util.EnumActionResult;
|
||||||
import net.minecraft.util.EnumHand;
|
import net.minecraft.util.EnumHand;
|
||||||
import net.minecraft.util.text.TextFormatting;
|
import net.minecraft.util.text.TextFormatting;
|
||||||
|
import net.minecraft.util.text.translation.I18n;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import techreborn.Core;
|
import techreborn.Core;
|
||||||
import techreborn.client.GuiHandler;
|
import techreborn.client.GuiHandler;
|
||||||
|
@ -49,6 +50,6 @@ public class ItemTechManual extends ItemTextureBase implements ITexturedItem
|
||||||
@Override
|
@Override
|
||||||
public void addInformation(ItemStack stack, EntityPlayer playerIn, List<String> tooltip, boolean advanced)
|
public void addInformation(ItemStack stack, EntityPlayer playerIn, List<String> tooltip, boolean advanced)
|
||||||
{
|
{
|
||||||
tooltip.add(TextFormatting.RED + "WIP Coming Soon");
|
tooltip.add(TextFormatting.RED + I18n.translateToLocal("tooltip.wip"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1046,4 +1046,8 @@ death.attack.shock=%s was electrocuted
|
||||||
|
|
||||||
|
|
||||||
#Entitys
|
#Entitys
|
||||||
entity.techreborn.nuke.name=Nuke
|
entity.techreborn.nuke.name=Nuke
|
||||||
|
|
||||||
|
tooltip.wip=WIP Coming Soon
|
||||||
|
tooltip.upBroken=Upgrades DO NOT function!
|
||||||
|
tooltip.ingredient=Currently only a crafting ingredient
|
Loading…
Reference in a new issue