MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / isGT_

Method isGT_

src/main/java/gregapi/util/ST.java:129–129  ·  view source on GitHub ↗
(ItemStack aStack)

Source from the content-addressed store, hash-verified

127 public static boolean isGT (Block aBlock) {return aBlock instanceof IItemGT;}
128 public static boolean isGT (ItemStack aStack) {return aStack != null && isGT_(aStack);}
129 public static boolean isGT_(ItemStack aStack) {return isGT(aStack.getItem());}
130
131 public static boolean valid(Block aBlock) {return aBlock != null && aBlock != NB;}
132 public static boolean invalid(Block aBlock) {return aBlock == null || aBlock == NB;}

Callers 5

onOreRegistrationMethod · 0.95
supportsItemMethod · 0.95
isGTMethod · 0.95
getEnchantmentXPMethod · 0.95
onOreRegistrationMethod · 0.95

Calls 2

isGTMethod · 0.95
getItemMethod · 0.65

Tested by

no test coverage detected