public abstract class SellEvent extends PlayerEvent
SellDetectedEvent,
SellPreDropEvent,
SellAbortedEvent| Modifier and Type | Field and Description |
|---|---|
protected Map<Item,Integer> |
items |
protected double |
payAmount |
playerName, playerUUID| Constructor and Description |
|---|
SellEvent(String playerName,
String playerUUID,
Map<Item,Integer> items,
double payAmount) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAmountOf(Item item)
Gibt die Anzahl zurück, wie oft ein Item gedroppt / verkauft wurde.
|
Set<Item> |
getItems()
Gibt die verkauften Items zurück, falls diese bereits erkannt wurden.
|
double |
getPayAmount()
Gibt den bezahlten Betrag an den Bot zurück.
|
getPlayerName, getPlayerUUIDpublic Set<Item> getItems()
public int getAmountOf(Item item)
public double getPayAmount()
Copyright © 2023. All rights reserved.