Interface ItemShopPrice
- All Superinterfaces:
- ShopPrice
- All Known Subinterfaces:
- SpawnerItemShopPrice
- 
Method SummaryModifier and TypeMethodDescriptionReturns cloned itemstacks that will be taken from the player.voidReplace the price item.Methods inherited from interface de.marcely.bedwars.api.game.shop.price.ShopPricegetAmount, getDisplayItem, getDisplayName, getDisplayName, getDisplayName, getDisplayName, getGeneralAmount, getHoldingAmount, getHoldingAmount, getItem, getMissingAmount, getMissingAmount, getType, setGeneralAmount, take, take
- 
Method Details- 
getItemStacksItemStack[] getItemStacks()Returns cloned itemstacks that will be taken from the player.The reason that this method returns an array is that other types may have multiple (such as ShopPriceType.SPAWNER_ITEM).- Returns:
- The itemstacks that this price represents
 
- 
setItemStackReplace the price item.- Parameters:
- is- The new price item
- Throws:
- UnsupportedOperationException- When executing this for a type other than- ShopPriceType.ITEM
 
 
-