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