Interface ShieldMeta

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

public interface ShieldMeta extends BannerMeta
  • Method Details

    • getBaseColor

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

      void setBaseColor(@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