(ItemStack aInput)
| 821 | } |
| 822 | |
| 823 | @SuppressWarnings({"rawtypes", "unchecked"}) |
| 824 | public static boolean rem_smelting(ItemStack aInput) { |
| 825 | if (ST.invalid(aInput)) return F; |
| 826 | ItemStack tPyrotheum = OP.dust.mat(MT.Pyrotheum, 1); |
| 827 | if (ST.valid(tPyrotheum)) CR.remove(aInput, tPyrotheum); |
| 828 | boolean rReturn = F; |
| 829 | Iterator<Entry<ItemStack, ItemStack>> tIterator = FurnaceRecipes.smelting().getSmeltingList().entrySet().iterator(); |
| 830 | while (tIterator.hasNext()) if (ST.equal(aInput, tIterator.next().getKey(), T)) { |
| 831 | tIterator.remove(); |
| 832 | rReturn = T; |
| 833 | } |
| 834 | if (MD.EtFu.mLoaded) { |
| 835 | boolean tSuccess = F; |
| 836 | |
| 837 | try { |
| 838 | SmokerRecipes .smelting().removeRecipe(aInput); |
| 839 | BlastFurnaceRecipes.smelting().removeRecipe(aInput); |
| 840 | tSuccess = T; |
| 841 | } catch(Throwable e) { |
| 842 | ERR.println("If you did not update Et Futurum Requiem, maybe you should."); |
| 843 | e.printStackTrace(ERR); |
| 844 | } |
| 845 | |
| 846 | if (!tSuccess) try { |
| 847 | Map |
| 848 | tMap = ((Map)UT.Reflection.getFieldContent(SmokerRecipes.smelting(), "smeltingList", T, D1)); |
| 849 | if (tMap != null) { |
| 850 | tIterator = tMap.entrySet().iterator(); |
| 851 | while (tIterator.hasNext()) if (ST.equal(aInput, tIterator.next().getKey(), T)) { |
| 852 | tIterator.remove(); |
| 853 | rReturn = T; |
| 854 | } |
| 855 | tSuccess = T; |
| 856 | } |
| 857 | tMap = ((Map)UT.Reflection.getFieldContent(BlastFurnaceRecipes.smelting(), "smeltingList", T, D1)); |
| 858 | if (tMap != null) { |
| 859 | tIterator = tMap.entrySet().iterator(); |
| 860 | while (tIterator.hasNext()) if (ST.equal(aInput, tIterator.next().getKey(), T)) { |
| 861 | tIterator.remove(); |
| 862 | rReturn = T; |
| 863 | } |
| 864 | tSuccess = T; |
| 865 | } |
| 866 | } catch(Throwable e) { |
| 867 | ERR.println("If you did not update Et Futurum Requiem, maybe you should."); |
| 868 | e.printStackTrace(ERR); |
| 869 | } |
| 870 | } |
| 871 | return rReturn; |
| 872 | } |
| 873 | |
| 874 | @SuppressWarnings({"rawtypes", "unchecked"}) |
| 875 | public static boolean rem_smelting(ItemStack aInput, ItemStack aOutput) { |
no test coverage detected