Class Book
java.lang.Object
org.bukkit.inventory.ItemStack
me.gigawartrex.smalladditions.helpers.Book
- All Implemented Interfaces:
Cloneable
,org.bukkit.configuration.serialization.ConfigurationSerializable
,org.bukkit.Translatable
public class Book
extends org.bukkit.inventory.ItemStack
Class for handling "/sa" commands.
- Author:
- Paul Ferlitz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.meta.BookMeta
getMeta()
Method to get the book's metadata.Methods inherited from class org.bukkit.inventory.ItemStack
addEnchantment, addEnchantments, addUnsafeEnchantment, addUnsafeEnchantments, clone, containsEnchantment, deserialize, equals, getAmount, getData, getDurability, getEnchantmentLevel, getEnchantments, getItemMeta, getMaxStackSize, getTranslationKey, getType, hashCode, hasItemMeta, isSimilar, removeEnchantment, serialize, setAmount, setData, setDurability, setItemMeta, setType, toString
-
Constructor Details
-
Book
Class constructor.- Parameters:
fileName
- the name of the file containing the text for this bookauthor
- the book's authortitle
- the book's title
-
-
Method Details
-
getMeta
public org.bukkit.inventory.meta.BookMeta getMeta()Method to get the book's metadata.- Returns:
- the book's metadata
-