MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / createWrittenBook

Method createWrittenBook

src/main/java/gregapi/util/UT.java:609–612  ·  view source on GitHub ↗
(String aMapping, String aTitle, String aAuthor, ItemStack aDefaultBook, String... aPages)

Source from the content-addressed store, hash-verified

607 }
608
609 public static ItemStack createWrittenBook(String aMapping, String aTitle, String aAuthor, ItemStack aDefaultBook, String... aPages) {
610 for (int i = 0; i < aPages.length; i++) {aPages[i] = LanguageHandler.langfile("written.book." + aMapping + ".page." + i, aPages[i]);}
611 return createWrittenBook(aMapping, aTitle, aAuthor, aDefaultBook, T, aPages);
612 }
613 public static ItemStack createWrittenBook(String aMapping, String aTitle, String aAuthor, ItemStack aDefaultBook, boolean aLogging, String... aPages) {
614 if (Code.stringInvalid(aMapping)) return null;
615 ItemStack rStack = BOOK_MAP.get(aMapping);

Callers 3

addMaterialDictionaryMethod · 0.95
runMethod · 0.80

Calls 13

langfileMethod · 0.95
stringInvalidMethod · 0.95
makeMethod · 0.95
amountMethod · 0.95
makeMethod · 0.95
setMethod · 0.95
copyMethod · 0.95
replaceAllMethod · 0.80
printlnMethod · 0.80
getMethod · 0.65
containsMethod · 0.65
addMethod · 0.65

Tested by

no test coverage detected