public class KnowledgeBookMetaMock extends ItemMetaMock implements org.bukkit.inventory.meta.KnowledgeBookMeta
ItemMetaMock mocks the implementation of KnowledgeBookMeta.| Constructor and Description |
|---|
KnowledgeBookMetaMock() |
KnowledgeBookMetaMock(org.bukkit.inventory.meta.KnowledgeBookMeta meta) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRecipe(org.bukkit.NamespacedKey... recipes) |
KnowledgeBookMetaMock |
clone() |
boolean |
equals(java.lang.Object obj) |
@NotNull java.util.List<org.bukkit.NamespacedKey> |
getRecipes() |
int |
hashCode() |
boolean |
hasRecipes() |
void |
setRecipes(@NotNull java.util.List<org.bukkit.NamespacedKey> recipes) |
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 KnowledgeBookMetaMock()
public KnowledgeBookMetaMock(org.bukkit.inventory.meta.KnowledgeBookMeta meta)
public int hashCode()
hashCode in class ItemMetaMockpublic boolean equals(java.lang.Object obj)
equals in class ItemMetaMockpublic KnowledgeBookMetaMock clone()
clone in interface org.bukkit.inventory.meta.Damageableclone in interface org.bukkit.inventory.meta.ItemMetaclone in interface org.bukkit.inventory.meta.KnowledgeBookMetaclone in interface org.bukkit.inventory.meta.Repairableclone in class ItemMetaMockpublic void addRecipe(@NotNull
org.bukkit.NamespacedKey... recipes)
addRecipe in interface org.bukkit.inventory.meta.KnowledgeBookMeta@NotNull public @NotNull java.util.List<org.bukkit.NamespacedKey> getRecipes()
getRecipes in interface org.bukkit.inventory.meta.KnowledgeBookMetapublic boolean hasRecipes()
hasRecipes in interface org.bukkit.inventory.meta.KnowledgeBookMetapublic void setRecipes(@NotNull
@NotNull java.util.List<org.bukkit.NamespacedKey> recipes)
setRecipes in interface org.bukkit.inventory.meta.KnowledgeBookMeta