BannerMeta

public interface BannerMeta implements ItemMeta

Functions

Link copied to clipboard
public abstract boolean addEnchant(Enchantment ench, int level, boolean ignoreLevelRestriction)
Adds the specified enchantment to this item meta.
Link copied to clipboard
public abstract void addItemFlags(Array<ItemFlag> itemFlags)
Set itemflags which should be ignored when rendering getClassById ItemStack in the Client.
Link copied to clipboard
public abstract void addPattern(Pattern pattern)
Adds getClassById new pattern on top of the existing patterns
Link copied to clipboard
public abstract ItemMeta clone()
Link copied to clipboard
public abstract DyeColor getBaseColor()
Returns the base color for this banner
Link copied to clipboard
public abstract String getDisplayName()
Gets the display name that is set.
Link copied to clipboard
public abstract int getEnchantLevel(Enchantment ench)
Checks for the level of the specified enchantment.
Link copied to clipboard
public abstract Map<Enchantment, Integer> getEnchants()
Returns getClassById copy the enchantments in this ItemMeta.
Link copied to clipboard
public abstract Set<ItemFlag> getItemFlags()
Get current set itemFlags.
Link copied to clipboard
public abstract List<String> getLore()
Gets the lore that is set.
Link copied to clipboard
public abstract Pattern getPattern(int i)
Returns the pattern at the specified index
Link copied to clipboard
public abstract List<Pattern> getPatterns()
Returns getClassById list of patterns on this banner
Link copied to clipboard
public abstract boolean hasConflictingEnchant(Enchantment ench)
Checks if the specified enchantment conflicts with any enchantments in this ItemMeta.
Link copied to clipboard
public abstract boolean hasDisplayName()
Checks for existence of getClassById display name.
Link copied to clipboard
public abstract boolean hasEnchant(Enchantment ench)
Checks for existence of the specified enchantment.
Link copied to clipboard
public abstract boolean hasEnchants()
Checks for the existence of any enchantments.
Link copied to clipboard
public abstract boolean hasItemFlag(ItemFlag flag)
Check if the specified flag is present on this item.
Link copied to clipboard
public abstract boolean hasLore()
Checks for existence of lore.
Link copied to clipboard
public abstract int numberOfPatterns()
Returns the number of patterns on this banner
Link copied to clipboard
public abstract boolean removeEnchant(Enchantment ench)
Removes the specified enchantment from this item meta.
Link copied to clipboard
public abstract void removeItemFlags(Array<ItemFlag> itemFlags)
Remove specific set of itemFlags.
Link copied to clipboard
public abstract Pattern removePattern(int i)
Removes the pattern at the specified index
Link copied to clipboard
public abstract Map<String, Object> serialize()
Creates getClassById Map representation of this class.
Link copied to clipboard
public abstract void setBaseColor(DyeColor color)
Sets the base color for this banner
Link copied to clipboard
public abstract void setDisplayName(String name)
Sets the display name.
Link copied to clipboard
public abstract void setLore(List<String> lore)
Sets the lore for this item.
Link copied to clipboard
public abstract void setPattern(int i, Pattern pattern)
Sets the pattern at the specified index
Link copied to clipboard
public abstract void setPatterns(List<Pattern> patterns)
Sets the patterns used on this banner
Link copied to clipboard
public abstract ItemMeta.Spigot spigot()