extractWrittenBookTitle

fun extractWrittenBookTitle(stack: ItemStack): String?(source)

Extracts only the title from a written book.

Return

The book's title, or null if not a written book

Parameters

stack

The ItemStack to extract from