Interface ShieldMeta

All Superinterfaces:
BannerMeta, Cloneable, ConfigurationSerializable, ItemMeta, PersistentDataHolder, PersistentDataViewHolder

public interface ShieldMeta extends BannerMeta
  • Method Details

    • getBaseColor

      @Nullable @Nullable DyeColor getBaseColor()
      Gets the base color for this shield.
      Returns:
      the base color or null
    • setBaseColor

      void setBaseColor(@Nullable @Nullable DyeColor color)
      Sets the base color for this shield.
      Note: If the shield contains a Pattern, then a null base color will retain the pattern but default the base color to DyeColor.WHITE.
      Parameters:
      color - the base color or null