接口 ShieldMeta

所有超级接口:
BannerMeta, Cloneable, ConfigurationSerializable, ItemMeta, PersistentDataHolder

public interface ShieldMeta extends BannerMeta
  • 方法详细资料

    • getBaseColor

      @Nullable @Nullable DyeColor getBaseColor()
      Gets the base color for this shield.
      返回:
      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.
      参数:
      color - the base color or null