@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"; } }
public ArrayList<ItemStack> getRecipeOutputForFluidInput(FluidStack input) { DecomposerFluidRecipe fluidRecipe = (DecomposerFluidRecipe) DecomposerRecipe.get(input); if (fluidRecipe != null) { return MinechemUtil.convertChemicalsIntoItemStacks(fluidRecipe.getOutput()); } return null; }
public ArrayList<ItemStack> getRecipeOutputForInput(ItemStack input) { DecomposerRecipe recipe = getRecipe(input); if (recipe != null) { return MinechemUtil.convertChemicalsIntoItemStacks(recipe.getOutput()); } return null; }