Class GlowMetaShield

All Implemented Interfaces:
Cloneable, org.bukkit.configuration.serialization.ConfigurationSerializable, org.bukkit.inventory.meta.BannerMeta, org.bukkit.inventory.meta.ItemMeta, org.bukkit.persistence.PersistentDataHolder

public class GlowMetaShield extends GlowMetaBanner
  • Constructor Details

    • GlowMetaShield

      public GlowMetaShield(org.bukkit.inventory.meta.ItemMeta meta)
      Creates an instance by copying from the given ItemMeta. If that item is another BannerMeta, the banner is copied; otherwise, the new shield has no banner.
      Parameters:
      meta - the ItemMeta to copy
  • Method Details

    • clone

      @NotNull public @NotNull org.bukkit.inventory.meta.ItemMeta clone()
      Specified by:
      clone in interface org.bukkit.inventory.meta.ItemMeta
      Overrides:
      clone in class GlowMetaBanner
    • isApplicable

      public boolean isApplicable(org.bukkit.Material material)
      Description copied from class: GlowMetaItem
      Check whether this ItemMeta can be applied to the given material.
      Overrides:
      isApplicable in class GlowMetaBanner
      Parameters:
      material - The Material.
      Returns:
      True if this ItemMeta is applicable.
    • serialize

      @NotNull public @NotNull Map<String,Object> serialize()
      Specified by:
      serialize in interface org.bukkit.configuration.serialization.ConfigurationSerializable
      Overrides:
      serialize in class GlowMetaBanner