public ToolTip getToolTip(ItemStack stack, EntityPlayer player, boolean adv) {
   String tipTag = getUnlocalizedName(stack) + ".tip";
   if (LocalizationPlugin.hasTag(tipTag)) return ToolTip.buildToolTip(tipTag);
   return null;
 }
Exemple #2
0
 @Override
 public String getLabel() {
   return LocalizationPlugin.translate(labelTag);
 }