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

Method getStack

src/main/java/gregapi/gui/Slot_Base.java:63–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 }
62
63 @Override
64 public ItemStack getStack() {
65 ItemStack rStack = mInventory.getStackInSlotGUI(mIndex);
66 return ST.meta(rStack) != W || ST.isGT(rStack) ? rStack : ST.name(ST.copyMeta(0, rStack), ST.regName(rStack) + ":Wildcard");
67 }
68
69 public Slot_Base setCanTake(boolean aCanTake) {
70 mCanTake = aCanTake;

Callers 7

canTakeStackMethod · 0.95
getHasStackMethod · 0.95
drawScreenMethod · 0.45
slotClickMethod · 0.45
transferStackInSlotMethod · 0.45
mergeItemStackMethod · 0.45
detectAndSendChangesMethod · 0.45

Calls 6

metaMethod · 0.95
isGTMethod · 0.95
nameMethod · 0.95
copyMetaMethod · 0.95
regNameMethod · 0.95
getStackInSlotGUIMethod · 0.65

Tested by

no test coverage detected