예제 #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);
 }