| 74 | public static boolean TE_PIPES = F, BC_PIPES = F, TF_TREASURE = F; |
| 75 | |
| 76 | @SuppressWarnings("ResultOfMethodCallIgnored") |
| 77 | public static void checkAvailabilities() { |
| 78 | try { |
| 79 | cofh.api.transport.IItemDuct.class.getCanonicalName(); |
| 80 | TE_PIPES = T; |
| 81 | } catch(Throwable e) {/**/} |
| 82 | try { |
| 83 | buildcraft.api.transport.IInjectable.class.getCanonicalName(); |
| 84 | BC_PIPES = T; |
| 85 | } catch(Throwable e) {/**/} |
| 86 | try { |
| 87 | twilightforest.TFTreasure.class.getCanonicalName(); |
| 88 | TF_TREASURE = T; |
| 89 | } catch(Throwable e) {/**/} |
| 90 | } |
| 91 | |
| 92 | public static boolean equal (ItemStack aStack1, ItemStack aStack2) {return equal(aStack1, aStack2, F);} |
| 93 | public static boolean equal (ItemStack aStack1, ItemStack aStack2, boolean aIgnoreNBT) {return aStack1 != null && aStack2 != null && equal_(aStack1, aStack2, aIgnoreNBT);} |