MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / checkAvailabilities

Method checkAvailabilities

src/main/java/gregapi/util/ST.java:76–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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);}

Callers 1

onModPostInit2Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected