java.lang.Cloneable, ConfigurationSerializable, ItemMetapublic interface KnowledgeBookMeta extends ItemMeta
ItemMeta.Spigot| Modifier and Type | Method | Description | 
|---|---|---|
| void | addRecipe(NamespacedKey... recipes) | Adds new recipe to the end of the book. | 
| KnowledgeBookMeta | clone() | |
| java.util.List<NamespacedKey> | getRecipes() | Gets all the recipes in the book. | 
| boolean | hasRecipes() | Checks for the existence of recipes in the book. | 
| void | setRecipes(java.util.List<NamespacedKey> recipes) | Clears the existing book recipes, and sets the book to use the provided
 recipes. | 
serializeaddEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeEnchant, removeItemFlags, setDisplayName, setLocalizedName, setLore, setUnbreakable, spigotboolean hasRecipes()
java.util.List<NamespacedKey> getRecipes()
void setRecipes(java.util.List<NamespacedKey> recipes)
recipes - A list of recipes to set the book to usevoid addRecipe(NamespacedKey... recipes)
recipes - A list of recipe keysKnowledgeBookMeta clone()
Copyright © 2018. All rights reserved.