示例#1
0
 @Override
 @SideOnly(Side.CLIENT)
 public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean par4) {
   super.addInformation(stack, player, list, par4);
   if (!CalculatorConfig.isEnabled(stack)) {
     list.add(FontHelper.translate("calc.ban"));
   }
 }