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

Method makeString

src/main/java/gregapi/util/UT.java:1958–1963  ·  view source on GitHub ↗
(Object aTag, Object aValue)

Source from the content-addressed store, hash-verified

1956 }
1957
1958 public static NBTTagCompound makeString(Object aTag, Object aValue) {
1959 NBTTagCompound aNBT = make();
1960 if (aValue == null) return aNBT;
1961 aNBT.setString(aTag.toString(), aValue.toString());
1962 return aNBT;
1963 }
1964 public static NBTTagCompound makeString(NBTTagCompound aNBT, Object aTag, Object aValue) {
1965 if (aNBT == null) aNBT = make();
1966 if (aValue == null) return aNBT;

Callers 15

displayMethod · 0.95
displayMethod · 0.95
getNBTStringMethod · 0.95
drawExtrasMethod · 0.45
addInformationMethod · 0.45
updateItemStackMethod · 0.45
setSetupMethod · 0.45
addInformationMethod · 0.45
addAdditionalToolTipsMethod · 0.45
addToolTipsMethod · 0.45
onToolClick2Method · 0.45
getSubItemsMethod · 0.45

Calls 2

makeMethod · 0.95
toStringMethod · 0.45

Tested by 1

generateMethod · 0.36