Cloneable, ConfigurationSerializable, ItemMeta, PersistentDataHolderpublic interface SuspiciousStewMeta extends ItemMeta
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | addCustomEffect(PotionEffect effect,
               boolean overwrite) | Adds a custom potion effect to this suspicious stew. | 
| boolean | clearCustomEffects() | Removes all custom potion effects from this suspicious stew. | 
| SuspiciousStewMeta | clone() | |
| List<PotionEffect> | getCustomEffects() | Gets an immutable list containing all custom potion effects applied to
 this suspicious stew. | 
| boolean | hasCustomEffect(PotionEffectType type) | Checks for a specific custom potion effect type on this suspicious stew. | 
| boolean | hasCustomEffects() | Checks for the presence of custom potion effects. | 
| boolean | removeCustomEffect(PotionEffectType type) | Removes a custom potion effect from this suspicious stew. | 
serializeaddAttributeModifier, addEnchant, addItemFlags, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCanDestroy, getCanPlaceOn, getCustomModelData, getCustomTagContainer, getDestroyableKeys, getDisplayName, getDisplayNameComponent, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, getLoreComponents, getPlaceableKeys, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDestroyableKeys, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, hasPlaceableKeys, isUnbreakable, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeItemFlags, setAttributeModifiers, setCanDestroy, setCanPlaceOn, setCustomModelData, setDestroyableKeys, setDisplayName, setDisplayNameComponent, setLocalizedName, setLore, setLoreComponents, setPlaceableKeys, setUnbreakable, setVersiongetPersistentDataContainerboolean hasCustomEffects()
@NotNull List<PotionEffect> getCustomEffects()
Plugins should check that hasCustomEffects() returns true before calling this method.
boolean addCustomEffect(@NotNull PotionEffect effect, boolean overwrite)
effect - the potion effect to addoverwrite - true if any existing effect of the same type should be
 overwrittenboolean removeCustomEffect(@NotNull PotionEffectType type)
type - the potion effect type to removeboolean hasCustomEffect(@NotNull PotionEffectType type)
type - the potion effect type to check forboolean clearCustomEffects()
SuspiciousStewMeta clone()
Copyright © 2020. All rights reserved.