public class SuspiciousStewMetaMock extends ItemMetaMock implements org.bukkit.inventory.meta.SuspiciousStewMeta
ItemMetaMock mocks the implementation of SuspiciousStewMeta.| Constructor and Description |
|---|
SuspiciousStewMetaMock() |
SuspiciousStewMetaMock(org.bukkit.inventory.meta.SuspiciousStewMeta meta) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addCustomEffect(@NotNull org.bukkit.potion.PotionEffect effect,
boolean overwrite) |
boolean |
clearCustomEffects() |
SuspiciousStewMetaMock |
clone() |
boolean |
equals(java.lang.Object obj) |
@NotNull java.util.List<org.bukkit.potion.PotionEffect> |
getCustomEffects() |
boolean |
hasCustomEffect(@NotNull org.bukkit.potion.PotionEffectType type) |
boolean |
hasCustomEffects() |
int |
hashCode() |
boolean |
removeCustomEffect(@NotNull org.bukkit.potion.PotionEffectType type) |
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 SuspiciousStewMetaMock()
public SuspiciousStewMetaMock(org.bukkit.inventory.meta.SuspiciousStewMeta meta)
public int hashCode()
hashCode in class ItemMetaMockpublic boolean equals(java.lang.Object obj)
equals in class ItemMetaMockpublic SuspiciousStewMetaMock clone()
clone in interface org.bukkit.inventory.meta.Damageableclone in interface org.bukkit.inventory.meta.ItemMetaclone in interface org.bukkit.inventory.meta.Repairableclone in interface org.bukkit.inventory.meta.SuspiciousStewMetaclone in class ItemMetaMockpublic boolean addCustomEffect(@NotNull
@NotNull org.bukkit.potion.PotionEffect effect,
boolean overwrite)
addCustomEffect in interface org.bukkit.inventory.meta.SuspiciousStewMetapublic boolean clearCustomEffects()
clearCustomEffects in interface org.bukkit.inventory.meta.SuspiciousStewMeta@NotNull public @NotNull java.util.List<org.bukkit.potion.PotionEffect> getCustomEffects()
getCustomEffects in interface org.bukkit.inventory.meta.SuspiciousStewMetapublic boolean hasCustomEffect(@NotNull
@NotNull org.bukkit.potion.PotionEffectType type)
hasCustomEffect in interface org.bukkit.inventory.meta.SuspiciousStewMetapublic boolean hasCustomEffects()
hasCustomEffects in interface org.bukkit.inventory.meta.SuspiciousStewMetapublic boolean removeCustomEffect(@NotNull
@NotNull org.bukkit.potion.PotionEffectType type)
removeCustomEffect in interface org.bukkit.inventory.meta.SuspiciousStewMeta