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

Method add

src/main/java/gregapi/code/ItemStackSet.java:73–75  ·  view source on GitHub ↗
(ModData aMod, String aName, long aMeta)

Source from the content-addressed store, hash-verified

71 return mMap.containsKey(aStack, aWildCard);
72 }
73 public boolean add(ModData aMod, String aName, long aMeta) {
74 return add(ST.make(aMod, aName, 1, aMeta));
75 }
76 public boolean add(ItemStack aStack) {
77 return ST.valid(aStack) && mMap.put(aStack, OBJECT) == null;
78 }

Callers 1

ItemStackSetMethod · 0.95

Calls 3

makeMethod · 0.95
validMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected