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

Method book

src/main/java/gregapi/util/ST.java:786–788  ·  view source on GitHub ↗
(String aMapping)

Source from the content-addressed store, hash-verified

784 public static ItemStack skull(String aPlayer) {return ST.make(Items.skull, 1, 3, UT.Code.stringValid(aPlayer) ? UT.NBT.makeString("SkullOwner", aPlayer) : null);}
785
786 public static ItemStack book(String aMapping) {
787 return UT.Books.getBookWithTitle(aMapping);
788 }
789 public static ItemStack book(String aMapping, ItemStack aBook) {
790 return UT.Books.getBookWithTitle(aMapping, aBook);
791 }

Callers 10

getSubItemsMethod · 0.95
generateMethod · 0.95
generateMethod · 0.95
generateMethod · 0.95
findRecipeMethod · 0.95
addMaterialDictionaryMethod · 0.95
onModPostInit2Method · 0.95
runMethod · 0.95
runMethod · 0.95

Calls 1

getBookWithTitleMethod · 0.80

Tested by

no test coverage detected