Interface GameStore
public interface GameStore
-
Method Summary
Modifier and TypeMethodDescription@Nullable org.bukkit.entity.LivingEntity
org.bukkit.entity.EntityType
@Nullable String
@Nullable String
@Nullable String
@UnknownNullability("Would be null only if created using one BedWarsAPI#tryOpenDefaultStore or BedWarsAPI#tryOpenCustomStore") org.bukkit.Location
@Nullable Team
getTeam()
boolean
boolean
isBaby()
boolean
-
Method Details
-
getEntity
@Nullable @Nullable org.bukkit.entity.LivingEntity getEntity()- Returns:
- shop entity
-
getEntityType
org.bukkit.entity.EntityType getEntityType()- Returns:
- entity type used for the shop
-
getStoreLocation
@UnknownNullability("Would be null only if created using one BedWarsAPI#tryOpenDefaultStore or BedWarsAPI#tryOpenCustomStore") org.bukkit.Location getStoreLocation()- Returns:
- location of this store
-
getShopFile
- Returns:
- shop file
-
getShopCustomName
- Returns:
- shopkeeper's name
-
getUseParent
boolean getUseParent()- Returns:
- true if shop file should be merged with custom shop file
-
isShopCustomName
boolean isShopCustomName()- Returns:
- true if shopkeeper has name
-
isBaby
boolean isBaby()- Returns:
- true if shopkeeper is baby
-
getSkinName
- Returns:
- if type is PLAYER, than returns skin, otherwise null
-
getTeam
- Returns:
- team linked to the GameStore or null
- Since:
- 0.2.39
-