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

Method get

src/main/java/gregapi/config/Config.java:101–103  ·  view source on GitHub ↗
(Object aCategory, ItemStack aStack, boolean aDefault)

Source from the content-addressed store, hash-verified

99 public Config setSaveOnEdit(boolean aSaveOnEdit) {mSaveOnEdit = aSaveOnEdit; return this;}
100
101 public boolean get(Object aCategory, ItemStack aStack, boolean aDefault) {
102 return get(aCategory, ST.configName(aStack), aDefault);
103 }
104
105 public boolean get(Object aCategory, String aName, boolean aDefault) {
106 if (UT.Code.stringInvalid(aName)) return aDefault;

Callers

nothing calls this directly

Calls 9

configNameMethod · 0.95
getMethod · 0.95
stringInvalidMethod · 0.80
replaceAllMethod · 0.80
bindIntMethod · 0.80
getMethod · 0.65
getDoubleMethod · 0.65
toStringMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected