Interface BasicItemShopProduct

All Superinterfaces:
ItemShopProduct, ShopProduct

public interface BasicItemShopProduct extends ItemShopProduct
Represents a regular item being dropped.
See Also:
  • Method Details

    • setItemStack

      void setItemStack(ItemStack is)
      Replace the product item.
      Specified by:
      setItemStack in interface ItemShopProduct
      Parameters:
      is - The new product item
      See Also:
    • getDynamicItemStack

      DynamicItemStack getDynamicItemStack()
      Returns the dynamic variant of the product item.

      Items may include PAPI placeholders which may be per player. Do note that this method will return something, even if the item actually has no placeholders and isn't dynamic.

      Returns:
      The dynamic representation of the item
    • setDynamicItemStack

      void setDynamicItemStack(DynamicItemStack is)
      Replace the product item.
      Parameters:
      is - The new product item