public class BookMetaMock extends ItemMetaMock implements org.bukkit.inventory.meta.BookMeta
| Constructor and Description |
|---|
BookMetaMock() |
BookMetaMock(org.bukkit.inventory.meta.BookMeta meta) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPage(java.lang.String... pages) |
BookMetaMock |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAuthor() |
org.bukkit.inventory.meta.BookMeta.Generation |
getGeneration() |
java.lang.String |
getPage(int page) |
int |
getPageCount() |
java.util.List<java.lang.String> |
getPages() |
java.lang.String |
getTitle() |
boolean |
hasAuthor() |
boolean |
hasGeneration() |
int |
hashCode() |
boolean |
hasPages() |
boolean |
hasTitle() |
void |
setAuthor(java.lang.String author) |
void |
setGeneration(org.bukkit.inventory.meta.BookMeta.Generation generation) |
void |
setPage(int page,
java.lang.String text) |
void |
setPages(java.util.List<java.lang.String> pages) |
void |
setPages(java.lang.String... pages) |
boolean |
setTitle(java.lang.String title) |
org.bukkit.inventory.meta.BookMeta.Spigot |
spigot() |
addAttributeModifier, addEnchant, addItemFlags, assertHasNoLore, assertLore, assertLore, deserialize, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCustomModelData, getCustomTagContainer, getDamage, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, getPersistentDataContainer, getRepairCost, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDamage, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, hasRepairCost, isUnbreakable, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, serialize, setAttributeModifiers, setCustomModelData, setDamage, setDisplayName, setLocalizedName, setLore, setRepairCost, setUnbreakable, setVersionfinalize, getClass, notify, notifyAll, toString, wait, wait, waitaddAttributeModifier, addEnchant, addItemFlags, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCustomModelData, getCustomTagContainer, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setCustomModelData, setDisplayName, setLocalizedName, setLore, setUnbreakable, setVersionpublic BookMetaMock()
public BookMetaMock(org.bukkit.inventory.meta.BookMeta meta)
public int hashCode()
hashCode in class ItemMetaMockpublic boolean equals(java.lang.Object obj)
equals in class ItemMetaMockpublic boolean hasTitle()
hasTitle in interface org.bukkit.inventory.meta.BookMetapublic boolean hasPages()
hasPages in interface org.bukkit.inventory.meta.BookMetapublic java.lang.String getTitle()
getTitle in interface org.bukkit.inventory.meta.BookMetapublic boolean setTitle(java.lang.String title)
setTitle in interface org.bukkit.inventory.meta.BookMetapublic boolean hasAuthor()
hasAuthor in interface org.bukkit.inventory.meta.BookMetapublic java.lang.String getAuthor()
getAuthor in interface org.bukkit.inventory.meta.BookMetapublic void setAuthor(java.lang.String author)
setAuthor in interface org.bukkit.inventory.meta.BookMetapublic java.lang.String getPage(int page)
getPage in interface org.bukkit.inventory.meta.BookMetapublic void setPage(int page,
java.lang.String text)
setPage in interface org.bukkit.inventory.meta.BookMetapublic java.util.List<java.lang.String> getPages()
getPages in interface org.bukkit.inventory.meta.BookMetapublic void setPages(java.lang.String... pages)
setPages in interface org.bukkit.inventory.meta.BookMetapublic void setPages(java.util.List<java.lang.String> pages)
setPages in interface org.bukkit.inventory.meta.BookMetapublic void addPage(java.lang.String... pages)
addPage in interface org.bukkit.inventory.meta.BookMetapublic int getPageCount()
getPageCount in interface org.bukkit.inventory.meta.BookMetapublic BookMetaMock clone()
clone in interface org.bukkit.inventory.meta.BookMetaclone in interface org.bukkit.inventory.meta.Damageableclone in interface org.bukkit.inventory.meta.ItemMetaclone in interface org.bukkit.inventory.meta.Repairableclone in class ItemMetaMockpublic boolean hasGeneration()
hasGeneration in interface org.bukkit.inventory.meta.BookMetapublic org.bukkit.inventory.meta.BookMeta.Generation getGeneration()
getGeneration in interface org.bukkit.inventory.meta.BookMetapublic void setGeneration(org.bukkit.inventory.meta.BookMeta.Generation generation)
setGeneration in interface org.bukkit.inventory.meta.BookMetapublic org.bukkit.inventory.meta.BookMeta.Spigot spigot()
spigot in interface org.bukkit.inventory.meta.BookMeta