public interface BookMeta extends ItemMeta
ItemMeta.HiddenModifierFlag
Modifier and Type | Method and Description |
---|---|
String |
author()
Returns last known author of the book.
|
int |
copyTier()
Returns copy tier of the book.
|
List<String> |
pages()
Gets the pages of the book as a List.
|
void |
setAuthor(String name)
Sets the author of the book.
|
void |
setCopyTier(int copyTier)
Manually set the copy tier of the book
|
void |
setPages(List<String> pages)
Set the pages of the book.
|
default void |
setPages(String... pages)
Set the pages of the book.
|
void |
setTitle(String title)
Sets the title of the book
|
String |
title()
Gets the title of the book.
|
displayProperties, flags, setDisplayProperties, setFlag
process
int copyTier()
0 - original 1 - copy of original 2 - copy of copy, > 2 - cannot be copied
void setCopyTier(int copyTier)
copyTier
- Copy tier you wish to set it tocopyTier()
void setAuthor(String name)
name
- Name of the author.void setPages(List<String> pages)
pages
- The pages.Copyright © 2016. All rights reserved.