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

Method set

src/main/java/gregapi/data/IL.java:533–542  ·  view source on GitHub ↗
(Item aItem)

Source from the content-addressed store, hash-verified

531 private boolean mHasNotBeenSet = T;
532
533 @Override
534 public IItemContainer set(Item aItem) {
535 mHasNotBeenSet = F;
536 if (aItem == null) {
537// new Exception().printStackTrace(GT_Log.deb);
538 return this;
539 }
540 mStack = ST.amount(1, ST.make(aItem, 1, 0));
541 return this;
542 }
543
544 public IItemContainer set(Item aItem, long aMeta) {
545 mHasNotBeenSet = F;

Callers

nothing calls this directly

Calls 7

amountMethod · 0.95
makeMethod · 0.95
invalidMethod · 0.95
regMethod · 0.95
dataMethod · 0.95
meta_Method · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected