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

Method isGT

src/main/java/gregapi/util/ST.java:126–126  ·  view source on GitHub ↗
(Item aItem)

Source from the content-addressed store, hash-verified

124 public static boolean identical_(ItemStack aStack1, ItemStack aStack2) {return aStack1.stackSize == aStack2.stackSize && equal_(aStack1, aStack2, F);}
125
126 public static boolean isGT (Item aItem) {return aItem instanceof IItemGT;}
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());}

Callers 11

onItemTooltipMethod · 0.95
addVisibilityTriggerMethod · 0.95
onOreRegistration1Method · 0.95
tryPlaceStuffMethod · 0.95
getStackMethod · 0.95
isGT_Method · 0.95
onOreRegistrationMethod · 0.95
isMinableBlockMethod · 0.95
onOreRegistrationMethod · 0.95
onOreRegistrationMethod · 0.95
runMethod · 0.95

Calls 1

isGT_Method · 0.95

Tested by

no test coverage detected