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

Method getBookAuthor

src/main/java/gregapi/util/UT.java:2225–2228  ·  view source on GitHub ↗
(ItemStack aStack)

Source from the content-addressed store, hash-verified

2223 return tNBT;
2224 }
2225 public static String getBookAuthor(ItemStack aStack) {
2226 NBTTagCompound tNBT = getNBT(aStack);
2227 return tNBT.getString("author");
2228 }
2229 public static NBTTagCompound setBookAuthor(NBTTagCompound aNBT, String aAuthor) {
2230 aNBT.setString("author", aAuthor);
2231 return aNBT;

Callers 6

getBookWithTitleMethod · 0.95
getDataToolTipMethod · 0.95
getAdditionalToolTipsMethod · 0.80
getAdditionalToolTipsMethod · 0.80
findRecipeMethod · 0.80
addAdditionalToolTipsMethod · 0.80

Calls 1

getNBTMethod · 0.95

Tested by

no test coverage detected