public class Shop extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Shop.ShopType |
Constructor and Description |
---|
Shop(int id,
ShopChest plugin,
org.bukkit.OfflinePlayer vendor,
org.bukkit.inventory.ItemStack product,
org.bukkit.Location location,
double buyPrice,
double sellPrice,
Shop.ShopType shopType) |
Modifier and Type | Method and Description |
---|---|
double |
getBuyPrice() |
org.bukkit.block.Chest |
getChest() |
IHologram |
getHologram() |
int |
getID() |
org.bukkit.Location |
getLocation() |
org.bukkit.inventory.ItemStack |
getProduct() |
double |
getSellPrice() |
Shop.ShopType |
getShopType() |
org.bukkit.OfflinePlayer |
getVendor() |
void |
removeHologram()
Creates the hologram of the shop if it doesn't exist
|
void |
removeItem()
Removes the floating item of the shop
|
public Shop(int id, ShopChest plugin, org.bukkit.OfflinePlayer vendor, org.bukkit.inventory.ItemStack product, org.bukkit.Location location, double buyPrice, double sellPrice, Shop.ShopType shopType)
public void removeHologram()
public void removeItem()
public int getID()
public org.bukkit.OfflinePlayer getVendor()
public org.bukkit.inventory.ItemStack getProduct()
public org.bukkit.Location getLocation()
public double getBuyPrice()
public double getSellPrice()
public Shop.ShopType getShopType()
public IHologram getHologram()
public org.bukkit.block.Chest getChest()
Copyright © 2016. All rights reserved.