public class GlowMetaShield extends GlowMetaBanner
baseColor, patterns
Constructor and Description |
---|
GlowMetaShield(org.bukkit.inventory.meta.ItemMeta meta)
Creates an instance by copying from the given
ItemMeta . |
Modifier and Type | Method and Description |
---|---|
org.bukkit.inventory.meta.ItemMeta |
clone() |
boolean |
isApplicable(org.bukkit.Material material)
Check whether this ItemMeta can be applied to the given material.
|
Map<String,Object> |
serialize() |
addPattern, getBaseColor, getPattern, getPatterns, numberOfPatterns, removePattern, setBaseColor, setPattern, setPatterns
addEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, readNbtEnchants, removeEnchant, removeItemFlags, serializeEnchants, setDisplayName, setLocalizedName, setLore, setUnbreakable, spigot, toString, writeNbtEnchants
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addEnchant, addItemFlags, getDisplayName, getEnchantLevel, getEnchants, getItemFlags, getLocalizedName, getLore, hasConflictingEnchant, hasDisplayName, hasEnchant, hasEnchants, hasItemFlag, hasLocalizedName, hasLore, isUnbreakable, removeEnchant, removeItemFlags, setDisplayName, setLocalizedName, setLore, setUnbreakable, spigot
public GlowMetaShield(org.bukkit.inventory.meta.ItemMeta meta)
ItemMeta
. If that item is another
BannerMeta
, the banner is copied; otherwise, the new shield has no banner.meta
- the ItemMeta
to copypublic org.bukkit.inventory.meta.ItemMeta clone()
clone
in interface org.bukkit.inventory.meta.ItemMeta
clone
in class GlowMetaBanner
public boolean isApplicable(org.bukkit.Material material)
GlowMetaItem
isApplicable
in class GlowMetaBanner
material
- The Material.public Map<String,Object> serialize()
serialize
in interface org.bukkit.configuration.serialization.ConfigurationSerializable
serialize
in class GlowMetaBanner
Copyright © 2021. All rights reserved.