Ejemplo n.º 1
0
 @Override
 public String getTranslatedName(int level) {
   String enchantedName = StatCollector.translateToLocal("enchantment.level." + level);
   if (StatCollector.canTranslate("minechem.enchantment.coated")) {
     return MinechemUtil.getLocalString(chemical.getUnlocalizedName())
         + " "
         + StatCollector.translateToLocalFormatted("minechem.enchantment.coated", enchantedName);
   } else {
     return MinechemUtil.getLocalString(chemical.getUnlocalizedName())
         + " "
         + enchantedName
         + " Coated";
   }
 }
Ejemplo n.º 2
0
 public ArrayList<ItemStack> getRecipeOutputForFluidInput(FluidStack input) {
   DecomposerFluidRecipe fluidRecipe = (DecomposerFluidRecipe) DecomposerRecipe.get(input);
   if (fluidRecipe != null) {
     return MinechemUtil.convertChemicalsIntoItemStacks(fluidRecipe.getOutput());
   }
   return null;
 }
Ejemplo n.º 3
0
 public ArrayList<ItemStack> getRecipeOutputForInput(ItemStack input) {
   DecomposerRecipe recipe = getRecipe(input);
   if (recipe != null) {
     return MinechemUtil.convertChemicalsIntoItemStacks(recipe.getOutput());
   }
   return null;
 }