Class ShieldMetaMock

All Implemented Interfaces:
io.papermc.paper.persistence.PersistentDataViewHolder, Cloneable, org.bukkit.configuration.serialization.ConfigurationSerializable, org.bukkit.inventory.meta.BannerMeta, org.bukkit.inventory.meta.Damageable, org.bukkit.inventory.meta.ItemMeta, org.bukkit.inventory.meta.Repairable, org.bukkit.inventory.meta.ShieldMeta, org.bukkit.persistence.PersistentDataHolder

public class ShieldMetaMock extends BannerMetaMock implements org.bukkit.inventory.meta.ShieldMeta
  • Constructor Details

    • ShieldMetaMock

      public ShieldMetaMock()
  • Method Details

    • getBaseColor

      @Nullable public @Nullable org.bukkit.DyeColor getBaseColor()
      Specified by:
      getBaseColor in interface org.bukkit.inventory.meta.ShieldMeta
    • setBaseColor

      public void setBaseColor(@Nullable @Nullable org.bukkit.DyeColor color)
      Specified by:
      setBaseColor in interface org.bukkit.inventory.meta.ShieldMeta
    • deserializeInternal

      protected void deserializeInternal(Map<String,Object> serialized)
      Overrides:
      deserializeInternal in class BannerMetaMock
    • serialize

      public Map<String,Object> serialize()
      Description copied from class: BannerMetaMock
      Serializes the properties of an BannerMetaMock to a HashMap. Unimplemented properties are not present in the map.
      Specified by:
      serialize in interface org.bukkit.configuration.serialization.ConfigurationSerializable
      Overrides:
      serialize in class BannerMetaMock
      Returns:
      A HashMap of String, Object pairs representing the BannerMetaMock.
    • deserialize

      public static ShieldMetaMock deserialize(Map<String,Object> serialized)