Example #1
0
 @Override
 public List<String> getPedestalDescription() {
   List<String> list = Lists.newArrayList();
   if (ProjectEConfig.ignitePedCooldown != -1) {
     list.add(EnumChatFormatting.BLUE + StatCollector.translateToLocal("pe.ignition.pedestal1"));
     list.add(
         EnumChatFormatting.BLUE
             + String.format(
                 StatCollector.translateToLocal("pe.ignition.pedestal2"),
                 MathUtils.tickToSecFormatted(ProjectEConfig.ignitePedCooldown)));
   }
   return list;
 }
Example #2
0
 @Nonnull
 @SideOnly(Side.CLIENT)
 @Override
 public List<String> getPedestalDescription() {
   List<String> list = Lists.newArrayList();
   if (ProjectEConfig.zeroPedCooldown != -1) {
     list.add(TextFormatting.BLUE + I18n.format("pe.zero.pedestal1"));
     list.add(TextFormatting.BLUE + I18n.format("pe.zero.pedestal2"));
     list.add(
         TextFormatting.BLUE
             + I18n.format(
                 "pe.zero.pedestal3",
                 MathUtils.tickToSecFormatted(ProjectEConfig.zeroPedCooldown)));
   }
   return list;
 }