Package me.clip.autosell.events
Class AutoSellEvent
java.lang.Object
org.bukkit.event.Event
me.clip.autosell.events.AutoSellEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class AutoSellEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description AutoSellEvent(org.bukkit.entity.Player paramPlayer, java.util.Map<org.bukkit.inventory.ItemStack,java.lang.Double> paramMap, double paramDouble, Shop paramShop, org.bukkit.block.Block paramBlock)
-
Method Summary
Modifier and Type Method Description org.bukkit.block.Block
getBlock()
static org.bukkit.event.HandlerList
getHandlerList()
org.bukkit.event.HandlerList
getHandlers()
java.util.Map<org.bukkit.inventory.ItemStack,java.lang.Double>
getItemsSold()
double
getMultiplier()
java.lang.String
getName()
org.bukkit.entity.Player
getPlayer()
double
getPrice()
Shop
getShop()
boolean
hasMultiplier()
boolean
isCancelled()
void
setBlock(org.bukkit.block.Block paramBlock)
void
setCancelled(boolean paramBoolean)
void
setItemsSold(java.util.Map<org.bukkit.inventory.ItemStack,java.lang.Double> paramMap)
void
setMultiplier(double paramDouble)
-
Constructor Details
-
AutoSellEvent
public AutoSellEvent(org.bukkit.entity.Player paramPlayer, java.util.Map<org.bukkit.inventory.ItemStack,java.lang.Double> paramMap, double paramDouble, Shop paramShop, org.bukkit.block.Block paramBlock)
-
-
Method Details
-
getName
public java.lang.String getName() -
getPlayer
public org.bukkit.entity.Player getPlayer() -
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean paramBoolean)- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getItemsSold
public java.util.Map<org.bukkit.inventory.ItemStack,java.lang.Double> getItemsSold() -
setItemsSold
public void setItemsSold(java.util.Map<org.bukkit.inventory.ItemStack,java.lang.Double> paramMap) -
getPrice
public double getPrice() -
getMultiplier
public double getMultiplier() -
setMultiplier
public void setMultiplier(double paramDouble) -
hasMultiplier
public boolean hasMultiplier() -
getShop
-
getBlock
public org.bukkit.block.Block getBlock() -
setBlock
public void setBlock(org.bukkit.block.Block paramBlock)
-